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 GetListMulticloudResourcesSortByEnumStringValues() []string
GetListMulticloudResourcesSortByEnumStringValues Enumerates the set of values in String for ListMulticloudResourcesSortByEnum
func GetListMulticloudResourcesSortOrderEnumStringValues() []string
GetListMulticloudResourcesSortOrderEnumStringValues Enumerates the set of values in String for ListMulticloudResourcesSortOrderEnum
func GetListMulticloudResourcesSubscriptionServiceNameEnumStringValues() []string
GetListMulticloudResourcesSubscriptionServiceNameEnumStringValues Enumerates the set of values in String for ListMulticloudResourcesSubscriptionServiceNameEnum
func GetListMulticloudSubscriptionsSortByEnumStringValues() []string
GetListMulticloudSubscriptionsSortByEnumStringValues Enumerates the set of values in String for ListMulticloudSubscriptionsSortByEnum
func GetListMulticloudSubscriptionsSortOrderEnumStringValues() []string
GetListMulticloudSubscriptionsSortOrderEnumStringValues Enumerates the set of values in String for ListMulticloudSubscriptionsSortOrderEnum
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 GetMulticloudResourceSummaryLifecycleStateEnumStringValues() []string
GetMulticloudResourceSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for MulticloudResourceSummaryLifecycleStateEnum
func GetMulticloudSubscriptionSummaryLifecycleStateEnumStringValues() []string
GetMulticloudSubscriptionSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for MulticloudSubscriptionSummaryLifecycleStateEnum
func GetNetworkAnchorConnectionStatusEnumStringValues() []string
GetNetworkAnchorConnectionStatusEnumStringValues Enumerates the set of values in String for NetworkAnchorConnectionStatusEnum
func GetNetworkAnchorNetworkAnchorLifecycleStateEnumStringValues() []string
GetNetworkAnchorNetworkAnchorLifecycleStateEnumStringValues Enumerates the set of values in String for NetworkAnchorNetworkAnchorLifecycleStateEnum
func GetNetworkAnchorSetupModeEnumStringValues() []string
GetNetworkAnchorSetupModeEnumStringValues Enumerates the set of values in String for NetworkAnchorSetupModeEnum
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 {
// OCI resource anchor 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 ID.
CspResourceAnchorId *string `mandatory:"false" json:"cspResourceAnchorId"`
// CSP resource anchor name.
CspResourceAnchorName *string `mandatory:"false" json:"cspResourceAnchorName"`
// CSP resource anchor Uri.
ResourceAnchorUri *string `mandatory:"false" json:"resourceAnchorUri"`
// CSP Specific Additional Properties, AzureSubnetId for Azure
CspAdditionalProperties map[string]string `mandatory:"false" json:"cspAdditionalProperties"`
}
func (m AwsCloudServiceProviderMetadataItem) GetCspAdditionalProperties() map[string]string
GetCspAdditionalProperties returns CspAdditionalProperties
func (m AwsCloudServiceProviderMetadataItem) GetCspResourceAnchorId() *string
GetCspResourceAnchorId returns CspResourceAnchorId
func (m AwsCloudServiceProviderMetadataItem) GetCspResourceAnchorName() *string
GetCspResourceAnchorName returns CspResourceAnchorName
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 {
// OCI resource anchor 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 ID.
CspResourceAnchorId *string `mandatory:"false" json:"cspResourceAnchorId"`
// CSP resource anchor name.
CspResourceAnchorName *string `mandatory:"false" json:"cspResourceAnchorName"`
// CSP resource anchor Uri.
ResourceAnchorUri *string `mandatory:"false" json:"resourceAnchorUri"`
// CSP Specific Additional Properties, AzureSubnetId for Azure
CspAdditionalProperties map[string]string `mandatory:"false" json:"cspAdditionalProperties"`
}
func (m AzureCloudServiceProviderMetadataItem) GetCspAdditionalProperties() map[string]string
GetCspAdditionalProperties returns CspAdditionalProperties
func (m AzureCloudServiceProviderMetadataItem) GetCspResourceAnchorId() *string
GetCspResourceAnchorId returns CspResourceAnchorId
func (m AzureCloudServiceProviderMetadataItem) GetCspResourceAnchorName() *string
GetCspResourceAnchorName returns CspResourceAnchorName
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 {
// OCI resource anchor name.
GetResourceAnchorName() *string
// The Azure, AWS or GCP region.
GetRegion() *string
// CSP resource anchor ID.
GetCspResourceAnchorId() *string
// CSP resource anchor name.
GetCspResourceAnchorName() *string
// CSP resource anchor Uri.
GetResourceAnchorUri() *string
// CSP Specific Additional Properties, AzureSubnetId for Azure
GetCspAdditionalProperties() map[string]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"`
// CSP Specific Additional Properties, AzureSubnetId for Azure
CspAdditionalProperties map[string]string `mandatory:"false" json:"cspAdditionalProperties"`
// 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"`
// User friendly display name for cspLogicalAZ
CspLogicalAzDisplayName *string `mandatory:"false" json:"cspLogicalAzDisplayName"`
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 (deprecated representation)
CpgId *string `mandatory:"true" json:"cpgId"`
// Cluster Placement Group OCID
ClusterPlacementGroupId *string `mandatory:"true" json:"clusterPlacementGroupId"`
// 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"`
// Partner Cloud Name based on service name
PartnerCloudName *string `mandatory:"false" json:"partnerCloudName"`
// User friendly name of account name for customer's subscription
PartnerCloudAccountName *string `mandatory:"false" json:"partnerCloudAccountName"`
// Direct URL to partner cloud for customer's account
PartnerCloudAccountUrl *string `mandatory:"false" json:"partnerCloudAccountUrl"`
}
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 {
// OCI resource anchor 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 ID.
CspResourceAnchorId *string `mandatory:"false" json:"cspResourceAnchorId"`
// CSP resource anchor name.
CspResourceAnchorName *string `mandatory:"false" json:"cspResourceAnchorName"`
// CSP resource anchor Uri.
ResourceAnchorUri *string `mandatory:"false" json:"resourceAnchorUri"`
// CSP Specific Additional Properties, AzureSubnetId for Azure
CspAdditionalProperties map[string]string `mandatory:"false" json:"cspAdditionalProperties"`
}
func (m GcpCloudServiceProviderMetadataItem) GetCspAdditionalProperties() map[string]string
GetCspAdditionalProperties returns CspAdditionalProperties
func (m GcpCloudServiceProviderMetadataItem) GetCspResourceAnchorId() *string
GetCspResourceAnchorId returns CspResourceAnchorId
func (m GcpCloudServiceProviderMetadataItem) GetCspResourceAnchorName() *string
GetCspResourceAnchorName returns CspResourceAnchorName
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 of the Cloud Service Provider.
SubscriptionServiceName GetNetworkAnchorSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud 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"`
// The Cloud Service Provider region.
ExternalLocation *string `mandatory:"false" contributesTo:"query" name:"externalLocation"`
// Whether to fetch and include the vcn display name, which may introduce additional latency.
ShouldFetchVcnName *bool `mandatory:"false" contributesTo:"query" name:"shouldFetchVcnName"`
// 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 of the Cloud Service Provider.
SubscriptionServiceName GetResourceAnchorSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud 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"`
// Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency.
ShouldFetchCompartmentName *bool `mandatory:"false" contributesTo:"query" name:"shouldFetchCompartmentName"`
// 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 Multicloud subscription in which to list resources.
SubscriptionId *string `mandatory:"true" contributesTo:"query" name:"subscriptionId"`
// The subscription service name of the Cloud Service Provider.
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 Multicloud base compartment in which to list resources.
// A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment linked to the resource.
LinkedCompartmentId *string `mandatory:"false" contributesTo:"query" name:"linkedCompartmentId"`
// The Cloud Service Provider region.
ExternalLocation *string `mandatory:"false" contributesTo:"query" name:"externalLocation"`
// OCI Logical AD to filter the response.
LogicalZone *string `mandatory:"false" contributesTo:"query" name:"logicalZone"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster Placement Group.
ClusterPlacementGroupId *string `mandatory:"false" contributesTo:"query" name:"clusterPlacementGroupId"`
// 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 of the Cloud Service Provider.
SubscriptionServiceName []SubscriptionTypeEnum `contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true" collectionFormat:"multi"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment in which to list resources.
// A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud 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 of the Cloud Service Provider.
SubscriptionServiceName ListExternalLocationSummariesMetadataSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment in which to list resources.
// A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud 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
ListMulticloudResourcesRequest wrapper for the ListMulticloudResources operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListMulticloudResources.go.html to see an example of how to use ListMulticloudResourcesRequest.
type ListMulticloudResourcesRequest struct {
// The subscription service name of the Cloud Service Provider.
SubscriptionServiceName ListMulticloudResourcesSubscriptionServiceNameEnum `mandatory:"true" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud 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 ResourceAnchor.
ResourceAnchorId *string `mandatory:"false" contributesTo:"query" name:"resourceAnchorId"`
// 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"`
// 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 ListMulticloudResourcesSortOrderEnum `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 ListMulticloudResourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The Cloud Service Provider region.
ExternalLocation *string `mandatory:"false" contributesTo:"query" name:"externalLocation"`
// 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 ListMulticloudResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMulticloudResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMulticloudResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMulticloudResourcesRequest) String() string
func (request ListMulticloudResourcesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListMulticloudResourcesResponse wrapper for the ListMulticloudResources operation
type ListMulticloudResourcesResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of MulticloudResourceCollection instances
MulticloudResourceCollection `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 ListMulticloudResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMulticloudResourcesResponse) String() string
ListMulticloudResourcesSortByEnum Enum with underlying type: string
type ListMulticloudResourcesSortByEnum string
Set of constants representing the allowable values for ListMulticloudResourcesSortByEnum
const (
ListMulticloudResourcesSortByTimecreated ListMulticloudResourcesSortByEnum = "timeCreated"
ListMulticloudResourcesSortByDisplayname ListMulticloudResourcesSortByEnum = "displayName"
)
func GetListMulticloudResourcesSortByEnumValues() []ListMulticloudResourcesSortByEnum
GetListMulticloudResourcesSortByEnumValues Enumerates the set of values for ListMulticloudResourcesSortByEnum
func GetMappingListMulticloudResourcesSortByEnum(val string) (ListMulticloudResourcesSortByEnum, bool)
GetMappingListMulticloudResourcesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMulticloudResourcesSortOrderEnum Enum with underlying type: string
type ListMulticloudResourcesSortOrderEnum string
Set of constants representing the allowable values for ListMulticloudResourcesSortOrderEnum
const (
ListMulticloudResourcesSortOrderAsc ListMulticloudResourcesSortOrderEnum = "ASC"
ListMulticloudResourcesSortOrderDesc ListMulticloudResourcesSortOrderEnum = "DESC"
)
func GetListMulticloudResourcesSortOrderEnumValues() []ListMulticloudResourcesSortOrderEnum
GetListMulticloudResourcesSortOrderEnumValues Enumerates the set of values for ListMulticloudResourcesSortOrderEnum
func GetMappingListMulticloudResourcesSortOrderEnum(val string) (ListMulticloudResourcesSortOrderEnum, bool)
GetMappingListMulticloudResourcesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMulticloudResourcesSubscriptionServiceNameEnum Enum with underlying type: string
type ListMulticloudResourcesSubscriptionServiceNameEnum string
Set of constants representing the allowable values for ListMulticloudResourcesSubscriptionServiceNameEnum
const (
ListMulticloudResourcesSubscriptionServiceNameOracledbatazure ListMulticloudResourcesSubscriptionServiceNameEnum = "ORACLEDBATAZURE"
ListMulticloudResourcesSubscriptionServiceNameOracledbatgoogle ListMulticloudResourcesSubscriptionServiceNameEnum = "ORACLEDBATGOOGLE"
ListMulticloudResourcesSubscriptionServiceNameOracledbataws ListMulticloudResourcesSubscriptionServiceNameEnum = "ORACLEDBATAWS"
)
func GetListMulticloudResourcesSubscriptionServiceNameEnumValues() []ListMulticloudResourcesSubscriptionServiceNameEnum
GetListMulticloudResourcesSubscriptionServiceNameEnumValues Enumerates the set of values for ListMulticloudResourcesSubscriptionServiceNameEnum
func GetMappingListMulticloudResourcesSubscriptionServiceNameEnum(val string) (ListMulticloudResourcesSubscriptionServiceNameEnum, bool)
GetMappingListMulticloudResourcesSubscriptionServiceNameEnum performs case Insensitive comparison on enum value and return the desired enum
ListMulticloudSubscriptionsRequest wrapper for the ListMulticloudSubscriptions operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListMulticloudSubscriptions.go.html to see an example of how to use ListMulticloudSubscriptionsRequest.
type ListMulticloudSubscriptionsRequest 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"`
// 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"`
// 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"`
// A filter to return only resources that match the given display name exactly.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// 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 ListMulticloudSubscriptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
// The sort order to use, either ascending (`ASC`) or descending (`DESC`).
SortOrder ListMulticloudSubscriptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
// Metadata about the request. This information will not be transmitted to the service, but
// represents information that the SDK will consume to drive retry behavior.
RequestMetadata common.RequestMetadata
}
func (request ListMulticloudSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMulticloudSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMulticloudSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMulticloudSubscriptionsRequest) String() string
func (request ListMulticloudSubscriptionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListMulticloudSubscriptionsResponse wrapper for the ListMulticloudSubscriptions operation
type ListMulticloudSubscriptionsResponse struct {
// The underlying http response
RawResponse *http.Response
// A list of MulticloudSubscriptionCollection instances
MulticloudSubscriptionCollection `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 ListMulticloudSubscriptionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMulticloudSubscriptionsResponse) String() string
ListMulticloudSubscriptionsSortByEnum Enum with underlying type: string
type ListMulticloudSubscriptionsSortByEnum string
Set of constants representing the allowable values for ListMulticloudSubscriptionsSortByEnum
const (
ListMulticloudSubscriptionsSortByTimecreated ListMulticloudSubscriptionsSortByEnum = "timeCreated"
ListMulticloudSubscriptionsSortByDisplayname ListMulticloudSubscriptionsSortByEnum = "displayName"
)
func GetListMulticloudSubscriptionsSortByEnumValues() []ListMulticloudSubscriptionsSortByEnum
GetListMulticloudSubscriptionsSortByEnumValues Enumerates the set of values for ListMulticloudSubscriptionsSortByEnum
func GetMappingListMulticloudSubscriptionsSortByEnum(val string) (ListMulticloudSubscriptionsSortByEnum, bool)
GetMappingListMulticloudSubscriptionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListMulticloudSubscriptionsSortOrderEnum Enum with underlying type: string
type ListMulticloudSubscriptionsSortOrderEnum string
Set of constants representing the allowable values for ListMulticloudSubscriptionsSortOrderEnum
const (
ListMulticloudSubscriptionsSortOrderAsc ListMulticloudSubscriptionsSortOrderEnum = "ASC"
ListMulticloudSubscriptionsSortOrderDesc ListMulticloudSubscriptionsSortOrderEnum = "DESC"
)
func GetListMulticloudSubscriptionsSortOrderEnumValues() []ListMulticloudSubscriptionsSortOrderEnum
GetListMulticloudSubscriptionsSortOrderEnumValues Enumerates the set of values for ListMulticloudSubscriptionsSortOrderEnum
func GetMappingListMulticloudSubscriptionsSortOrderEnum(val string) (ListMulticloudSubscriptionsSortOrderEnum, bool)
GetMappingListMulticloudSubscriptionsSortOrderEnum 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 Multicloud base compartment or sub-compartment in which to list resources.
// A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources.
SubscriptionId *string `mandatory:"false" contributesTo:"query" name:"subscriptionId"`
// The subscription service name of the Cloud Service Provider.
SubscriptionServiceName ListNetworkAnchorsSubscriptionServiceNameEnum `mandatory:"false" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"`
// A filter to return only resources that match the given lifecycle state. The
// state value is case-insensitive.
NetworkAnchorLifecycleState NetworkAnchorNetworkAnchorLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"networkAnchorLifecycleState" omitEmpty:"true"`
// A filter to return only resources that match the given display name exactly.
DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
// The Cloud Service Provider region.
ExternalLocation *string `mandatory:"false" contributesTo:"query" name:"externalLocation"`
// A filter to return only NetworkAnchor resources that match the given OCI subnet Id.
NetworkAnchorOciSubnetId *string `mandatory:"false" contributesTo:"query" name:"networkAnchorOciSubnetId"`
// If set to true, a list operation will return NetworkAnchors from all child compartments in the provided compartmentId parameter.
CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
// 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"`
// Whether to fetch and include the vcn display name, which may introduce additional latency.
ShouldFetchVcnName *bool `mandatory:"false" contributesTo:"query" name:"shouldFetchVcnName"`
// 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 OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment or sub-compartment in which to list resources.
// A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment linked to the 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"`
// Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency.
ShouldFetchCompartmentName *bool `mandatory:"false" contributesTo:"query" name:"shouldFetchCompartmentName"`
// The subscription service name of the Cloud Service Provider.
SubscriptionServiceName ListResourceAnchorsSubscriptionServiceNameEnum `mandatory:"false" contributesTo:"query" name:"subscriptionServiceName" omitEmpty:"true"`
// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources.
SubscriptionId *string `mandatory:"false" 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 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.
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.
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.
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 the Multicloud base compartment for a given tenancy Id. A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
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 pairs of Multicloud base compartment and subscription across Cloud Service Providers from a tenancy Id. A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud).
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.
MulticloudResourceCollection Multicloud resource information across clouds.
type MulticloudResourceCollection struct {
// List of MulticloudResourceSummary.
Items []MulticloudResourceSummary `mandatory:"true" json:"items"`
}
func (m MulticloudResourceCollection) String() string
func (m MulticloudResourceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MulticloudResourceSummary The multicloud resource, for eg. VMCluster, ExaInfra, and its attributes. The resource and network anchor that represents
type MulticloudResourceSummary struct {
// The Id of the multicloud resource.
ResourceId *string `mandatory:"true" json:"resourceId"`
// The date and time the subscription was created, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Endpoint used to retrieve displayName and lifeCycleState of the resource.
ResourceDisplayName *string `mandatory:"false" json:"resourceDisplayName"`
// What resource it refers to. Eg. VMCluster, ExaInfra, etc.
ResourceType *string `mandatory:"false" json:"resourceType"`
// Compartment name associated the resource.
CompartmentName *string `mandatory:"false" json:"compartmentName"`
// Compartment Id of the resource.
CompartmentId *string `mandatory:"false" json:"compartmentId"`
// Resource Anchor name.
VcnName *string `mandatory:"false" json:"vcnName"`
// Id of the Virtual Cloud Network associated to the resource.
VcnId *string `mandatory:"false" json:"vcnId"`
// Name of the network anchor associated to the resource.
NetworkAnchorName *string `mandatory:"false" json:"networkAnchorName"`
// OCID of the Network Anchor
NetworkAnchorId *string `mandatory:"false" json:"networkAnchorId"`
// Resource Id that comes from the Multi Cloud Control Plane
CspResourceId *string `mandatory:"false" json:"cspResourceId"`
// CSP Specific Additional Properties, AzureSubnetId for Azure
CspAdditionalProperties map[string]string `mandatory:"false" json:"cspAdditionalProperties"`
// The date and time the subscription was updated, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// The current state of the multicloud resource.
LifecycleState MulticloudResourceSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// 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:"false" 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:"false" 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 MulticloudResourceSummary) String() string
func (m MulticloudResourceSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MulticloudResourceSummaryLifecycleStateEnum Enum with underlying type: string
type MulticloudResourceSummaryLifecycleStateEnum string
Set of constants representing the allowable values for MulticloudResourceSummaryLifecycleStateEnum
const (
MulticloudResourceSummaryLifecycleStateActive MulticloudResourceSummaryLifecycleStateEnum = "ACTIVE"
MulticloudResourceSummaryLifecycleStateInactive MulticloudResourceSummaryLifecycleStateEnum = "INACTIVE"
)
func GetMappingMulticloudResourceSummaryLifecycleStateEnum(val string) (MulticloudResourceSummaryLifecycleStateEnum, bool)
GetMappingMulticloudResourceSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMulticloudResourceSummaryLifecycleStateEnumValues() []MulticloudResourceSummaryLifecycleStateEnum
GetMulticloudResourceSummaryLifecycleStateEnumValues Enumerates the set of values for MulticloudResourceSummaryLifecycleStateEnum
MulticloudResourcesClient a client for MulticloudResources
type MulticloudResourcesClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewMulticloudResourcesClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MulticloudResourcesClient, err error)
NewMulticloudResourcesClientWithConfigurationProvider Creates a new default MulticloudResources client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewMulticloudResourcesClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MulticloudResourcesClient, err error)
NewMulticloudResourcesClientWithOboToken Creates a new default MulticloudResources 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 *MulticloudResourcesClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client MulticloudResourcesClient) ListMulticloudResources(ctx context.Context, request ListMulticloudResourcesRequest) (response ListMulticloudResourcesResponse, err error)
ListMulticloudResources Gets a list of multicloud resources with multicloud base compartment and subscription across Cloud Service Providers.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListMulticloudResources.go.html to see an example of how to use ListMulticloudResources API. A default retry strategy applies to this operation ListMulticloudResources()
func (client *MulticloudResourcesClient) SetRegion(region string)
SetRegion overrides the region of this client.
MulticloudSubscriptionCollection Results of a multicloud subscription. Contains both MulticloudSubscription information.
type MulticloudSubscriptionCollection struct {
// List of MulticloudSubscriptions.
Items []MulticloudSubscriptionSummary `mandatory:"true" json:"items"`
}
func (m MulticloudSubscriptionCollection) String() string
func (m MulticloudSubscriptionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MulticloudSubscriptionSummary Multicloud subscription object
type MulticloudSubscriptionSummary struct {
// Subscription ID for OCI and Partner cloud in classic format.
ClassicSubscriptionId *string `mandatory:"true" json:"classicSubscriptionId"`
// The partner cloud account ID.
PartnerCloudAccountIdentifier *string `mandatory:"true" json:"partnerCloudAccountIdentifier"`
// The date and time the subscription was created, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1.
SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
// The serviceName that externalLocation map object belongs to.
ServiceName SubscriptionTypeEnum `mandatory:"false" json:"serviceName,omitempty"`
// The date and time for when the multicloud was created, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeLinkedDate *common.SDKTime `mandatory:"false" json:"timeLinkedDate"`
// Payment plan for the subscription.
PaymentPlan *string `mandatory:"false" json:"paymentPlan"`
// Total value for the subscription.
ActiveCommitment *string `mandatory:"false" json:"activeCommitment"`
// The date and time for when the subscription is finishing, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeEndDate *common.SDKTime `mandatory:"false" json:"timeEndDate"`
// The current state of the subscription.
LifecycleState MulticloudSubscriptionSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// CSP Specific Additional Properties, AzureSubnetId for Azure
CspAdditionalProperties map[string]string `mandatory:"false" json:"cspAdditionalProperties"`
// The date and time the subscription was updated, in the format defined by
// RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// 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:"false" 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:"false" 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 MulticloudSubscriptionSummary) String() string
func (m MulticloudSubscriptionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MulticloudSubscriptionSummaryLifecycleStateEnum Enum with underlying type: string
type MulticloudSubscriptionSummaryLifecycleStateEnum string
Set of constants representing the allowable values for MulticloudSubscriptionSummaryLifecycleStateEnum
const (
MulticloudSubscriptionSummaryLifecycleStateActive MulticloudSubscriptionSummaryLifecycleStateEnum = "ACTIVE"
MulticloudSubscriptionSummaryLifecycleStateInactive MulticloudSubscriptionSummaryLifecycleStateEnum = "INACTIVE"
)
func GetMappingMulticloudSubscriptionSummaryLifecycleStateEnum(val string) (MulticloudSubscriptionSummaryLifecycleStateEnum, bool)
GetMappingMulticloudSubscriptionSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMulticloudSubscriptionSummaryLifecycleStateEnumValues() []MulticloudSubscriptionSummaryLifecycleStateEnum
GetMulticloudSubscriptionSummaryLifecycleStateEnumValues Enumerates the set of values for MulticloudSubscriptionSummaryLifecycleStateEnum
MulticloudsubscriptionsClient a client for Multicloudsubscriptions
type MulticloudsubscriptionsClient struct {
common.BaseClient
// contains filtered or unexported fields
}
func NewMulticloudsubscriptionsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MulticloudsubscriptionsClient, err error)
NewMulticloudsubscriptionsClientWithConfigurationProvider Creates a new default Multicloudsubscriptions client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewMulticloudsubscriptionsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MulticloudsubscriptionsClient, err error)
NewMulticloudsubscriptionsClientWithOboToken Creates a new default Multicloudsubscriptions 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 *MulticloudsubscriptionsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client MulticloudsubscriptionsClient) ListMulticloudSubscriptions(ctx context.Context, request ListMulticloudSubscriptionsRequest) (response ListMulticloudSubscriptionsResponse, err error)
ListMulticloudSubscriptions Gets a list of Multicloud Resources.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/multicloud/ListMulticloudSubscriptions.go.html to see an example of how to use ListMulticloudSubscriptions API. A default retry strategy applies to this operation ListMulticloudSubscriptions()
func (client *MulticloudsubscriptionsClient) 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.
NetworkAnchorLifecycleState NetworkAnchorNetworkAnchorLifecycleStateEnum `mandatory:"true" json:"networkAnchorLifecycleState"`
// 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"`
// The CPG ID in which Network Anchor will be created.
ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`
OciMetadataItem *OciNetworkMetadata `mandatory:"false" json:"ociMetadataItem"`
CloudServiceProviderMetadataItem *CloudServiceProviderNetworkMetadataItem `mandatory:"false" json:"cloudServiceProviderMetadataItem"`
// Oracle Cloud Infrastructure Subscription Type.
SubscriptionType SubscriptionTypeEnum `mandatory:"false" json:"subscriptionType,omitempty"`
}
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
NetworkAnchorConnectionStatusEnum Enum with underlying type: string
type NetworkAnchorConnectionStatusEnum string
Set of constants representing the allowable values for NetworkAnchorConnectionStatusEnum
const (
NetworkAnchorConnectionStatusConnected NetworkAnchorConnectionStatusEnum = "CONNECTED"
NetworkAnchorConnectionStatusDisconnected NetworkAnchorConnectionStatusEnum = "DISCONNECTED"
NetworkAnchorConnectionStatusConnecting NetworkAnchorConnectionStatusEnum = "CONNECTING"
NetworkAnchorConnectionStatusActive NetworkAnchorConnectionStatusEnum = "ACTIVE"
NetworkAnchorConnectionStatusError NetworkAnchorConnectionStatusEnum = "ERROR"
NetworkAnchorConnectionStatusUpdating NetworkAnchorConnectionStatusEnum = "UPDATING"
NetworkAnchorConnectionStatusNeedsAttention NetworkAnchorConnectionStatusEnum = "NEEDS_ATTENTION"
NetworkAnchorConnectionStatusFailed NetworkAnchorConnectionStatusEnum = "FAILED"
NetworkAnchorConnectionStatusDeleting NetworkAnchorConnectionStatusEnum = "DELETING"
NetworkAnchorConnectionStatusDeleted NetworkAnchorConnectionStatusEnum = "DELETED"
)
func GetMappingNetworkAnchorConnectionStatusEnum(val string) (NetworkAnchorConnectionStatusEnum, bool)
GetMappingNetworkAnchorConnectionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNetworkAnchorConnectionStatusEnumValues() []NetworkAnchorConnectionStatusEnum
GetNetworkAnchorConnectionStatusEnumValues Enumerates the set of values for NetworkAnchorConnectionStatusEnum
NetworkAnchorNetworkAnchorLifecycleStateEnum Enum with underlying type: string
type NetworkAnchorNetworkAnchorLifecycleStateEnum string
Set of constants representing the allowable values for NetworkAnchorNetworkAnchorLifecycleStateEnum
const (
NetworkAnchorNetworkAnchorLifecycleStateCreating NetworkAnchorNetworkAnchorLifecycleStateEnum = "CREATING"
NetworkAnchorNetworkAnchorLifecycleStateUpdating NetworkAnchorNetworkAnchorLifecycleStateEnum = "UPDATING"
NetworkAnchorNetworkAnchorLifecycleStateActive NetworkAnchorNetworkAnchorLifecycleStateEnum = "ACTIVE"
NetworkAnchorNetworkAnchorLifecycleStateDeleting NetworkAnchorNetworkAnchorLifecycleStateEnum = "DELETING"
NetworkAnchorNetworkAnchorLifecycleStateDeleted NetworkAnchorNetworkAnchorLifecycleStateEnum = "DELETED"
NetworkAnchorNetworkAnchorLifecycleStateFailed NetworkAnchorNetworkAnchorLifecycleStateEnum = "FAILED"
)
func GetMappingNetworkAnchorNetworkAnchorLifecycleStateEnum(val string) (NetworkAnchorNetworkAnchorLifecycleStateEnum, bool)
GetMappingNetworkAnchorNetworkAnchorLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNetworkAnchorNetworkAnchorLifecycleStateEnumValues() []NetworkAnchorNetworkAnchorLifecycleStateEnum
GetNetworkAnchorNetworkAnchorLifecycleStateEnumValues Enumerates the set of values for NetworkAnchorNetworkAnchorLifecycleStateEnum
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"`
// Defines status of the Network Anchor.
NetworkAnchorConnectionStatus NetworkAnchorConnectionStatusEnum `mandatory:"true" json:"networkAnchorConnectionStatus"`
// 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.
NetworkAnchorLifecycleState NetworkAnchorNetworkAnchorLifecycleStateEnum `mandatory:"true" json:"networkAnchorLifecycleState"`
// 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"`
// Name of the VCN associated to the Network Anchor.
VcnName *string `mandatory:"false" json:"vcnName"`
// The CPG ID in which Network Anchor will be created.
ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`
// 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"`
// CSP Specific Additional Properties, AzureSubnetId for Azure
CspAdditionalProperties map[string]string `mandatory:"false" json:"cspAdditionalProperties"`
// Network Anchor Id in the Cloud Service Provider.
CspNetworkAnchorId *string `mandatory:"false" json:"cspNetworkAnchorId"`
// CSP network anchor Uri
NetworkAnchorUri *string `mandatory:"false" json:"networkAnchorUri"`
// 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"`
// Oracle Cloud Infrastructure Subscription Type.
SubscriptionType SubscriptionTypeEnum `mandatory:"false" json:"subscriptionType,omitempty"`
}
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 {
// Defines status of the Network Anchor.
NetworkAnchorConnectionStatus NetworkAnchorConnectionStatusEnum `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
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"`
// Name of the VCN associated to the Network Anchor.
VcnName *string `mandatory:"false" json:"vcnName"`
// 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 name assigned to the compartment during creation.
CompartmentName *string `mandatory:"false" json:"compartmentName"`
// 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"`
// The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
LinkedCompartmentName *string `mandatory:"false" json:"linkedCompartmentName"`
// 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 name assigned to the compartment during creation.
CompartmentName *string `mandatory:"false" json:"compartmentName"`
// Partner Cloud Account Identifier of the Cloud Service Provider.
PartnerCloudAccountIdentifier *string `mandatory:"false" json:"partnerCloudAccountIdentifier"`
// Resource Anchor Id in the Cloud Service Provider.
CspResourceAnchorId *string `mandatory:"false" json:"cspResourceAnchorId"`
// Resource Anchor Name in the Cloud Service Provider.
CspResourceAnchorName *string `mandatory:"false" json:"cspResourceAnchorName"`
// CSP Specific Additional Properties, AzureSubnetId for Azure
CspAdditionalProperties map[string]string `mandatory:"false" json:"cspAdditionalProperties"`
// 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"`
// 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"`
// The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live.
LinkedCompartmentName *string `mandatory:"false" json:"linkedCompartmentName"`
}
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