Documentation ¶
Index ¶
- type ErrorEntity
- type GetServiceEnvironmentRequest
- func (request GetServiceEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetServiceEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetServiceEnvironmentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetServiceEnvironmentRequest) String() string
- type GetServiceEnvironmentResponse
- type ListServiceEnvironmentsRequest
- func (request ListServiceEnvironmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListServiceEnvironmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListServiceEnvironmentsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListServiceEnvironmentsRequest) String() string
- type ListServiceEnvironmentsResponse
- type ListServiceEnvironmentsSortByEnum
- type ListServiceEnvironmentsSortOrderEnum
- type ServiceDefinition
- type ServiceEntitlementRegistrationStatusEnum
- type ServiceEnvironment
- type ServiceEnvironmentCollection
- type ServiceEnvironmentEndPointOverview
- type ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum
- type ServiceEnvironmentSummary
- type ServiceManagerProxyClient
- func NewServiceManagerProxyClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ServiceManagerProxyClient, err error)
- func NewServiceManagerProxyClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ServiceManagerProxyClient, err error)
- func (client *ServiceManagerProxyClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client ServiceManagerProxyClient) GetServiceEnvironment(ctx context.Context, request GetServiceEnvironmentRequest) (response GetServiceEnvironmentResponse, err error)
- func (client ServiceManagerProxyClient) ListServiceEnvironments(ctx context.Context, request ListServiceEnvironmentsRequest) (response ListServiceEnvironmentsResponse, err error)
- func (client *ServiceManagerProxyClient) SetRegion(region string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorEntity ¶
type ErrorEntity struct { // A short error code that defines the error. Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` }
ErrorEntity The model for the error entity.
func (ErrorEntity) String ¶
func (m ErrorEntity) String() string
type GetServiceEnvironmentRequest ¶
type GetServiceEnvironmentRequest struct { // The Id associated with the service environment. ServiceEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"serviceEnvironmentId"` // The unique identifier for the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, // please provide the request ID. 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 }
GetServiceEnvironmentRequest wrapper for the GetServiceEnvironment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/servicemanagerproxy/GetServiceEnvironment.go.html to see an example of how to use GetServiceEnvironmentRequest.
func (GetServiceEnvironmentRequest) BinaryRequestBody ¶
func (request GetServiceEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetServiceEnvironmentRequest) HTTPRequest ¶
func (request GetServiceEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetServiceEnvironmentRequest) RetryPolicy ¶
func (request GetServiceEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetServiceEnvironmentRequest) String ¶
func (request GetServiceEnvironmentRequest) String() string
type GetServiceEnvironmentResponse ¶
type GetServiceEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The ServiceEnvironment instance ServiceEnvironment `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"` }
GetServiceEnvironmentResponse wrapper for the GetServiceEnvironment operation
func (GetServiceEnvironmentResponse) HTTPResponse ¶
func (response GetServiceEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetServiceEnvironmentResponse) String ¶
func (response GetServiceEnvironmentResponse) String() string
type ListServiceEnvironmentsRequest ¶
type ListServiceEnvironmentsRequest struct { // The unique identifier for the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The Id associated with the service environment. ServiceEnvironmentId *string `mandatory:"false" contributesTo:"query" name:"serviceEnvironmentId"` // The service definition type of the environment. ServiceEnvironmentType *string `mandatory:"false" contributesTo:"query" name:"serviceEnvironmentType"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, // please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. Only one sort order may be provided. ID is default ordered as ascending. SortBy ListServiceEnvironmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either `ASC` or `DESC`. SortOrder ListServiceEnvironmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The display name of the resource. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // 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 }
ListServiceEnvironmentsRequest wrapper for the ListServiceEnvironments operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/servicemanagerproxy/ListServiceEnvironments.go.html to see an example of how to use ListServiceEnvironmentsRequest.
func (ListServiceEnvironmentsRequest) BinaryRequestBody ¶
func (request ListServiceEnvironmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListServiceEnvironmentsRequest) HTTPRequest ¶
func (request ListServiceEnvironmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListServiceEnvironmentsRequest) RetryPolicy ¶
func (request ListServiceEnvironmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListServiceEnvironmentsRequest) String ¶
func (request ListServiceEnvironmentsRequest) String() string
type ListServiceEnvironmentsResponse ¶
type ListServiceEnvironmentsResponse struct { // The underlying http response RawResponse *http.Response // A list of ServiceEnvironmentCollection instances ServiceEnvironmentCollection `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"` }
ListServiceEnvironmentsResponse wrapper for the ListServiceEnvironments operation
func (ListServiceEnvironmentsResponse) HTTPResponse ¶
func (response ListServiceEnvironmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListServiceEnvironmentsResponse) String ¶
func (response ListServiceEnvironmentsResponse) String() string
type ListServiceEnvironmentsSortByEnum ¶
type ListServiceEnvironmentsSortByEnum string
ListServiceEnvironmentsSortByEnum Enum with underlying type: string
const (
ListServiceEnvironmentsSortById ListServiceEnvironmentsSortByEnum = "ID"
)
Set of constants representing the allowable values for ListServiceEnvironmentsSortByEnum
func GetListServiceEnvironmentsSortByEnumValues ¶
func GetListServiceEnvironmentsSortByEnumValues() []ListServiceEnvironmentsSortByEnum
GetListServiceEnvironmentsSortByEnumValues Enumerates the set of values for ListServiceEnvironmentsSortByEnum
type ListServiceEnvironmentsSortOrderEnum ¶
type ListServiceEnvironmentsSortOrderEnum string
ListServiceEnvironmentsSortOrderEnum Enum with underlying type: string
const ( ListServiceEnvironmentsSortOrderAsc ListServiceEnvironmentsSortOrderEnum = "ASC" ListServiceEnvironmentsSortOrderDesc ListServiceEnvironmentsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListServiceEnvironmentsSortOrderEnum
func GetListServiceEnvironmentsSortOrderEnumValues ¶
func GetListServiceEnvironmentsSortOrderEnumValues() []ListServiceEnvironmentsSortOrderEnum
GetListServiceEnvironmentsSortOrderEnumValues Enumerates the set of values for ListServiceEnvironmentsSortOrderEnum
type ServiceDefinition ¶
type ServiceDefinition struct { // The service definition type. Type *string `mandatory:"true" json:"type"` // Display name of the service. DisplayName *string `mandatory:"true" json:"displayName"` // Short display name of the service. ShortDisplayName *string `mandatory:"true" json:"shortDisplayName"` }
ServiceDefinition Model for details associated with service
func (ServiceDefinition) String ¶
func (m ServiceDefinition) String() string
type ServiceEntitlementRegistrationStatusEnum ¶
type ServiceEntitlementRegistrationStatusEnum string
ServiceEntitlementRegistrationStatusEnum Enum with underlying type: string
const ( ServiceEntitlementRegistrationStatusInitialized ServiceEntitlementRegistrationStatusEnum = "INITIALIZED" ServiceEntitlementRegistrationStatusBeginActivation ServiceEntitlementRegistrationStatusEnum = "BEGIN_ACTIVATION" ServiceEntitlementRegistrationStatusActive ServiceEntitlementRegistrationStatusEnum = "ACTIVE" ServiceEntitlementRegistrationStatusBeginSoftTermination ServiceEntitlementRegistrationStatusEnum = "BEGIN_SOFT_TERMINATION" ServiceEntitlementRegistrationStatusSoftTerminated ServiceEntitlementRegistrationStatusEnum = "SOFT_TERMINATED" ServiceEntitlementRegistrationStatusBeginTermination ServiceEntitlementRegistrationStatusEnum = "BEGIN_TERMINATION" ServiceEntitlementRegistrationStatusCanceled ServiceEntitlementRegistrationStatusEnum = "CANCELED" ServiceEntitlementRegistrationStatusTerminated ServiceEntitlementRegistrationStatusEnum = "TERMINATED" ServiceEntitlementRegistrationStatusBeginDisabling ServiceEntitlementRegistrationStatusEnum = "BEGIN_DISABLING" ServiceEntitlementRegistrationStatusBeginEnabling ServiceEntitlementRegistrationStatusEnum = "BEGIN_ENABLING" ServiceEntitlementRegistrationStatusBeginMigration ServiceEntitlementRegistrationStatusEnum = "BEGIN_MIGRATION" ServiceEntitlementRegistrationStatusDisabled ServiceEntitlementRegistrationStatusEnum = "DISABLED" ServiceEntitlementRegistrationStatusBeginSuspension ServiceEntitlementRegistrationStatusEnum = "BEGIN_SUSPENSION" ServiceEntitlementRegistrationStatusBeginResumption ServiceEntitlementRegistrationStatusEnum = "BEGIN_RESUMPTION" ServiceEntitlementRegistrationStatusSuspended ServiceEntitlementRegistrationStatusEnum = "SUSPENDED" ServiceEntitlementRegistrationStatusBeginLockRelocation ServiceEntitlementRegistrationStatusEnum = "BEGIN_LOCK_RELOCATION" ServiceEntitlementRegistrationStatusLockedRelocation ServiceEntitlementRegistrationStatusEnum = "LOCKED_RELOCATION" ServiceEntitlementRegistrationStatusBeginRelocation ServiceEntitlementRegistrationStatusEnum = "BEGIN_RELOCATION" ServiceEntitlementRegistrationStatusRelocated ServiceEntitlementRegistrationStatusEnum = "RELOCATED" ServiceEntitlementRegistrationStatusBeginUnlockRelocation ServiceEntitlementRegistrationStatusEnum = "BEGIN_UNLOCK_RELOCATION" ServiceEntitlementRegistrationStatusUnlockedRelocation ServiceEntitlementRegistrationStatusEnum = "UNLOCKED_RELOCATION" ServiceEntitlementRegistrationStatusFailedLockRelocation ServiceEntitlementRegistrationStatusEnum = "FAILED_LOCK_RELOCATION" ServiceEntitlementRegistrationStatusFailedActivation ServiceEntitlementRegistrationStatusEnum = "FAILED_ACTIVATION" ServiceEntitlementRegistrationStatusFailedMigration ServiceEntitlementRegistrationStatusEnum = "FAILED_MIGRATION" ServiceEntitlementRegistrationStatusAccessDisabled ServiceEntitlementRegistrationStatusEnum = "ACCESS_DISABLED" ServiceEntitlementRegistrationStatusBeginDisablingAccess ServiceEntitlementRegistrationStatusEnum = "BEGIN_DISABLING_ACCESS" ServiceEntitlementRegistrationStatusBeginEnablingAccess ServiceEntitlementRegistrationStatusEnum = "BEGIN_ENABLING_ACCESS" ServiceEntitlementRegistrationStatusTraUnknown ServiceEntitlementRegistrationStatusEnum = "TRA_UNKNOWN" )
Set of constants representing the allowable values for ServiceEntitlementRegistrationStatusEnum
func GetServiceEntitlementRegistrationStatusEnumValues ¶
func GetServiceEntitlementRegistrationStatusEnumValues() []ServiceEntitlementRegistrationStatusEnum
GetServiceEntitlementRegistrationStatusEnumValues Enumerates the set of values for ServiceEntitlementRegistrationStatusEnum
type ServiceEnvironment ¶
type ServiceEnvironment struct { // Unqiue identifier for the entitlement related to the environment. Id *string `mandatory:"true" json:"id"` // The subscription Id corresponding to the service environment Id. SubscriptionId *string `mandatory:"true" json:"subscriptionId"` // Status of the entitlement registration for the service. Status ServiceEntitlementRegistrationStatusEnum `mandatory:"true" json:"status"` // Compartment Id associated with the service. CompartmentId *string `mandatory:"true" json:"compartmentId"` ServiceDefinition *ServiceDefinition `mandatory:"true" json:"serviceDefinition"` // The URL for the console. ConsoleUrl *string `mandatory:"false" json:"consoleUrl"` // Array of service environment end points. ServiceEnvironmentEndpoints []ServiceEnvironmentEndPointOverview `mandatory:"false" json:"serviceEnvironmentEndpoints"` }
ServiceEnvironment Model describing service environment properties.
func (ServiceEnvironment) String ¶
func (m ServiceEnvironment) String() string
type ServiceEnvironmentCollection ¶
type ServiceEnvironmentCollection struct { // Collection of items. Items []ServiceEnvironmentSummary `mandatory:"true" json:"items"` }
ServiceEnvironmentCollection Collection of Service environements.
func (ServiceEnvironmentCollection) String ¶
func (m ServiceEnvironmentCollection) String() string
type ServiceEnvironmentEndPointOverview ¶
type ServiceEnvironmentEndPointOverview struct { // Service Environemnt EndPoint type. EnvironmentType ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum `mandatory:"true" json:"environmentType"` // Service Environemnt Instance EndPoint url. Url *string `mandatory:"true" json:"url"` }
ServiceEnvironmentEndPointOverview Model describing the properties of service environment endPoint overview.
func (ServiceEnvironmentEndPointOverview) String ¶
func (m ServiceEnvironmentEndPointOverview) String() string
type ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum ¶
type ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum string
ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum Enum with underlying type: string
const ( ServiceEnvironmentEndPointOverviewEnvironmentTypeProd ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum = "INSTANCE_URL_PROD" ServiceEnvironmentEndPointOverviewEnvironmentTypeTest ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum = "INSTANCE_URL_TEST" ServiceEnvironmentEndPointOverviewEnvironmentTypeDev ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum = "INSTANCE_URL_DEV" )
Set of constants representing the allowable values for ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum
func GetServiceEnvironmentEndPointOverviewEnvironmentTypeEnumValues ¶
func GetServiceEnvironmentEndPointOverviewEnvironmentTypeEnumValues() []ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum
GetServiceEnvironmentEndPointOverviewEnvironmentTypeEnumValues Enumerates the set of values for ServiceEnvironmentEndPointOverviewEnvironmentTypeEnum
type ServiceEnvironmentSummary ¶
type ServiceEnvironmentSummary struct { // Unqiue identifier for the entitlement related to the environment. Id *string `mandatory:"true" json:"id"` // The subscription Id corresponding to the service environment Id. SubscriptionId *string `mandatory:"true" json:"subscriptionId"` // Status of the entitlement registration for the service. Status ServiceEntitlementRegistrationStatusEnum `mandatory:"true" json:"status"` // Compartment Id associated with the service. CompartmentId *string `mandatory:"true" json:"compartmentId"` ServiceDefinition *ServiceDefinition `mandatory:"true" json:"serviceDefinition"` // The URL for the console. ConsoleUrl *string `mandatory:"false" json:"consoleUrl"` // Array of service environment end points. ServiceEnvironmentEndpoints []ServiceEnvironmentEndPointOverview `mandatory:"false" json:"serviceEnvironmentEndpoints"` // 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"` // 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"` }
ServiceEnvironmentSummary Model describing service environment details.
func (ServiceEnvironmentSummary) String ¶
func (m ServiceEnvironmentSummary) String() string
type ServiceManagerProxyClient ¶
type ServiceManagerProxyClient struct { common.BaseClient // contains filtered or unexported fields }
ServiceManagerProxyClient a client for ServiceManagerProxy
func NewServiceManagerProxyClientWithConfigurationProvider ¶
func NewServiceManagerProxyClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ServiceManagerProxyClient, err error)
NewServiceManagerProxyClientWithConfigurationProvider Creates a new default ServiceManagerProxy client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewServiceManagerProxyClientWithOboToken ¶
func NewServiceManagerProxyClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ServiceManagerProxyClient, err error)
NewServiceManagerProxyClientWithOboToken Creates a new default ServiceManagerProxy 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 (*ServiceManagerProxyClient) ConfigurationProvider ¶
func (client *ServiceManagerProxyClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (ServiceManagerProxyClient) GetServiceEnvironment ¶
func (client ServiceManagerProxyClient) GetServiceEnvironment(ctx context.Context, request GetServiceEnvironmentRequest) (response GetServiceEnvironmentResponse, err error)
GetServiceEnvironment Gets details of the service environment specified by the serviceEnvironmentId.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/servicemanagerproxy/GetServiceEnvironment.go.html to see an example of how to use GetServiceEnvironment API.
func (ServiceManagerProxyClient) ListServiceEnvironments ¶
func (client ServiceManagerProxyClient) ListServiceEnvironments(ctx context.Context, request ListServiceEnvironmentsRequest) (response ListServiceEnvironmentsResponse, err error)
ListServiceEnvironments List details of environments which the service is authorized to view. This includes the service instance endpoints and service definition details.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/servicemanagerproxy/ListServiceEnvironments.go.html to see an example of how to use ListServiceEnvironments API.
func (*ServiceManagerProxyClient) SetRegion ¶
func (client *ServiceManagerProxyClient) SetRegion(region string)
SetRegion overrides the region of this client.
Source Files ¶
- error_entity.go
- get_service_environment_request_response.go
- list_service_environments_request_response.go
- service_definition.go
- service_entitlement_registration_status.go
- service_environment.go
- service_environment_collection.go
- service_environment_end_point_overview.go
- service_environment_summary.go
- servicemanagerproxy_client.go