AcceptRecipientInvitationRequest wrapper for the AcceptRecipientInvitation operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/AcceptRecipientInvitation.go.html to see an example of how to use AcceptRecipientInvitationRequest.
type AcceptRecipientInvitationRequest struct { // OCID of recipient invitation to accept. RecipientInvitationId *string `mandatory:"true" contributesTo:"path" name:"recipientInvitationId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request, so it can be retried in case of a timeout or // server error, without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request AcceptRecipientInvitationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AcceptRecipientInvitationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AcceptRecipientInvitationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AcceptRecipientInvitationRequest) String() string
AcceptRecipientInvitationResponse wrapper for the AcceptRecipientInvitation operation
type AcceptRecipientInvitationResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response AcceptRecipientInvitationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AcceptRecipientInvitationResponse) String() string
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
CancelSenderInvitationRequest wrapper for the CancelSenderInvitation operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/CancelSenderInvitation.go.html to see an example of how to use CancelSenderInvitationRequest.
type CancelSenderInvitationRequest struct { // OCID of the sender invitation to cancel. SenderInvitationId *string `mandatory:"true" contributesTo:"path" name:"senderInvitationId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request, so it can be retried in case of a timeout or // server error, without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelSenderInvitationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelSenderInvitationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelSenderInvitationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelSenderInvitationRequest) String() string
CancelSenderInvitationResponse wrapper for the CancelSenderInvitation operation
type CancelSenderInvitationResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response CancelSenderInvitationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelSenderInvitationResponse) String() string
CreateDomainDetails The parameters for creating a domain.
type CreateDomainDetails struct { // OCID of the tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The domain name. DomainName *string `mandatory:"true" json:"domainName"` // The email to notify the user, and that the ONS subscription will be created with. SubscriptionEmail *string `mandatory:"false" json:"subscriptionEmail"` // Indicates whether governance should be enabled for this domain. Defaults to false. IsGovernanceEnabled *bool `mandatory:"false" json:"isGovernanceEnabled"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDomainDetails) String() string
CreateDomainGovernanceDetails The parameters for creating a domain governance entity.
type CreateDomainGovernanceDetails struct { // OCID of the tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCID of the domain. DomainId *string `mandatory:"true" json:"domainId"` // The email to notify the user, and that the ONS subscription will be created with. SubscriptionEmail *string `mandatory:"true" json:"subscriptionEmail"` // The ONS topic associated with this domain governance entity. OnsTopicId *string `mandatory:"true" json:"onsTopicId"` // The ONS subscription associated with this domain governance entity. OnsSubscriptionId *string `mandatory:"true" json:"onsSubscriptionId"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDomainGovernanceDetails) String() string
CreateDomainGovernanceRequest wrapper for the CreateDomainGovernance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/CreateDomainGovernance.go.html to see an example of how to use CreateDomainGovernanceRequest.
type CreateDomainGovernanceRequest struct { // Parameters for adding domain governance to a claimed domain. CreateDomainGovernanceDetails `contributesTo:"body"` // A token that uniquely identifies a request, so it can be retried in case of a timeout or // server error, without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDomainGovernanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDomainGovernanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDomainGovernanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDomainGovernanceRequest) String() string
CreateDomainGovernanceResponse wrapper for the CreateDomainGovernance operation
type CreateDomainGovernanceResponse struct { // The underlying http response RawResponse *http.Response // The DomainGovernance instance DomainGovernance `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateDomainGovernanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDomainGovernanceResponse) String() string
CreateDomainRequest wrapper for the CreateDomain operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/CreateDomain.go.html to see an example of how to use CreateDomainRequest.
type CreateDomainRequest struct { // Parameters for domain creation. CreateDomainDetails `contributesTo:"body"` // A token that uniquely identifies a request, so it can be retried in case of a timeout or // server error, without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDomainRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDomainRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDomainRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDomainRequest) String() string
CreateDomainResponse wrapper for the CreateDomain operation
type CreateDomainResponse struct { // The underlying http response RawResponse *http.Response // The Domain instance Domain `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"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateDomainResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDomainResponse) String() string
CreateSenderInvitationDetails The parameters for creating a sender invitation.
type CreateSenderInvitationDetails struct { // OCID of the sender tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCID of the recipient tenancy. RecipientTenancyId *string `mandatory:"true" json:"recipientTenancyId"` // Email address of the recipient. RecipientEmailAddress *string `mandatory:"false" json:"recipientEmailAddress"` // A user-created name to describe the invitation. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateSenderInvitationDetails) String() string
CreateSenderInvitationRequest wrapper for the CreateSenderInvitation operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/CreateSenderInvitation.go.html to see an example of how to use CreateSenderInvitationRequest.
type CreateSenderInvitationRequest struct { // Parameters for sender invitation creation. CreateSenderInvitationDetails `contributesTo:"body"` // A token that uniquely identifies a request, so it can be retried in case of a timeout or // server error, without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateSenderInvitationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateSenderInvitationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateSenderInvitationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateSenderInvitationRequest) String() string
CreateSenderInvitationResponse wrapper for the CreateSenderInvitation operation
type CreateSenderInvitationResponse struct { // The underlying http response RawResponse *http.Response // The SenderInvitation instance SenderInvitation `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"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateSenderInvitationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateSenderInvitationResponse) String() string
DeleteDomainGovernanceRequest wrapper for the DeleteDomainGovernance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/DeleteDomainGovernance.go.html to see an example of how to use DeleteDomainGovernanceRequest.
type DeleteDomainGovernanceRequest struct { // The domain governance OCID. DomainGovernanceId *string `mandatory:"true" contributesTo:"path" name:"domainGovernanceId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteDomainGovernanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDomainGovernanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDomainGovernanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDomainGovernanceRequest) String() string
DeleteDomainGovernanceResponse wrapper for the DeleteDomainGovernance operation
type DeleteDomainGovernanceResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDomainGovernanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDomainGovernanceResponse) String() string
DeleteDomainRequest wrapper for the DeleteDomain operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/DeleteDomain.go.html to see an example of how to use DeleteDomainRequest.
type DeleteDomainRequest struct { // The domain OCID. DomainId *string `mandatory:"true" contributesTo:"path" name:"domainId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteDomainRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDomainRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDomainRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDomainRequest) String() string
DeleteDomainResponse wrapper for the DeleteDomain operation
type DeleteDomainResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDomainResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDomainResponse) String() string
DeleteLinkRequest wrapper for the DeleteLink operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/DeleteLink.go.html to see an example of how to use DeleteLinkRequest.
type DeleteLinkRequest struct { // OCID of the link to terminate. LinkId *string `mandatory:"true" contributesTo:"path" name:"linkId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteLinkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteLinkRequest) String() string
DeleteLinkResponse wrapper for the DeleteLink operation
type DeleteLinkResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteLinkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteLinkResponse) String() string
Domain The domain model that is associated with a tenancy.
type Domain struct { // The OCID of the domain. Id *string `mandatory:"true" json:"id"` // The domain name. DomainName *string `mandatory:"true" json:"domainName"` // The OCID of the tenancy that has started the registration process for this domain. OwnerId *string `mandatory:"true" json:"ownerId"` // Lifecycle state of the domain. LifecycleState DomainLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Status of the domain. Status DomainStatusEnum `mandatory:"true" json:"status"` // The code that the owner of the domain will need to add as a TXT record to their domain. TxtRecord *string `mandatory:"true" json:"txtRecord"` // Date-time when this domain was created. An RFC3339-formatted date and time string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date-time when this domain was last updated. An RFC3339-formatted date and time string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Domain) String() string
DomainClient a client for Domain
type DomainClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDomainClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DomainClient, err error)
NewDomainClientWithConfigurationProvider Creates a new default Domain client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDomainClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DomainClient, err error)
NewDomainClientWithOboToken Creates a new default Domain 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 *DomainClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DomainClient) CreateDomain(ctx context.Context, request CreateDomainRequest) (response CreateDomainResponse, err error)
CreateDomain Begins the registration process for claiming a domain.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/CreateDomain.go.html to see an example of how to use CreateDomain API.
func (client DomainClient) DeleteDomain(ctx context.Context, request DeleteDomainRequest) (response DeleteDomainResponse, err error)
DeleteDomain Releases the domain, making it available to be claimed again by another tenancy.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/DeleteDomain.go.html to see an example of how to use DeleteDomain API.
func (client DomainClient) GetDomain(ctx context.Context, request GetDomainRequest) (response GetDomainResponse, err error)
GetDomain Gets information about the domain.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetDomain.go.html to see an example of how to use GetDomain API.
func (client DomainClient) ListDomains(ctx context.Context, request ListDomainsRequest) (response ListDomainsResponse, err error)
ListDomains Return a (paginated) list of domains.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListDomains.go.html to see an example of how to use ListDomains API.
func (client *DomainClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DomainClient) UpdateDomain(ctx context.Context, request UpdateDomainRequest) (response UpdateDomainResponse, err error)
UpdateDomain Updates the domain.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/UpdateDomain.go.html to see an example of how to use UpdateDomain API.
DomainCollection Result of a query request for a list of domains. Contains DomainSummary items.
type DomainCollection struct { // Array containing DomainSummary items. Items []DomainSummary `mandatory:"true" json:"items"` }
func (m DomainCollection) String() string
DomainGovernance The model for a domain governance entity.
type DomainGovernance struct { // The OCID of the domain governance entity. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy that owns this domain governance entity. OwnerId *string `mandatory:"true" json:"ownerId"` // The OCID of the domain associated with this domain governance entity. DomainId *string `mandatory:"true" json:"domainId"` // Lifecycle state of the domain governance entity. LifecycleState DomainGovernanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The ONS topic associated with this domain governance entity. OnsTopicId *string `mandatory:"true" json:"onsTopicId"` // The ONS subscription associated with this domain governance entity. OnsSubscriptionId *string `mandatory:"true" json:"onsSubscriptionId"` // Indicates whether governance is enabled for this domain. IsGovernanceEnabled *bool `mandatory:"false" json:"isGovernanceEnabled"` // The email to notify the user, and that the ONS subscription will be created with. SubscriptionEmail *string `mandatory:"false" json:"subscriptionEmail"` // Date-time when this domain governance was created. An RFC3339-formatted date and time string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date-time when this domain governance was last updated. An RFC3339-formatted date and time string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DomainGovernance) String() string
DomainGovernanceClient a client for DomainGovernance
type DomainGovernanceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDomainGovernanceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DomainGovernanceClient, err error)
NewDomainGovernanceClientWithConfigurationProvider Creates a new default DomainGovernance client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDomainGovernanceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DomainGovernanceClient, err error)
NewDomainGovernanceClientWithOboToken Creates a new default DomainGovernance 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 *DomainGovernanceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DomainGovernanceClient) CreateDomainGovernance(ctx context.Context, request CreateDomainGovernanceRequest) (response CreateDomainGovernanceResponse, err error)
CreateDomainGovernance Adds domain governance to a claimed domain.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/CreateDomainGovernance.go.html to see an example of how to use CreateDomainGovernance API.
func (client DomainGovernanceClient) DeleteDomainGovernance(ctx context.Context, request DeleteDomainGovernanceRequest) (response DeleteDomainGovernanceResponse, err error)
DeleteDomainGovernance Removes domain governance from a claimed domain.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/DeleteDomainGovernance.go.html to see an example of how to use DeleteDomainGovernance API.
func (client DomainGovernanceClient) GetDomainGovernance(ctx context.Context, request GetDomainGovernanceRequest) (response GetDomainGovernanceResponse, err error)
GetDomainGovernance Gets information about the domain governance entity.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetDomainGovernance.go.html to see an example of how to use GetDomainGovernance API.
func (client DomainGovernanceClient) ListDomainGovernances(ctx context.Context, request ListDomainGovernancesRequest) (response ListDomainGovernancesResponse, err error)
ListDomainGovernances Return a (paginated) list of domain governance entities.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListDomainGovernances.go.html to see an example of how to use ListDomainGovernances API.
func (client *DomainGovernanceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DomainGovernanceClient) UpdateDomainGovernance(ctx context.Context, request UpdateDomainGovernanceRequest) (response UpdateDomainGovernanceResponse, err error)
UpdateDomainGovernance Updates the domain governance entity.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/UpdateDomainGovernance.go.html to see an example of how to use UpdateDomainGovernance API.
DomainGovernanceCollection Result of a query request for a list of domain governance entities. Contains DomainGovernanceSummary items.
type DomainGovernanceCollection struct { // Array containing DomainGovernanceSummary items. Items []DomainGovernanceSummary `mandatory:"true" json:"items"` }
func (m DomainGovernanceCollection) String() string
DomainGovernanceLifecycleStateEnum Enum with underlying type: string
type DomainGovernanceLifecycleStateEnum string
Set of constants representing the allowable values for DomainGovernanceLifecycleStateEnum
const ( DomainGovernanceLifecycleStateActive DomainGovernanceLifecycleStateEnum = "ACTIVE" DomainGovernanceLifecycleStateInactive DomainGovernanceLifecycleStateEnum = "INACTIVE" )
func GetDomainGovernanceLifecycleStateEnumValues() []DomainGovernanceLifecycleStateEnum
GetDomainGovernanceLifecycleStateEnumValues Enumerates the set of values for DomainGovernanceLifecycleStateEnum
DomainGovernanceSummary The summary of a domain govenance entity owned by a tenancy.
type DomainGovernanceSummary struct { // The OCID of the domain governance entity. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy that owns this domain governance entity. OwnerId *string `mandatory:"true" json:"ownerId"` // The OCID of the domain associated with this domain governance entity. DomainId *string `mandatory:"true" json:"domainId"` // The lifecycle state of the domain governance entity. LifecycleState DomainGovernanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Indicates whether governance is enabled for this domain. IsGovernanceEnabled *bool `mandatory:"true" json:"isGovernanceEnabled"` // The ONS topic associated with this domain governance entity. OnsTopicId *string `mandatory:"true" json:"onsTopicId"` // The ONS subscription associated with this domain governance entity. OnsSubscriptionId *string `mandatory:"true" json:"onsSubscriptionId"` // The email to notify the user, and that the ONS subscription will be created with. SubscriptionEmail *string `mandatory:"false" json:"subscriptionEmail"` // Date-time when this domain governance was created. An RFC3339-formatted date and time string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date-time when this domain governance was last updated. An RFC3339-formatted date and time string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DomainGovernanceSummary) String() string
DomainLifecycleStateEnum Enum with underlying type: string
type DomainLifecycleStateEnum string
Set of constants representing the allowable values for DomainLifecycleStateEnum
const ( DomainLifecycleStateActive DomainLifecycleStateEnum = "ACTIVE" DomainLifecycleStateDeleted DomainLifecycleStateEnum = "DELETED" DomainLifecycleStateFailed DomainLifecycleStateEnum = "FAILED" )
func GetDomainLifecycleStateEnumValues() []DomainLifecycleStateEnum
GetDomainLifecycleStateEnumValues Enumerates the set of values for DomainLifecycleStateEnum
DomainStatusEnum Enum with underlying type: string
type DomainStatusEnum string
Set of constants representing the allowable values for DomainStatusEnum
const ( DomainStatusPending DomainStatusEnum = "PENDING" DomainStatusReleasing DomainStatusEnum = "RELEASING" DomainStatusReleased DomainStatusEnum = "RELEASED" DomainStatusExpiring DomainStatusEnum = "EXPIRING" DomainStatusRevoking DomainStatusEnum = "REVOKING" DomainStatusRevoked DomainStatusEnum = "REVOKED" DomainStatusActive DomainStatusEnum = "ACTIVE" DomainStatusFailed DomainStatusEnum = "FAILED" )
func GetDomainStatusEnumValues() []DomainStatusEnum
GetDomainStatusEnumValues Enumerates the set of values for DomainStatusEnum
DomainSummary The summary of a domain owned by a tenancy.
type DomainSummary struct { // OCID of the domain. Id *string `mandatory:"true" json:"id"` // The domain name. DomainName *string `mandatory:"true" json:"domainName"` // The OCID of the tenancy that has started the registration process for this domain. OwnerId *string `mandatory:"true" json:"ownerId"` // The lifecycle state of the domain. LifecycleState DomainLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Status of the domain. Status DomainStatusEnum `mandatory:"true" json:"status"` // The code that the owner of the domain will need to add as a TXT record to their domain. TxtRecord *string `mandatory:"true" json:"txtRecord"` // Date-time when this domain was created. An RFC3339-formatted date and time string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date-time when this domain was last updated. An RFC3339-formatted date and time string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DomainSummary) String() string
GetDomainGovernanceRequest wrapper for the GetDomainGovernance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetDomainGovernance.go.html to see an example of how to use GetDomainGovernanceRequest.
type GetDomainGovernanceRequest struct { // The domain governance OCID. DomainGovernanceId *string `mandatory:"true" contributesTo:"path" name:"domainGovernanceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDomainGovernanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDomainGovernanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDomainGovernanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDomainGovernanceRequest) String() string
GetDomainGovernanceResponse wrapper for the GetDomainGovernance operation
type GetDomainGovernanceResponse struct { // The underlying http response RawResponse *http.Response // The DomainGovernance instance DomainGovernance `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 GetDomainGovernanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDomainGovernanceResponse) String() string
GetDomainRequest wrapper for the GetDomain operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetDomain.go.html to see an example of how to use GetDomainRequest.
type GetDomainRequest struct { // The domain OCID. DomainId *string `mandatory:"true" contributesTo:"path" name:"domainId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDomainRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDomainRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDomainRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDomainRequest) String() string
GetDomainResponse wrapper for the GetDomain operation
type GetDomainResponse struct { // The underlying http response RawResponse *http.Response // The Domain instance Domain `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 GetDomainResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDomainResponse) String() string
GetLinkRequest wrapper for the GetLink operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetLink.go.html to see an example of how to use GetLinkRequest.
type GetLinkRequest struct { // OCID of the link to retrieve. LinkId *string `mandatory:"true" contributesTo:"path" name:"linkId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLinkRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLinkRequest) String() string
GetLinkResponse wrapper for the GetLink operation
type GetLinkResponse struct { // The underlying http response RawResponse *http.Response // The Link instance Link `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 GetLinkResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLinkResponse) String() string
GetRecipientInvitationRequest wrapper for the GetRecipientInvitation operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetRecipientInvitation.go.html to see an example of how to use GetRecipientInvitationRequest.
type GetRecipientInvitationRequest struct { // OCID of the recipient invitation to retrieve. RecipientInvitationId *string `mandatory:"true" contributesTo:"path" name:"recipientInvitationId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetRecipientInvitationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetRecipientInvitationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRecipientInvitationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRecipientInvitationRequest) String() string
GetRecipientInvitationResponse wrapper for the GetRecipientInvitation operation
type GetRecipientInvitationResponse struct { // The underlying http response RawResponse *http.Response // The RecipientInvitation instance RecipientInvitation `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetRecipientInvitationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRecipientInvitationResponse) String() string
GetSenderInvitationRequest wrapper for the GetSenderInvitation operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetSenderInvitation.go.html to see an example of how to use GetSenderInvitationRequest.
type GetSenderInvitationRequest struct { // OCID of the sender invitation to retrieve. SenderInvitationId *string `mandatory:"true" contributesTo:"path" name:"senderInvitationId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetSenderInvitationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSenderInvitationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSenderInvitationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSenderInvitationRequest) String() string
GetSenderInvitationResponse wrapper for the GetSenderInvitation operation
type GetSenderInvitationResponse struct { // The underlying http response RawResponse *http.Response // The SenderInvitation instance SenderInvitation `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 GetSenderInvitationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSenderInvitationResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `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"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
IgnoreRecipientInvitationRequest wrapper for the IgnoreRecipientInvitation operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/IgnoreRecipientInvitation.go.html to see an example of how to use IgnoreRecipientInvitationRequest.
type IgnoreRecipientInvitationRequest struct { // OCID of recipient invitation to ignore. RecipientInvitationId *string `mandatory:"true" contributesTo:"path" name:"recipientInvitationId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request, so it can be retried in case of a timeout or // server error, without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request IgnoreRecipientInvitationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request IgnoreRecipientInvitationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request IgnoreRecipientInvitationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request IgnoreRecipientInvitationRequest) String() string
IgnoreRecipientInvitationResponse wrapper for the IgnoreRecipientInvitation operation
type IgnoreRecipientInvitationResponse struct { // The underlying http response RawResponse *http.Response // The RecipientInvitation instance RecipientInvitation `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response IgnoreRecipientInvitationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response IgnoreRecipientInvitationResponse) String() string
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateInactive LifecycleStateEnum = "INACTIVE" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateFailed LifecycleStateEnum = "FAILED" LifecycleStateTerminated LifecycleStateEnum = "TERMINATED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
Link A link between a parent tenancy and a child tenancy.
type Link struct { // OCID of the link. Id *string `mandatory:"true" json:"id"` // OCID of the parent tenancy. ParentTenancyId *string `mandatory:"true" json:"parentTenancyId"` // OCID of the child tenancy ChildTenancyId *string `mandatory:"true" json:"childTenancyId"` // Date-time when this link was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Lifecycle state of the link. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date-time when this link was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Date-time when this link was terminated. TimeTerminated *common.SDKTime `mandatory:"false" json:"timeTerminated"` }
func (m Link) String() string
LinkClient a client for Link
type LinkClient struct { common.BaseClient // contains filtered or unexported fields }
func NewLinkClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LinkClient, err error)
NewLinkClientWithConfigurationProvider Creates a new default Link client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewLinkClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LinkClient, err error)
NewLinkClientWithOboToken Creates a new default Link 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 *LinkClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client LinkClient) DeleteLink(ctx context.Context, request DeleteLinkRequest) (response DeleteLinkResponse, err error)
DeleteLink Terminate the link.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/DeleteLink.go.html to see an example of how to use DeleteLink API.
func (client LinkClient) GetLink(ctx context.Context, request GetLinkRequest) (response GetLinkResponse, err error)
GetLink Gets information about the link.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetLink.go.html to see an example of how to use GetLink API.
func (client LinkClient) ListLinks(ctx context.Context, request ListLinksRequest) (response ListLinksResponse, err error)
ListLinks Return a (paginated) list of links.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListLinks.go.html to see an example of how to use ListLinks API.
func (client *LinkClient) SetRegion(region string)
SetRegion overrides the region of this client.
LinkCollection Result of a query request for a list of links. Contains Link items.
type LinkCollection struct { // Array containing LinkSummary items. Items []LinkSummary `mandatory:"true" json:"items"` }
func (m LinkCollection) String() string
LinkSummary The summary of a link between a parent tenancy and a child tenancy.
type LinkSummary struct { // OCID of the link. Id *string `mandatory:"true" json:"id"` // OCID of the parent tenancy. ParentTenancyId *string `mandatory:"true" json:"parentTenancyId"` // OCID of the child tenancy. ChildTenancyId *string `mandatory:"true" json:"childTenancyId"` // Date-time when this link was created TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Lifecycle state of the link. LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date-time when this link was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Date-time when this link was terminated. TimeTerminated *common.SDKTime `mandatory:"false" json:"timeTerminated"` }
func (m LinkSummary) String() string
ListDomainGovernancesLifecycleStateEnum Enum with underlying type: string
type ListDomainGovernancesLifecycleStateEnum string
Set of constants representing the allowable values for ListDomainGovernancesLifecycleStateEnum
const ( ListDomainGovernancesLifecycleStateCreating ListDomainGovernancesLifecycleStateEnum = "CREATING" ListDomainGovernancesLifecycleStateActive ListDomainGovernancesLifecycleStateEnum = "ACTIVE" ListDomainGovernancesLifecycleStateInactive ListDomainGovernancesLifecycleStateEnum = "INACTIVE" ListDomainGovernancesLifecycleStateUpdating ListDomainGovernancesLifecycleStateEnum = "UPDATING" ListDomainGovernancesLifecycleStateFailed ListDomainGovernancesLifecycleStateEnum = "FAILED" ListDomainGovernancesLifecycleStateTerminated ListDomainGovernancesLifecycleStateEnum = "TERMINATED" )
func GetListDomainGovernancesLifecycleStateEnumValues() []ListDomainGovernancesLifecycleStateEnum
GetListDomainGovernancesLifecycleStateEnumValues Enumerates the set of values for ListDomainGovernancesLifecycleStateEnum
ListDomainGovernancesRequest wrapper for the ListDomainGovernances operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListDomainGovernances.go.html to see an example of how to use ListDomainGovernancesRequest.
type ListDomainGovernancesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The domain OCID. DomainId *string `mandatory:"false" contributesTo:"query" name:"domainId"` // The domain governance OCID. DomainGovernanceId *string `mandatory:"false" contributesTo:"query" name:"domainGovernanceId"` // The lifecycle state of the resource. LifecycleState ListDomainGovernancesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that exactly match the name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order can be provided. // * The default order for timeCreated is descending. // * The default order for displayName is ascending. // * If no value is specified, timeCreated is the default. SortBy ListDomainGovernancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, whether 'asc' or 'desc'. SortOrder ListDomainGovernancesSortOrderEnum `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 ListDomainGovernancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDomainGovernancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDomainGovernancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDomainGovernancesRequest) String() string
ListDomainGovernancesResponse wrapper for the ListDomainGovernances operation
type ListDomainGovernancesResponse struct { // The underlying http response RawResponse *http.Response // A list of DomainGovernanceCollection instances DomainGovernanceCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListDomainGovernancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDomainGovernancesResponse) String() string
ListDomainGovernancesSortByEnum Enum with underlying type: string
type ListDomainGovernancesSortByEnum string
Set of constants representing the allowable values for ListDomainGovernancesSortByEnum
const ( ListDomainGovernancesSortByTimecreated ListDomainGovernancesSortByEnum = "timeCreated" ListDomainGovernancesSortByDisplayname ListDomainGovernancesSortByEnum = "displayName" )
func GetListDomainGovernancesSortByEnumValues() []ListDomainGovernancesSortByEnum
GetListDomainGovernancesSortByEnumValues Enumerates the set of values for ListDomainGovernancesSortByEnum
ListDomainGovernancesSortOrderEnum Enum with underlying type: string
type ListDomainGovernancesSortOrderEnum string
Set of constants representing the allowable values for ListDomainGovernancesSortOrderEnum
const ( ListDomainGovernancesSortOrderAsc ListDomainGovernancesSortOrderEnum = "ASC" ListDomainGovernancesSortOrderDesc ListDomainGovernancesSortOrderEnum = "DESC" )
func GetListDomainGovernancesSortOrderEnumValues() []ListDomainGovernancesSortOrderEnum
GetListDomainGovernancesSortOrderEnumValues Enumerates the set of values for ListDomainGovernancesSortOrderEnum
ListDomainsLifecycleStateEnum Enum with underlying type: string
type ListDomainsLifecycleStateEnum string
Set of constants representing the allowable values for ListDomainsLifecycleStateEnum
const ( ListDomainsLifecycleStateCreating ListDomainsLifecycleStateEnum = "CREATING" ListDomainsLifecycleStateActive ListDomainsLifecycleStateEnum = "ACTIVE" ListDomainsLifecycleStateInactive ListDomainsLifecycleStateEnum = "INACTIVE" ListDomainsLifecycleStateUpdating ListDomainsLifecycleStateEnum = "UPDATING" ListDomainsLifecycleStateFailed ListDomainsLifecycleStateEnum = "FAILED" ListDomainsLifecycleStateTerminated ListDomainsLifecycleStateEnum = "TERMINATED" )
func GetListDomainsLifecycleStateEnumValues() []ListDomainsLifecycleStateEnum
GetListDomainsLifecycleStateEnumValues Enumerates the set of values for ListDomainsLifecycleStateEnum
ListDomainsRequest wrapper for the ListDomains operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListDomains.go.html to see an example of how to use ListDomainsRequest.
type ListDomainsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The domain OCID. DomainId *string `mandatory:"false" contributesTo:"query" name:"domainId"` // The lifecycle state of the resource. LifecycleState ListDomainsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The status of the domain. Status DomainStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // A filter to return only resources that exactly match the name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order can be provided. // * The default order for timeCreated is descending. // * The default order for displayName is ascending. // * If no value is specified, timeCreated is the default. SortBy ListDomainsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, whether 'asc' or 'desc'. SortOrder ListDomainsSortOrderEnum `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 ListDomainsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDomainsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDomainsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDomainsRequest) String() string
ListDomainsResponse wrapper for the ListDomains operation
type ListDomainsResponse struct { // The underlying http response RawResponse *http.Response // A list of DomainCollection instances DomainCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListDomainsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDomainsResponse) String() string
ListDomainsSortByEnum Enum with underlying type: string
type ListDomainsSortByEnum string
Set of constants representing the allowable values for ListDomainsSortByEnum
const ( ListDomainsSortByTimecreated ListDomainsSortByEnum = "timeCreated" ListDomainsSortByDisplayname ListDomainsSortByEnum = "displayName" )
func GetListDomainsSortByEnumValues() []ListDomainsSortByEnum
GetListDomainsSortByEnumValues Enumerates the set of values for ListDomainsSortByEnum
ListDomainsSortOrderEnum Enum with underlying type: string
type ListDomainsSortOrderEnum string
Set of constants representing the allowable values for ListDomainsSortOrderEnum
const ( ListDomainsSortOrderAsc ListDomainsSortOrderEnum = "ASC" ListDomainsSortOrderDesc ListDomainsSortOrderEnum = "DESC" )
func GetListDomainsSortOrderEnumValues() []ListDomainsSortOrderEnum
GetListDomainsSortOrderEnumValues Enumerates the set of values for ListDomainsSortOrderEnum
ListLinksLifecycleStateEnum Enum with underlying type: string
type ListLinksLifecycleStateEnum string
Set of constants representing the allowable values for ListLinksLifecycleStateEnum
const ( ListLinksLifecycleStateCreating ListLinksLifecycleStateEnum = "CREATING" ListLinksLifecycleStateActive ListLinksLifecycleStateEnum = "ACTIVE" ListLinksLifecycleStateInactive ListLinksLifecycleStateEnum = "INACTIVE" ListLinksLifecycleStateUpdating ListLinksLifecycleStateEnum = "UPDATING" ListLinksLifecycleStateFailed ListLinksLifecycleStateEnum = "FAILED" ListLinksLifecycleStateTerminated ListLinksLifecycleStateEnum = "TERMINATED" )
func GetListLinksLifecycleStateEnumValues() []ListLinksLifecycleStateEnum
GetListLinksLifecycleStateEnumValues Enumerates the set of values for ListLinksLifecycleStateEnum
ListLinksRequest wrapper for the ListLinks operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListLinks.go.html to see an example of how to use ListLinksRequest.
type ListLinksRequest struct { // The ID of the parent tenancy this link is associated with. ParentTenancyId *string `mandatory:"false" contributesTo:"query" name:"parentTenancyId"` // The ID of the child tenancy this link is associated with. ChildTenancyId *string `mandatory:"false" contributesTo:"query" name:"childTenancyId"` // The lifecycle state of the resource. LifecycleState ListLinksLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, whether 'asc' or 'desc'. SortOrder ListLinksSortOrderEnum `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 ListLinksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListLinksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLinksRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLinksRequest) String() string
ListLinksResponse wrapper for the ListLinks operation
type ListLinksResponse struct { // The underlying http response RawResponse *http.Response // A list of LinkCollection instances LinkCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListLinksResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLinksResponse) String() string
ListLinksSortOrderEnum Enum with underlying type: string
type ListLinksSortOrderEnum string
Set of constants representing the allowable values for ListLinksSortOrderEnum
const ( ListLinksSortOrderAsc ListLinksSortOrderEnum = "ASC" ListLinksSortOrderDesc ListLinksSortOrderEnum = "DESC" )
func GetListLinksSortOrderEnumValues() []ListLinksSortOrderEnum
GetListLinksSortOrderEnumValues Enumerates the set of values for ListLinksSortOrderEnum
ListRecipientInvitationsLifecycleStateEnum Enum with underlying type: string
type ListRecipientInvitationsLifecycleStateEnum string
Set of constants representing the allowable values for ListRecipientInvitationsLifecycleStateEnum
const ( ListRecipientInvitationsLifecycleStateCreating ListRecipientInvitationsLifecycleStateEnum = "CREATING" ListRecipientInvitationsLifecycleStateActive ListRecipientInvitationsLifecycleStateEnum = "ACTIVE" ListRecipientInvitationsLifecycleStateInactive ListRecipientInvitationsLifecycleStateEnum = "INACTIVE" ListRecipientInvitationsLifecycleStateUpdating ListRecipientInvitationsLifecycleStateEnum = "UPDATING" ListRecipientInvitationsLifecycleStateFailed ListRecipientInvitationsLifecycleStateEnum = "FAILED" ListRecipientInvitationsLifecycleStateTerminated ListRecipientInvitationsLifecycleStateEnum = "TERMINATED" )
func GetListRecipientInvitationsLifecycleStateEnumValues() []ListRecipientInvitationsLifecycleStateEnum
GetListRecipientInvitationsLifecycleStateEnumValues Enumerates the set of values for ListRecipientInvitationsLifecycleStateEnum
ListRecipientInvitationsRequest wrapper for the ListRecipientInvitations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListRecipientInvitations.go.html to see an example of how to use ListRecipientInvitationsRequest.
type ListRecipientInvitationsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The tenancy that sent the invitation. SenderTenancyId *string `mandatory:"false" contributesTo:"query" name:"senderTenancyId"` // The lifecycle state of the resource. LifecycleState ListRecipientInvitationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The status of the recipient invitation. Status ListRecipientInvitationsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // 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 ListRecipientInvitationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListRecipientInvitationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRecipientInvitationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRecipientInvitationsRequest) String() string
ListRecipientInvitationsResponse wrapper for the ListRecipientInvitations operation
type ListRecipientInvitationsResponse struct { // The underlying http response RawResponse *http.Response // A list of RecipientInvitationCollection instances RecipientInvitationCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListRecipientInvitationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRecipientInvitationsResponse) String() string
ListRecipientInvitationsStatusEnum Enum with underlying type: string
type ListRecipientInvitationsStatusEnum string
Set of constants representing the allowable values for ListRecipientInvitationsStatusEnum
const ( ListRecipientInvitationsStatusPending ListRecipientInvitationsStatusEnum = "PENDING" ListRecipientInvitationsStatusCanceled ListRecipientInvitationsStatusEnum = "CANCELED" ListRecipientInvitationsStatusAccepted ListRecipientInvitationsStatusEnum = "ACCEPTED" ListRecipientInvitationsStatusIgnored ListRecipientInvitationsStatusEnum = "IGNORED" ListRecipientInvitationsStatusExpired ListRecipientInvitationsStatusEnum = "EXPIRED" ListRecipientInvitationsStatusFailed ListRecipientInvitationsStatusEnum = "FAILED" )
func GetListRecipientInvitationsStatusEnumValues() []ListRecipientInvitationsStatusEnum
GetListRecipientInvitationsStatusEnumValues Enumerates the set of values for ListRecipientInvitationsStatusEnum
ListSenderInvitationsLifecycleStateEnum Enum with underlying type: string
type ListSenderInvitationsLifecycleStateEnum string
Set of constants representing the allowable values for ListSenderInvitationsLifecycleStateEnum
const ( ListSenderInvitationsLifecycleStateCreating ListSenderInvitationsLifecycleStateEnum = "CREATING" ListSenderInvitationsLifecycleStateActive ListSenderInvitationsLifecycleStateEnum = "ACTIVE" ListSenderInvitationsLifecycleStateInactive ListSenderInvitationsLifecycleStateEnum = "INACTIVE" ListSenderInvitationsLifecycleStateUpdating ListSenderInvitationsLifecycleStateEnum = "UPDATING" ListSenderInvitationsLifecycleStateFailed ListSenderInvitationsLifecycleStateEnum = "FAILED" ListSenderInvitationsLifecycleStateTerminated ListSenderInvitationsLifecycleStateEnum = "TERMINATED" )
func GetListSenderInvitationsLifecycleStateEnumValues() []ListSenderInvitationsLifecycleStateEnum
GetListSenderInvitationsLifecycleStateEnumValues Enumerates the set of values for ListSenderInvitationsLifecycleStateEnum
ListSenderInvitationsRequest wrapper for the ListSenderInvitations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListSenderInvitations.go.html to see an example of how to use ListSenderInvitationsRequest.
type ListSenderInvitationsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The tenancy that the invitation is addressed to. RecipientTenancyId *string `mandatory:"false" contributesTo:"query" name:"recipientTenancyId"` // The lifecycle state of the resource. LifecycleState ListSenderInvitationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The status of the sender invitation. Status ListSenderInvitationsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order can be provided. // * The default order for timeCreated is descending. // * The default order for displayName is ascending. // * If no value is specified, timeCreated is the default. SortBy ListSenderInvitationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, whether 'asc' or 'desc'. SortOrder ListSenderInvitationsSortOrderEnum `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 ListSenderInvitationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSenderInvitationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSenderInvitationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSenderInvitationsRequest) String() string
ListSenderInvitationsResponse wrapper for the ListSenderInvitations operation
type ListSenderInvitationsResponse struct { // The underlying http response RawResponse *http.Response // A list of SenderInvitationCollection instances SenderInvitationCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListSenderInvitationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSenderInvitationsResponse) String() string
ListSenderInvitationsSortByEnum Enum with underlying type: string
type ListSenderInvitationsSortByEnum string
Set of constants representing the allowable values for ListSenderInvitationsSortByEnum
const ( ListSenderInvitationsSortByTimecreated ListSenderInvitationsSortByEnum = "timeCreated" ListSenderInvitationsSortByDisplayname ListSenderInvitationsSortByEnum = "displayName" )
func GetListSenderInvitationsSortByEnumValues() []ListSenderInvitationsSortByEnum
GetListSenderInvitationsSortByEnumValues Enumerates the set of values for ListSenderInvitationsSortByEnum
ListSenderInvitationsSortOrderEnum Enum with underlying type: string
type ListSenderInvitationsSortOrderEnum string
Set of constants representing the allowable values for ListSenderInvitationsSortOrderEnum
const ( ListSenderInvitationsSortOrderAsc ListSenderInvitationsSortOrderEnum = "ASC" ListSenderInvitationsSortOrderDesc ListSenderInvitationsSortOrderEnum = "DESC" )
func GetListSenderInvitationsSortOrderEnumValues() []ListSenderInvitationsSortOrderEnum
GetListSenderInvitationsSortOrderEnumValues Enumerates the set of values for ListSenderInvitationsSortOrderEnum
ListSenderInvitationsStatusEnum Enum with underlying type: string
type ListSenderInvitationsStatusEnum string
Set of constants representing the allowable values for ListSenderInvitationsStatusEnum
const ( ListSenderInvitationsStatusPending ListSenderInvitationsStatusEnum = "PENDING" ListSenderInvitationsStatusCanceled ListSenderInvitationsStatusEnum = "CANCELED" ListSenderInvitationsStatusAccepted ListSenderInvitationsStatusEnum = "ACCEPTED" ListSenderInvitationsStatusExpired ListSenderInvitationsStatusEnum = "EXPIRED" ListSenderInvitationsStatusFailed ListSenderInvitationsStatusEnum = "FAILED" )
func GetListSenderInvitationsStatusEnumValues() []ListSenderInvitationsStatusEnum
GetListSenderInvitationsStatusEnumValues Enumerates the set of values for ListSenderInvitationsStatusEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, whether 'asc' or 'desc'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, whether 'asc' or 'desc'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, whether 'asc' or 'desc'. SortOrder ListWorkRequestsSortOrderEnum `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 ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestCollection instances WorkRequestCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeCreateSenderInvitation OperationTypeEnum = "CREATE_SENDER_INVITATION" OperationTypeAcceptRecipientInvitation OperationTypeEnum = "ACCEPT_RECIPIENT_INVITATION" OperationTypeCancelSenderInvitation OperationTypeEnum = "CANCEL_SENDER_INVITATION" )
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
RecipientInvitation The invitation model that the recipient owns.
type RecipientInvitation struct { // OCID of the recipient invitation. Id *string `mandatory:"true" json:"id"` // OCID of the recipient tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCID of the corresponding sender invitation. SenderInvitationId *string `mandatory:"true" json:"senderInvitationId"` // OCID of the sender tenancy. SenderTenancyId *string `mandatory:"true" json:"senderTenancyId"` // Lifecycle state of the recipient invitation. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Status of the recipient invitation. Status RecipientInvitationStatusEnum `mandatory:"true" json:"status"` // Date-time when this recipient invitation was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // A user-created name to describe the invitation. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Date-time when this recipient invitation was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Email address of the recipient. RecipientEmailAddress *string `mandatory:"false" json:"recipientEmailAddress"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m RecipientInvitation) String() string
RecipientInvitationClient a client for RecipientInvitation
type RecipientInvitationClient struct { common.BaseClient // contains filtered or unexported fields }
func NewRecipientInvitationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client RecipientInvitationClient, err error)
NewRecipientInvitationClientWithConfigurationProvider Creates a new default RecipientInvitation client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewRecipientInvitationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client RecipientInvitationClient, err error)
NewRecipientInvitationClientWithOboToken Creates a new default RecipientInvitation 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 RecipientInvitationClient) AcceptRecipientInvitation(ctx context.Context, request AcceptRecipientInvitationRequest) (response AcceptRecipientInvitationResponse, err error)
AcceptRecipientInvitation Accepts a recipient invitation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/AcceptRecipientInvitation.go.html to see an example of how to use AcceptRecipientInvitation API.
func (client *RecipientInvitationClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client RecipientInvitationClient) GetRecipientInvitation(ctx context.Context, request GetRecipientInvitationRequest) (response GetRecipientInvitationResponse, err error)
GetRecipientInvitation Gets information about the recipient invitation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetRecipientInvitation.go.html to see an example of how to use GetRecipientInvitation API.
func (client RecipientInvitationClient) IgnoreRecipientInvitation(ctx context.Context, request IgnoreRecipientInvitationRequest) (response IgnoreRecipientInvitationResponse, err error)
IgnoreRecipientInvitation Ignores a recipient invitation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/IgnoreRecipientInvitation.go.html to see an example of how to use IgnoreRecipientInvitation API.
func (client RecipientInvitationClient) ListRecipientInvitations(ctx context.Context, request ListRecipientInvitationsRequest) (response ListRecipientInvitationsResponse, err error)
ListRecipientInvitations Return a (paginated) list of recipient invitations.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListRecipientInvitations.go.html to see an example of how to use ListRecipientInvitations API.
func (client *RecipientInvitationClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client RecipientInvitationClient) UpdateRecipientInvitation(ctx context.Context, request UpdateRecipientInvitationRequest) (response UpdateRecipientInvitationResponse, err error)
UpdateRecipientInvitation Updates the RecipientInvitation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/UpdateRecipientInvitation.go.html to see an example of how to use UpdateRecipientInvitation API.
RecipientInvitationCollection Result of a query request for a list of recipient invitations. Contains RecipientInvitationSummary items.
type RecipientInvitationCollection struct { // Array containing RecipientInvitationSummary items. Items []RecipientInvitationSummary `mandatory:"true" json:"items"` }
func (m RecipientInvitationCollection) String() string
RecipientInvitationStatusEnum Enum with underlying type: string
type RecipientInvitationStatusEnum string
Set of constants representing the allowable values for RecipientInvitationStatusEnum
const ( RecipientInvitationStatusPending RecipientInvitationStatusEnum = "PENDING" RecipientInvitationStatusCanceled RecipientInvitationStatusEnum = "CANCELED" RecipientInvitationStatusAccepted RecipientInvitationStatusEnum = "ACCEPTED" RecipientInvitationStatusIgnored RecipientInvitationStatusEnum = "IGNORED" RecipientInvitationStatusExpired RecipientInvitationStatusEnum = "EXPIRED" RecipientInvitationStatusFailed RecipientInvitationStatusEnum = "FAILED" )
func GetRecipientInvitationStatusEnumValues() []RecipientInvitationStatusEnum
GetRecipientInvitationStatusEnumValues Enumerates the set of values for RecipientInvitationStatusEnum
RecipientInvitationSummary The summary of the invitation model that the recipient owns.
type RecipientInvitationSummary struct { // OCID of the recipient invitation. Id *string `mandatory:"true" json:"id"` // OCID of the recipient tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-created name to describe the invitation. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // OCID of the corresponding sender invitation. SenderInvitationId *string `mandatory:"true" json:"senderInvitationId"` // OCID of the sender tenancy. SenderTenancyId *string `mandatory:"true" json:"senderTenancyId"` // Lifecycle state of the recipient invitation. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Status of the recipient invitation. Status RecipientInvitationStatusEnum `mandatory:"true" json:"status"` // Date-time when this recipient invitation was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date-time when this recipient invitation was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Email address of the recipient. RecipientEmailAddress *string `mandatory:"false" json:"recipientEmailAddress"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m RecipientInvitationSummary) String() string
SenderInvitation The invitation model that the sender owns.
type SenderInvitation struct { // OCID of the sender invitation. Id *string `mandatory:"true" json:"id"` // OCID of the sender tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // OCID of the recipient tenancy. RecipientTenancyId *string `mandatory:"true" json:"recipientTenancyId"` // Lifecycle state of the sender invitation. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Status of the sender invitation. Status SenderInvitationStatusEnum `mandatory:"true" json:"status"` // Date-time when this sender invitation was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // OCID of the corresponding recipient invitation. RecipientInvitationId *string `mandatory:"false" json:"recipientInvitationId"` // A user-created name to describe the invitation. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Date-time when this sender invitation was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Email address of the recipient. RecipientEmailAddress *string `mandatory:"false" json:"recipientEmailAddress"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m SenderInvitation) String() string
SenderInvitationClient a client for SenderInvitation
type SenderInvitationClient struct { common.BaseClient // contains filtered or unexported fields }
func NewSenderInvitationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client SenderInvitationClient, err error)
NewSenderInvitationClientWithConfigurationProvider Creates a new default SenderInvitation client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewSenderInvitationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client SenderInvitationClient, err error)
NewSenderInvitationClientWithOboToken Creates a new default SenderInvitation 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 SenderInvitationClient) CancelSenderInvitation(ctx context.Context, request CancelSenderInvitationRequest) (response CancelSenderInvitationResponse, err error)
CancelSenderInvitation Cancels a sender invitation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/CancelSenderInvitation.go.html to see an example of how to use CancelSenderInvitation API.
func (client *SenderInvitationClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client SenderInvitationClient) CreateSenderInvitation(ctx context.Context, request CreateSenderInvitationRequest) (response CreateSenderInvitationResponse, err error)
CreateSenderInvitation Creates a sender invitation and asynchronously sends the invitation to the recipient.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/CreateSenderInvitation.go.html to see an example of how to use CreateSenderInvitation API.
func (client SenderInvitationClient) GetSenderInvitation(ctx context.Context, request GetSenderInvitationRequest) (response GetSenderInvitationResponse, err error)
GetSenderInvitation Gets information about the sender invitation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetSenderInvitation.go.html to see an example of how to use GetSenderInvitation API.
func (client SenderInvitationClient) ListSenderInvitations(ctx context.Context, request ListSenderInvitationsRequest) (response ListSenderInvitationsResponse, err error)
ListSenderInvitations Return a (paginated) list of sender invitations.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListSenderInvitations.go.html to see an example of how to use ListSenderInvitations API.
func (client *SenderInvitationClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client SenderInvitationClient) UpdateSenderInvitation(ctx context.Context, request UpdateSenderInvitationRequest) (response UpdateSenderInvitationResponse, err error)
UpdateSenderInvitation Updates the SenderInvitation.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/UpdateSenderInvitation.go.html to see an example of how to use UpdateSenderInvitation API.
SenderInvitationCollection Result of a query request for a list of sender invitations. Contains SenderInvitationSummary items.
type SenderInvitationCollection struct { // Array containing SenderInvitationSummary items. Items []SenderInvitationSummary `mandatory:"true" json:"items"` }
func (m SenderInvitationCollection) String() string
SenderInvitationStatusEnum Enum with underlying type: string
type SenderInvitationStatusEnum string
Set of constants representing the allowable values for SenderInvitationStatusEnum
const ( SenderInvitationStatusPending SenderInvitationStatusEnum = "PENDING" SenderInvitationStatusCanceled SenderInvitationStatusEnum = "CANCELED" SenderInvitationStatusAccepted SenderInvitationStatusEnum = "ACCEPTED" SenderInvitationStatusExpired SenderInvitationStatusEnum = "EXPIRED" SenderInvitationStatusFailed SenderInvitationStatusEnum = "FAILED" )
func GetSenderInvitationStatusEnumValues() []SenderInvitationStatusEnum
GetSenderInvitationStatusEnumValues Enumerates the set of values for SenderInvitationStatusEnum
SenderInvitationSummary The summary of the invitation model that the sender owns.
type SenderInvitationSummary struct { // OCID of the sender invitation. Id *string `mandatory:"true" json:"id"` // OCID of the sender tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-created name to describe the invitation. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // OCID of the recipient tenancy. RecipientTenancyId *string `mandatory:"true" json:"recipientTenancyId"` // Lifecycle state of the sender invitation. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Status of the sender invitation. Status SenderInvitationStatusEnum `mandatory:"true" json:"status"` // Date-time when this sender invitation was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // OCID of the corresponding recipient invitation. RecipientInvitationId *string `mandatory:"false" json:"recipientInvitationId"` // Date-time when this sender invitation was last updated. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Email address of the recipient. RecipientEmailAddress *string `mandatory:"false" json:"recipientEmailAddress"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m SenderInvitationSummary) String() string
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 GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
UpdateDomainDetails The parameters for updating a domain.
type UpdateDomainDetails struct { // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDomainDetails) String() string
UpdateDomainGovernanceDetails The parameters for updating a domain govenance entity.
type UpdateDomainGovernanceDetails struct { // The email to notify the user, and that the ONS subscription will be created with. The ONS subscription for the previous email will also be deleted. SubscriptionEmail *string `mandatory:"false" json:"subscriptionEmail"` // Indicates whether governance is enabled for this domain. IsGovernanceEnabled *bool `mandatory:"false" json:"isGovernanceEnabled"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDomainGovernanceDetails) String() string
UpdateDomainGovernanceRequest wrapper for the UpdateDomainGovernance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/UpdateDomainGovernance.go.html to see an example of how to use UpdateDomainGovernanceRequest.
type UpdateDomainGovernanceRequest struct { // The domain governance OCID. DomainGovernanceId *string `mandatory:"true" contributesTo:"path" name:"domainGovernanceId"` // The information to be updated. UpdateDomainGovernanceDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDomainGovernanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDomainGovernanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDomainGovernanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDomainGovernanceRequest) String() string
UpdateDomainGovernanceResponse wrapper for the UpdateDomainGovernance operation
type UpdateDomainGovernanceResponse struct { // The underlying http response RawResponse *http.Response // The DomainGovernance instance DomainGovernance `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateDomainGovernanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDomainGovernanceResponse) String() string
UpdateDomainRequest wrapper for the UpdateDomain operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/UpdateDomain.go.html to see an example of how to use UpdateDomainRequest.
type UpdateDomainRequest struct { // The domain OCID. DomainId *string `mandatory:"true" contributesTo:"path" name:"domainId"` // The information to be updated. UpdateDomainDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDomainRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDomainRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDomainRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDomainRequest) String() string
UpdateDomainResponse wrapper for the UpdateDomain operation
type UpdateDomainResponse struct { // The underlying http response RawResponse *http.Response // The Domain instance Domain `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateDomainResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDomainResponse) String() string
UpdateRecipientInvitationDetails The parameters for updating a recipient invitation.
type UpdateRecipientInvitationDetails struct { // A user-created name to describe the invitation. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateRecipientInvitationDetails) String() string
UpdateRecipientInvitationRequest wrapper for the UpdateRecipientInvitation operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/UpdateRecipientInvitation.go.html to see an example of how to use UpdateRecipientInvitationRequest.
type UpdateRecipientInvitationRequest struct { // OCID of the recipient invitation to update. RecipientInvitationId *string `mandatory:"true" contributesTo:"path" name:"recipientInvitationId"` // The information to be updated. UpdateRecipientInvitationDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateRecipientInvitationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateRecipientInvitationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateRecipientInvitationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateRecipientInvitationRequest) String() string
UpdateRecipientInvitationResponse wrapper for the UpdateRecipientInvitation operation
type UpdateRecipientInvitationResponse struct { // The underlying http response RawResponse *http.Response // The RecipientInvitation instance RecipientInvitation `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateRecipientInvitationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateRecipientInvitationResponse) String() string
UpdateSenderInvitationDetails The parameters for updating a sender invitation.
type UpdateSenderInvitationDetails struct { // A user-created name to describe the invitation. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateSenderInvitationDetails) String() string
UpdateSenderInvitationRequest wrapper for the UpdateSenderInvitation operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/UpdateSenderInvitation.go.html to see an example of how to use UpdateSenderInvitationRequest.
type UpdateSenderInvitationRequest struct { // OCID of the sender invitation to update. SenderInvitationId *string `mandatory:"true" contributesTo:"path" name:"senderInvitationId"` // The information to be updated. UpdateSenderInvitationDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateSenderInvitationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateSenderInvitationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateSenderInvitationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateSenderInvitationRequest) String() string
UpdateSenderInvitationResponse wrapper for the UpdateSenderInvitation operation
type UpdateSenderInvitationResponse struct { // The underlying http response RawResponse *http.Response // The SenderInvitation instance SenderInvitation `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateSenderInvitationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateSenderInvitationResponse) String() string
WorkRequest A description of work request status.
type WorkRequest struct { // Type of the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The ID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestClient a client for WorkRequest
type WorkRequestClient struct { common.BaseClient // contains filtered or unexported fields }
func NewWorkRequestClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client WorkRequestClient, err error)
NewWorkRequestClientWithConfigurationProvider Creates a new default WorkRequest client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewWorkRequestClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client WorkRequestClient, err error)
NewWorkRequestClientWithOboToken Creates a new default WorkRequest 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 *WorkRequestClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client WorkRequestClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client WorkRequestClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return a (paginated) list of errors for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client WorkRequestClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a (paginated) list of logs for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client WorkRequestClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/40.2.0/tenantmanagercontrolplane/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *WorkRequestClient) SetRegion(region string)
SetRegion overrides the region of this client.
WorkRequestCollection Result of a query request for a list of work requests. Contains WorkRequestSummary items.
type WorkRequestCollection struct { // Array containing WorkRequestSummary items. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestCollection) String() string
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed in // API Errors (https://docs.cloud.oracle.com/iaas/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339-formatted date and time string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestErrorCollection Result of a query request for a list of work request errors. Contains WorkRequestError items.
type WorkRequestErrorCollection struct { // Array containing WorkRequestError items. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339-formatted date and time string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestLogEntryCollection Result of a query request for a list of work request log entries. Contains WorkRequestLogEntry items.
type WorkRequestLogEntryCollection struct { // Array containing WorkRequestLogEntry items. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource, at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
WorkRequestSummary A summary of work request status.
type WorkRequestSummary struct { // Type of the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The ID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string