Documentation ¶
Index ¶
- type ActivateMfaTotpDeviceRequest
- type ActivateMfaTotpDeviceResponse
- type AddUserToGroupDetails
- type AddUserToGroupRequest
- type AddUserToGroupResponse
- type ApiKey
- type ApiKeyLifecycleStateEnum
- type AssembleEffectiveTagSetRequest
- type AssembleEffectiveTagSetResponse
- type AuthToken
- type AuthTokenLifecycleStateEnum
- type AuthenticationPolicy
- type AvailabilityDomain
- type BaseTagDefinitionValidator
- type BaseTagDefinitionValidatorValidatorTypeEnum
- type BulkActionResource
- type BulkActionResourceType
- type BulkActionResourceTypeCollection
- type BulkDeleteResourcesDetails
- type BulkDeleteResourcesRequest
- type BulkDeleteResourcesResponse
- type BulkDeleteTagsDetails
- type BulkDeleteTagsRequest
- type BulkDeleteTagsResponse
- type BulkMoveResourcesDetails
- type BulkMoveResourcesRequest
- type BulkMoveResourcesResponse
- type CascadeDeleteTagNamespaceRequest
- type CascadeDeleteTagNamespaceResponse
- type ChangeTagNamespaceCompartmentDetail
- type ChangeTagNamespaceCompartmentRequest
- type ChangeTagNamespaceCompartmentResponse
- type Compartment
- type CompartmentLifecycleStateEnum
- type CreateApiKeyDetails
- type CreateAuthTokenDetails
- type CreateAuthTokenRequest
- type CreateAuthTokenResponse
- type CreateCompartmentDetails
- type CreateCompartmentRequest
- type CreateCompartmentResponse
- type CreateCustomerSecretKeyDetails
- type CreateCustomerSecretKeyRequest
- type CreateCustomerSecretKeyResponse
- type CreateDynamicGroupDetails
- type CreateDynamicGroupRequest
- type CreateDynamicGroupResponse
- type CreateGroupDetails
- type CreateGroupRequest
- type CreateGroupResponse
- type CreateIdentityProviderDetails
- type CreateIdentityProviderDetailsProductTypeEnum
- type CreateIdentityProviderDetailsProtocolEnum
- type CreateIdentityProviderRequest
- type CreateIdentityProviderResponse
- type CreateIdpGroupMappingDetails
- type CreateIdpGroupMappingRequest
- type CreateIdpGroupMappingResponse
- type CreateMfaTotpDeviceRequest
- type CreateMfaTotpDeviceResponse
- type CreateNetworkSourceDetails
- type CreateNetworkSourceRequest
- type CreateNetworkSourceResponse
- type CreateOAuth2ClientCredentialDetails
- type CreateOAuthClientCredentialRequest
- type CreateOAuthClientCredentialResponse
- type CreateOrResetUIPasswordRequest
- type CreateOrResetUIPasswordResponse
- type CreatePolicyDetails
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreateRegionSubscriptionDetails
- type CreateRegionSubscriptionRequest
- type CreateRegionSubscriptionResponse
- type CreateSaml2IdentityProviderDetails
- func (m CreateSaml2IdentityProviderDetails) GetCompartmentId() *string
- func (m CreateSaml2IdentityProviderDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m CreateSaml2IdentityProviderDetails) GetDescription() *string
- func (m CreateSaml2IdentityProviderDetails) GetFreeformTags() map[string]string
- func (m CreateSaml2IdentityProviderDetails) GetName() *string
- func (m CreateSaml2IdentityProviderDetails) GetProductType() CreateIdentityProviderDetailsProductTypeEnum
- func (m CreateSaml2IdentityProviderDetails) MarshalJSON() (buff []byte, e error)
- func (m CreateSaml2IdentityProviderDetails) String() string
- type CreateSmtpCredentialDetails
- type CreateSmtpCredentialRequest
- type CreateSmtpCredentialResponse
- type CreateSwiftPasswordDetails
- type CreateSwiftPasswordRequest
- type CreateSwiftPasswordResponse
- type CreateTagDefaultDetails
- type CreateTagDefaultRequest
- type CreateTagDefaultResponse
- type CreateTagDetails
- type CreateTagNamespaceDetails
- type CreateTagNamespaceRequest
- type CreateTagNamespaceResponse
- type CreateTagRequest
- type CreateTagResponse
- type CreateUserDetails
- type CreateUserRequest
- type CreateUserResponse
- type CustomerSecretKey
- type CustomerSecretKeyLifecycleStateEnum
- type CustomerSecretKeySummary
- type CustomerSecretKeySummaryLifecycleStateEnum
- type DefaultTagDefinitionValidator
- type DeleteApiKeyRequest
- type DeleteApiKeyResponse
- type DeleteAuthTokenRequest
- type DeleteAuthTokenResponse
- type DeleteCompartmentRequest
- type DeleteCompartmentResponse
- type DeleteCustomerSecretKeyRequest
- type DeleteCustomerSecretKeyResponse
- type DeleteDynamicGroupRequest
- type DeleteDynamicGroupResponse
- type DeleteGroupRequest
- type DeleteGroupResponse
- type DeleteIdentityProviderRequest
- type DeleteIdentityProviderResponse
- type DeleteIdpGroupMappingRequest
- type DeleteIdpGroupMappingResponse
- type DeleteMfaTotpDeviceRequest
- type DeleteMfaTotpDeviceResponse
- type DeleteNetworkSourceRequest
- type DeleteNetworkSourceResponse
- type DeleteOAuthClientCredentialRequest
- type DeleteOAuthClientCredentialResponse
- type DeletePolicyRequest
- type DeletePolicyResponse
- type DeleteSmtpCredentialRequest
- type DeleteSmtpCredentialResponse
- type DeleteSwiftPasswordRequest
- type DeleteSwiftPasswordResponse
- type DeleteTagDefaultRequest
- type DeleteTagDefaultResponse
- type DeleteTagNamespaceRequest
- type DeleteTagNamespaceResponse
- type DeleteTagRequest
- type DeleteTagResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type DynamicGroup
- type DynamicGroupLifecycleStateEnum
- type EnumTagDefinitionValidator
- type FaultDomain
- type FullyQualifiedScope
- type GenerateTotpSeedRequest
- type GenerateTotpSeedResponse
- type GetAuthenticationPolicyRequest
- type GetAuthenticationPolicyResponse
- type GetCompartmentRequest
- type GetCompartmentResponse
- type GetDynamicGroupRequest
- type GetDynamicGroupResponse
- type GetGroupRequest
- type GetGroupResponse
- type GetIdentityProviderRequest
- type GetIdentityProviderResponse
- type GetIdpGroupMappingRequest
- type GetIdpGroupMappingResponse
- type GetMfaTotpDeviceRequest
- type GetMfaTotpDeviceResponse
- type GetNetworkSourceRequest
- type GetNetworkSourceResponse
- type GetPolicyRequest
- type GetPolicyResponse
- type GetTagDefaultRequest
- type GetTagDefaultResponse
- type GetTagNamespaceRequest
- type GetTagNamespaceResponse
- type GetTagRequest
- type GetTagResponse
- type GetTaggingWorkRequestRequest
- type GetTaggingWorkRequestResponse
- type GetTenancyRequest
- type GetTenancyResponse
- type GetUserGroupMembershipRequest
- type GetUserGroupMembershipResponse
- type GetUserRequest
- type GetUserResponse
- type GetUserUIPasswordInformationRequest
- type GetUserUIPasswordInformationResponse
- type GetWorkRequestRequest
- type GetWorkRequestResponse
- type Group
- type GroupLifecycleStateEnum
- type IdentityClient
- func (client IdentityClient) ActivateMfaTotpDevice(ctx context.Context, request ActivateMfaTotpDeviceRequest) (response ActivateMfaTotpDeviceResponse, err error)
- func (client IdentityClient) AddUserToGroup(ctx context.Context, request AddUserToGroupRequest) (response AddUserToGroupResponse, err error)
- func (client IdentityClient) AssembleEffectiveTagSet(ctx context.Context, request AssembleEffectiveTagSetRequest) (response AssembleEffectiveTagSetResponse, err error)
- func (client IdentityClient) BulkDeleteResources(ctx context.Context, request BulkDeleteResourcesRequest) (response BulkDeleteResourcesResponse, err error)
- func (client IdentityClient) BulkDeleteTags(ctx context.Context, request BulkDeleteTagsRequest) (response BulkDeleteTagsResponse, err error)
- func (client IdentityClient) BulkMoveResources(ctx context.Context, request BulkMoveResourcesRequest) (response BulkMoveResourcesResponse, err error)
- func (client IdentityClient) CascadeDeleteTagNamespace(ctx context.Context, request CascadeDeleteTagNamespaceRequest) (response CascadeDeleteTagNamespaceResponse, err error)
- func (client IdentityClient) ChangeTagNamespaceCompartment(ctx context.Context, request ChangeTagNamespaceCompartmentRequest) (response ChangeTagNamespaceCompartmentResponse, err error)
- func (client *IdentityClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client IdentityClient) CreateAuthToken(ctx context.Context, request CreateAuthTokenRequest) (response CreateAuthTokenResponse, err error)
- func (client IdentityClient) CreateCompartment(ctx context.Context, request CreateCompartmentRequest) (response CreateCompartmentResponse, err error)
- func (client IdentityClient) CreateCustomerSecretKey(ctx context.Context, request CreateCustomerSecretKeyRequest) (response CreateCustomerSecretKeyResponse, err error)
- func (client IdentityClient) CreateDynamicGroup(ctx context.Context, request CreateDynamicGroupRequest) (response CreateDynamicGroupResponse, err error)
- func (client IdentityClient) CreateGroup(ctx context.Context, request CreateGroupRequest) (response CreateGroupResponse, err error)
- func (client IdentityClient) CreateIdentityProvider(ctx context.Context, request CreateIdentityProviderRequest) (response CreateIdentityProviderResponse, err error)
- func (client IdentityClient) CreateIdpGroupMapping(ctx context.Context, request CreateIdpGroupMappingRequest) (response CreateIdpGroupMappingResponse, err error)
- func (client IdentityClient) CreateMfaTotpDevice(ctx context.Context, request CreateMfaTotpDeviceRequest) (response CreateMfaTotpDeviceResponse, err error)
- func (client IdentityClient) CreateNetworkSource(ctx context.Context, request CreateNetworkSourceRequest) (response CreateNetworkSourceResponse, err error)
- func (client IdentityClient) CreateOAuthClientCredential(ctx context.Context, request CreateOAuthClientCredentialRequest) (response CreateOAuthClientCredentialResponse, err error)
- func (client IdentityClient) CreateOrResetUIPassword(ctx context.Context, request CreateOrResetUIPasswordRequest) (response CreateOrResetUIPasswordResponse, err error)
- func (client IdentityClient) CreatePolicy(ctx context.Context, request CreatePolicyRequest) (response CreatePolicyResponse, err error)
- func (client IdentityClient) CreateRegionSubscription(ctx context.Context, request CreateRegionSubscriptionRequest) (response CreateRegionSubscriptionResponse, err error)
- func (client IdentityClient) CreateSmtpCredential(ctx context.Context, request CreateSmtpCredentialRequest) (response CreateSmtpCredentialResponse, err error)
- func (client IdentityClient) CreateSwiftPassword(ctx context.Context, request CreateSwiftPasswordRequest) (response CreateSwiftPasswordResponse, err error)
- func (client IdentityClient) CreateTag(ctx context.Context, request CreateTagRequest) (response CreateTagResponse, err error)
- func (client IdentityClient) CreateTagDefault(ctx context.Context, request CreateTagDefaultRequest) (response CreateTagDefaultResponse, err error)
- func (client IdentityClient) CreateTagNamespace(ctx context.Context, request CreateTagNamespaceRequest) (response CreateTagNamespaceResponse, err error)
- func (client IdentityClient) CreateUser(ctx context.Context, request CreateUserRequest) (response CreateUserResponse, err error)
- func (client IdentityClient) DeleteApiKey(ctx context.Context, request DeleteApiKeyRequest) (response DeleteApiKeyResponse, err error)
- func (client IdentityClient) DeleteAuthToken(ctx context.Context, request DeleteAuthTokenRequest) (response DeleteAuthTokenResponse, err error)
- func (client IdentityClient) DeleteCompartment(ctx context.Context, request DeleteCompartmentRequest) (response DeleteCompartmentResponse, err error)
- func (client IdentityClient) DeleteCustomerSecretKey(ctx context.Context, request DeleteCustomerSecretKeyRequest) (response DeleteCustomerSecretKeyResponse, err error)
- func (client IdentityClient) DeleteDynamicGroup(ctx context.Context, request DeleteDynamicGroupRequest) (response DeleteDynamicGroupResponse, err error)
- func (client IdentityClient) DeleteGroup(ctx context.Context, request DeleteGroupRequest) (response DeleteGroupResponse, err error)
- func (client IdentityClient) DeleteIdentityProvider(ctx context.Context, request DeleteIdentityProviderRequest) (response DeleteIdentityProviderResponse, err error)
- func (client IdentityClient) DeleteIdpGroupMapping(ctx context.Context, request DeleteIdpGroupMappingRequest) (response DeleteIdpGroupMappingResponse, err error)
- func (client IdentityClient) DeleteMfaTotpDevice(ctx context.Context, request DeleteMfaTotpDeviceRequest) (response DeleteMfaTotpDeviceResponse, err error)
- func (client IdentityClient) DeleteNetworkSource(ctx context.Context, request DeleteNetworkSourceRequest) (response DeleteNetworkSourceResponse, err error)
- func (client IdentityClient) DeleteOAuthClientCredential(ctx context.Context, request DeleteOAuthClientCredentialRequest) (response DeleteOAuthClientCredentialResponse, err error)
- func (client IdentityClient) DeletePolicy(ctx context.Context, request DeletePolicyRequest) (response DeletePolicyResponse, err error)
- func (client IdentityClient) DeleteSmtpCredential(ctx context.Context, request DeleteSmtpCredentialRequest) (response DeleteSmtpCredentialResponse, err error)
- func (client IdentityClient) DeleteSwiftPassword(ctx context.Context, request DeleteSwiftPasswordRequest) (response DeleteSwiftPasswordResponse, err error)
- func (client IdentityClient) DeleteTag(ctx context.Context, request DeleteTagRequest) (response DeleteTagResponse, err error)
- func (client IdentityClient) DeleteTagDefault(ctx context.Context, request DeleteTagDefaultRequest) (response DeleteTagDefaultResponse, err error)
- func (client IdentityClient) DeleteTagNamespace(ctx context.Context, request DeleteTagNamespaceRequest) (response DeleteTagNamespaceResponse, err error)
- func (client IdentityClient) DeleteUser(ctx context.Context, request DeleteUserRequest) (response DeleteUserResponse, err error)
- func (client IdentityClient) GenerateTotpSeed(ctx context.Context, request GenerateTotpSeedRequest) (response GenerateTotpSeedResponse, err error)
- func (client IdentityClient) GetAuthenticationPolicy(ctx context.Context, request GetAuthenticationPolicyRequest) (response GetAuthenticationPolicyResponse, err error)
- func (client IdentityClient) GetCompartment(ctx context.Context, request GetCompartmentRequest) (response GetCompartmentResponse, err error)
- func (client IdentityClient) GetDynamicGroup(ctx context.Context, request GetDynamicGroupRequest) (response GetDynamicGroupResponse, err error)
- func (client IdentityClient) GetGroup(ctx context.Context, request GetGroupRequest) (response GetGroupResponse, err error)
- func (client IdentityClient) GetIdentityProvider(ctx context.Context, request GetIdentityProviderRequest) (response GetIdentityProviderResponse, err error)
- func (client IdentityClient) GetIdpGroupMapping(ctx context.Context, request GetIdpGroupMappingRequest) (response GetIdpGroupMappingResponse, err error)
- func (client IdentityClient) GetMfaTotpDevice(ctx context.Context, request GetMfaTotpDeviceRequest) (response GetMfaTotpDeviceResponse, err error)
- func (client IdentityClient) GetNetworkSource(ctx context.Context, request GetNetworkSourceRequest) (response GetNetworkSourceResponse, err error)
- func (client IdentityClient) GetPolicy(ctx context.Context, request GetPolicyRequest) (response GetPolicyResponse, err error)
- func (client IdentityClient) GetTag(ctx context.Context, request GetTagRequest) (response GetTagResponse, err error)
- func (client IdentityClient) GetTagDefault(ctx context.Context, request GetTagDefaultRequest) (response GetTagDefaultResponse, err error)
- func (client IdentityClient) GetTagNamespace(ctx context.Context, request GetTagNamespaceRequest) (response GetTagNamespaceResponse, err error)
- func (client IdentityClient) GetTaggingWorkRequest(ctx context.Context, request GetTaggingWorkRequestRequest) (response GetTaggingWorkRequestResponse, err error)
- func (client IdentityClient) GetTenancy(ctx context.Context, request GetTenancyRequest) (response GetTenancyResponse, err error)
- func (client IdentityClient) GetUser(ctx context.Context, request GetUserRequest) (response GetUserResponse, err error)
- func (client IdentityClient) GetUserGroupMembership(ctx context.Context, request GetUserGroupMembershipRequest) (response GetUserGroupMembershipResponse, err error)
- func (client IdentityClient) GetUserUIPasswordInformation(ctx context.Context, request GetUserUIPasswordInformationRequest) (response GetUserUIPasswordInformationResponse, err error)
- func (client IdentityClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client IdentityClient) ListApiKeys(ctx context.Context, request ListApiKeysRequest) (response ListApiKeysResponse, err error)
- func (client IdentityClient) ListAuthTokens(ctx context.Context, request ListAuthTokensRequest) (response ListAuthTokensResponse, err error)
- func (client IdentityClient) ListAvailabilityDomains(ctx context.Context, request ListAvailabilityDomainsRequest) (response ListAvailabilityDomainsResponse, err error)
- func (client IdentityClient) ListBulkActionResourceTypes(ctx context.Context, request ListBulkActionResourceTypesRequest) (response ListBulkActionResourceTypesResponse, err error)
- func (client IdentityClient) ListCompartments(ctx context.Context, request ListCompartmentsRequest) (response ListCompartmentsResponse, err error)
- func (client IdentityClient) ListCostTrackingTags(ctx context.Context, request ListCostTrackingTagsRequest) (response ListCostTrackingTagsResponse, err error)
- func (client IdentityClient) ListCustomerSecretKeys(ctx context.Context, request ListCustomerSecretKeysRequest) (response ListCustomerSecretKeysResponse, err error)
- func (client IdentityClient) ListDynamicGroups(ctx context.Context, request ListDynamicGroupsRequest) (response ListDynamicGroupsResponse, err error)
- func (client IdentityClient) ListFaultDomains(ctx context.Context, request ListFaultDomainsRequest) (response ListFaultDomainsResponse, err error)
- func (client IdentityClient) ListGroups(ctx context.Context, request ListGroupsRequest) (response ListGroupsResponse, err error)
- func (client IdentityClient) ListIdentityProviderGroups(ctx context.Context, request ListIdentityProviderGroupsRequest) (response ListIdentityProviderGroupsResponse, err error)
- func (client IdentityClient) ListIdentityProviders(ctx context.Context, request ListIdentityProvidersRequest) (response ListIdentityProvidersResponse, err error)
- func (client IdentityClient) ListIdpGroupMappings(ctx context.Context, request ListIdpGroupMappingsRequest) (response ListIdpGroupMappingsResponse, err error)
- func (client IdentityClient) ListMfaTotpDevices(ctx context.Context, request ListMfaTotpDevicesRequest) (response ListMfaTotpDevicesResponse, err error)
- func (client IdentityClient) ListNetworkSources(ctx context.Context, request ListNetworkSourcesRequest) (response ListNetworkSourcesResponse, err error)
- func (client IdentityClient) ListOAuthClientCredentials(ctx context.Context, request ListOAuthClientCredentialsRequest) (response ListOAuthClientCredentialsResponse, err error)
- func (client IdentityClient) ListPolicies(ctx context.Context, request ListPoliciesRequest) (response ListPoliciesResponse, err error)
- func (client IdentityClient) ListRegionSubscriptions(ctx context.Context, request ListRegionSubscriptionsRequest) (response ListRegionSubscriptionsResponse, err error)
- func (client IdentityClient) ListRegions(ctx context.Context) (response ListRegionsResponse, err error)
- func (client IdentityClient) ListSmtpCredentials(ctx context.Context, request ListSmtpCredentialsRequest) (response ListSmtpCredentialsResponse, err error)
- func (client IdentityClient) ListSwiftPasswords(ctx context.Context, request ListSwiftPasswordsRequest) (response ListSwiftPasswordsResponse, err error)
- func (client IdentityClient) ListTagDefaults(ctx context.Context, request ListTagDefaultsRequest) (response ListTagDefaultsResponse, err error)
- func (client IdentityClient) ListTagNamespaces(ctx context.Context, request ListTagNamespacesRequest) (response ListTagNamespacesResponse, err error)
- func (client IdentityClient) ListTaggingWorkRequestErrors(ctx context.Context, request ListTaggingWorkRequestErrorsRequest) (response ListTaggingWorkRequestErrorsResponse, err error)
- func (client IdentityClient) ListTaggingWorkRequestLogs(ctx context.Context, request ListTaggingWorkRequestLogsRequest) (response ListTaggingWorkRequestLogsResponse, err error)
- func (client IdentityClient) ListTaggingWorkRequests(ctx context.Context, request ListTaggingWorkRequestsRequest) (response ListTaggingWorkRequestsResponse, err error)
- func (client IdentityClient) ListTags(ctx context.Context, request ListTagsRequest) (response ListTagsResponse, err error)
- func (client IdentityClient) ListUserGroupMemberships(ctx context.Context, request ListUserGroupMembershipsRequest) (response ListUserGroupMembershipsResponse, err error)
- func (client IdentityClient) ListUsers(ctx context.Context, request ListUsersRequest) (response ListUsersResponse, err error)
- func (client IdentityClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client IdentityClient) MoveCompartment(ctx context.Context, request MoveCompartmentRequest) (response MoveCompartmentResponse, err error)
- func (client IdentityClient) RecoverCompartment(ctx context.Context, request RecoverCompartmentRequest) (response RecoverCompartmentResponse, err error)
- func (client IdentityClient) RemoveUserFromGroup(ctx context.Context, request RemoveUserFromGroupRequest) (response RemoveUserFromGroupResponse, err error)
- func (client IdentityClient) ResetIdpScimClient(ctx context.Context, request ResetIdpScimClientRequest) (response ResetIdpScimClientResponse, err error)
- func (client *IdentityClient) SetRegion(region string)
- func (client IdentityClient) UpdateAuthToken(ctx context.Context, request UpdateAuthTokenRequest) (response UpdateAuthTokenResponse, err error)
- func (client IdentityClient) UpdateAuthenticationPolicy(ctx context.Context, request UpdateAuthenticationPolicyRequest) (response UpdateAuthenticationPolicyResponse, err error)
- func (client IdentityClient) UpdateCompartment(ctx context.Context, request UpdateCompartmentRequest) (response UpdateCompartmentResponse, err error)
- func (client IdentityClient) UpdateCustomerSecretKey(ctx context.Context, request UpdateCustomerSecretKeyRequest) (response UpdateCustomerSecretKeyResponse, err error)
- func (client IdentityClient) UpdateDynamicGroup(ctx context.Context, request UpdateDynamicGroupRequest) (response UpdateDynamicGroupResponse, err error)
- func (client IdentityClient) UpdateGroup(ctx context.Context, request UpdateGroupRequest) (response UpdateGroupResponse, err error)
- func (client IdentityClient) UpdateIdentityProvider(ctx context.Context, request UpdateIdentityProviderRequest) (response UpdateIdentityProviderResponse, err error)
- func (client IdentityClient) UpdateIdpGroupMapping(ctx context.Context, request UpdateIdpGroupMappingRequest) (response UpdateIdpGroupMappingResponse, err error)
- func (client IdentityClient) UpdateNetworkSource(ctx context.Context, request UpdateNetworkSourceRequest) (response UpdateNetworkSourceResponse, err error)
- func (client IdentityClient) UpdateOAuthClientCredential(ctx context.Context, request UpdateOAuthClientCredentialRequest) (response UpdateOAuthClientCredentialResponse, err error)
- func (client IdentityClient) UpdatePolicy(ctx context.Context, request UpdatePolicyRequest) (response UpdatePolicyResponse, err error)
- func (client IdentityClient) UpdateSmtpCredential(ctx context.Context, request UpdateSmtpCredentialRequest) (response UpdateSmtpCredentialResponse, err error)
- func (client IdentityClient) UpdateSwiftPassword(ctx context.Context, request UpdateSwiftPasswordRequest) (response UpdateSwiftPasswordResponse, err error)
- func (client IdentityClient) UpdateTag(ctx context.Context, request UpdateTagRequest) (response UpdateTagResponse, err error)
- func (client IdentityClient) UpdateTagDefault(ctx context.Context, request UpdateTagDefaultRequest) (response UpdateTagDefaultResponse, err error)
- func (client IdentityClient) UpdateTagNamespace(ctx context.Context, request UpdateTagNamespaceRequest) (response UpdateTagNamespaceResponse, err error)
- func (client IdentityClient) UpdateUser(ctx context.Context, request UpdateUserRequest) (response UpdateUserResponse, err error)
- func (client IdentityClient) UpdateUserCapabilities(ctx context.Context, request UpdateUserCapabilitiesRequest) (response UpdateUserCapabilitiesResponse, err error)
- func (client IdentityClient) UpdateUserState(ctx context.Context, request UpdateUserStateRequest) (response UpdateUserStateResponse, err error)
- func (client IdentityClient) UploadApiKey(ctx context.Context, request UploadApiKeyRequest) (response UploadApiKeyResponse, err error)
- type IdentityProvider
- type IdentityProviderGroupSummary
- type IdentityProviderLifecycleStateEnum
- type IdpGroupMapping
- type IdpGroupMappingLifecycleStateEnum
- type ListApiKeysRequest
- type ListApiKeysResponse
- type ListAuthTokensRequest
- type ListAuthTokensResponse
- type ListAvailabilityDomainsRequest
- type ListAvailabilityDomainsResponse
- type ListBulkActionResourceTypesBulkActionTypeEnum
- type ListBulkActionResourceTypesRequest
- type ListBulkActionResourceTypesResponse
- type ListCompartmentsAccessLevelEnum
- type ListCompartmentsRequest
- type ListCompartmentsResponse
- type ListCompartmentsSortByEnum
- type ListCompartmentsSortOrderEnum
- type ListCostTrackingTagsRequest
- type ListCostTrackingTagsResponse
- type ListCustomerSecretKeysRequest
- type ListCustomerSecretKeysResponse
- type ListDynamicGroupsRequest
- type ListDynamicGroupsResponse
- type ListDynamicGroupsSortByEnum
- type ListDynamicGroupsSortOrderEnum
- type ListFaultDomainsRequest
- type ListFaultDomainsResponse
- type ListGroupsRequest
- type ListGroupsResponse
- type ListGroupsSortByEnum
- type ListGroupsSortOrderEnum
- type ListIdentityProviderGroupsRequest
- type ListIdentityProviderGroupsResponse
- type ListIdentityProvidersProtocolEnum
- type ListIdentityProvidersRequest
- type ListIdentityProvidersResponse
- type ListIdentityProvidersSortByEnum
- type ListIdentityProvidersSortOrderEnum
- type ListIdpGroupMappingsRequest
- type ListIdpGroupMappingsResponse
- type ListMfaTotpDevicesRequest
- type ListMfaTotpDevicesResponse
- type ListMfaTotpDevicesSortByEnum
- type ListMfaTotpDevicesSortOrderEnum
- type ListNetworkSourcesRequest
- type ListNetworkSourcesResponse
- type ListNetworkSourcesSortByEnum
- type ListNetworkSourcesSortOrderEnum
- type ListOAuthClientCredentialsRequest
- type ListOAuthClientCredentialsResponse
- type ListPoliciesRequest
- type ListPoliciesResponse
- type ListPoliciesSortByEnum
- type ListPoliciesSortOrderEnum
- type ListRegionSubscriptionsRequest
- type ListRegionSubscriptionsResponse
- type ListRegionsRequest
- type ListRegionsResponse
- type ListSmtpCredentialsRequest
- type ListSmtpCredentialsResponse
- type ListSwiftPasswordsRequest
- type ListSwiftPasswordsResponse
- type ListTagDefaultsRequest
- type ListTagDefaultsResponse
- type ListTagNamespacesRequest
- type ListTagNamespacesResponse
- type ListTaggingWorkRequestErrorsRequest
- type ListTaggingWorkRequestErrorsResponse
- type ListTaggingWorkRequestLogsRequest
- type ListTaggingWorkRequestLogsResponse
- type ListTaggingWorkRequestsRequest
- type ListTaggingWorkRequestsResponse
- type ListTagsRequest
- type ListTagsResponse
- type ListUserGroupMembershipsRequest
- type ListUserGroupMembershipsResponse
- type ListUsersRequest
- type ListUsersResponse
- type ListUsersSortByEnum
- type ListUsersSortOrderEnum
- type ListWorkRequestsRequest
- type ListWorkRequestsResponse
- type MfaTotpDevice
- type MfaTotpDeviceLifecycleStateEnum
- type MfaTotpDeviceSummary
- type MfaTotpDeviceSummaryLifecycleStateEnum
- type MfaTotpToken
- type MoveCompartmentDetails
- type MoveCompartmentRequest
- type MoveCompartmentResponse
- type NetworkSources
- type NetworkSourcesLifecycleStateEnum
- type NetworkSourcesSummary
- type NetworkSourcesVirtualSourceList
- type OAuth2ClientCredential
- type OAuth2ClientCredentialLifecycleStateEnum
- type OAuth2ClientCredentialSummary
- type OAuth2ClientCredentialSummaryLifecycleStateEnum
- type PasswordPolicy
- type Policy
- type PolicyLifecycleStateEnum
- type RecoverCompartmentRequest
- type RecoverCompartmentResponse
- type Region
- type RegionSubscription
- type RegionSubscriptionStatusEnum
- type RemoveUserFromGroupRequest
- type RemoveUserFromGroupResponse
- type ResetIdpScimClientRequest
- type ResetIdpScimClientResponse
- type Saml2IdentityProvider
- func (m Saml2IdentityProvider) GetCompartmentId() *string
- func (m Saml2IdentityProvider) GetDefinedTags() map[string]map[string]interface{}
- func (m Saml2IdentityProvider) GetDescription() *string
- func (m Saml2IdentityProvider) GetFreeformTags() map[string]string
- func (m Saml2IdentityProvider) GetId() *string
- func (m Saml2IdentityProvider) GetInactiveStatus() *int64
- func (m Saml2IdentityProvider) GetLifecycleState() IdentityProviderLifecycleStateEnum
- func (m Saml2IdentityProvider) GetName() *string
- func (m Saml2IdentityProvider) GetProductType() *string
- func (m Saml2IdentityProvider) GetTimeCreated() *common.SDKTime
- func (m Saml2IdentityProvider) MarshalJSON() (buff []byte, e error)
- func (m Saml2IdentityProvider) String() string
- type ScimClientCredentials
- type SmtpCredential
- type SmtpCredentialLifecycleStateEnum
- type SmtpCredentialSummary
- type SmtpCredentialSummaryLifecycleStateEnum
- type SwiftPassword
- type SwiftPasswordLifecycleStateEnum
- type Tag
- type TagDefault
- type TagDefaultLifecycleStateEnum
- type TagDefaultSummary
- type TagDefaultSummaryLifecycleStateEnum
- type TagLifecycleStateEnum
- type TagNamespace
- type TagNamespaceLifecycleStateEnum
- type TagNamespaceSummary
- type TagSummary
- type TaggingWorkRequest
- type TaggingWorkRequestErrorSummary
- type TaggingWorkRequestLogSummary
- type TaggingWorkRequestOperationTypeEnum
- type TaggingWorkRequestStatusEnum
- type TaggingWorkRequestSummary
- type TaggingWorkRequestSummaryOperationTypeEnum
- type TaggingWorkRequestSummaryStatusEnum
- type Tenancy
- type UiPassword
- type UiPasswordInformation
- type UiPasswordInformationLifecycleStateEnum
- type UiPasswordLifecycleStateEnum
- type UpdateAuthTokenDetails
- type UpdateAuthTokenRequest
- type UpdateAuthTokenResponse
- type UpdateAuthenticationPolicyDetails
- type UpdateAuthenticationPolicyRequest
- type UpdateAuthenticationPolicyResponse
- type UpdateCompartmentDetails
- type UpdateCompartmentRequest
- type UpdateCompartmentResponse
- type UpdateCustomerSecretKeyDetails
- type UpdateCustomerSecretKeyRequest
- type UpdateCustomerSecretKeyResponse
- type UpdateDynamicGroupDetails
- type UpdateDynamicGroupRequest
- type UpdateDynamicGroupResponse
- type UpdateGroupDetails
- type UpdateGroupRequest
- type UpdateGroupResponse
- type UpdateIdentityProviderDetails
- type UpdateIdentityProviderDetailsProtocolEnum
- type UpdateIdentityProviderRequest
- type UpdateIdentityProviderResponse
- type UpdateIdpGroupMappingDetails
- type UpdateIdpGroupMappingRequest
- type UpdateIdpGroupMappingResponse
- type UpdateNetworkSourceDetails
- type UpdateNetworkSourceRequest
- type UpdateNetworkSourceResponse
- type UpdateOAuth2ClientCredentialDetails
- type UpdateOAuthClientCredentialRequest
- type UpdateOAuthClientCredentialResponse
- type UpdatePolicyDetails
- type UpdatePolicyRequest
- type UpdatePolicyResponse
- type UpdateSaml2IdentityProviderDetails
- func (m UpdateSaml2IdentityProviderDetails) GetDefinedTags() map[string]map[string]interface{}
- func (m UpdateSaml2IdentityProviderDetails) GetDescription() *string
- func (m UpdateSaml2IdentityProviderDetails) GetFreeformTags() map[string]string
- func (m UpdateSaml2IdentityProviderDetails) MarshalJSON() (buff []byte, e error)
- func (m UpdateSaml2IdentityProviderDetails) String() string
- type UpdateSmtpCredentialDetails
- type UpdateSmtpCredentialRequest
- type UpdateSmtpCredentialResponse
- type UpdateStateDetails
- type UpdateSwiftPasswordDetails
- type UpdateSwiftPasswordRequest
- type UpdateSwiftPasswordResponse
- type UpdateTagDefaultDetails
- type UpdateTagDefaultRequest
- type UpdateTagDefaultResponse
- type UpdateTagDetails
- type UpdateTagNamespaceDetails
- type UpdateTagNamespaceRequest
- type UpdateTagNamespaceResponse
- type UpdateTagRequest
- type UpdateTagResponse
- type UpdateUserCapabilitiesDetails
- type UpdateUserCapabilitiesRequest
- type UpdateUserCapabilitiesResponse
- type UpdateUserDetails
- type UpdateUserRequest
- type UpdateUserResponse
- type UpdateUserStateRequest
- type UpdateUserStateResponse
- type UploadApiKeyRequest
- type UploadApiKeyResponse
- type User
- type UserCapabilities
- type UserGroupMembership
- type UserGroupMembershipLifecycleStateEnum
- type UserLifecycleStateEnum
- type WorkRequest
- type WorkRequestError
- type WorkRequestLogEntry
- type WorkRequestOperationTypeEnum
- type WorkRequestResource
- type WorkRequestResourceActionTypeEnum
- type WorkRequestStatusEnum
- type WorkRequestSummary
- type WorkRequestSummaryOperationTypeEnum
- type WorkRequestSummaryStatusEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateMfaTotpDeviceRequest ¶
type ActivateMfaTotpDeviceRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the MFA TOTP device. MfaTotpDeviceId *string `mandatory:"true" contributesTo:"path" name:"mfaTotpDeviceId"` // MFA TOTP token MfaTotpToken `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` // parameter to the value of the etag from a previous GET or POST response for that resource. The resource // will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
ActivateMfaTotpDeviceRequest wrapper for the ActivateMfaTotpDevice operation
func (ActivateMfaTotpDeviceRequest) HTTPRequest ¶
func (request ActivateMfaTotpDeviceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ActivateMfaTotpDeviceRequest) RetryPolicy ¶
func (request ActivateMfaTotpDeviceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ActivateMfaTotpDeviceRequest) String ¶
func (request ActivateMfaTotpDeviceRequest) String() string
type ActivateMfaTotpDeviceResponse ¶
type ActivateMfaTotpDeviceResponse struct { // The underlying http response RawResponse *http.Response // The MfaTotpDeviceSummary instance MfaTotpDeviceSummary `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"` }
ActivateMfaTotpDeviceResponse wrapper for the ActivateMfaTotpDevice operation
func (ActivateMfaTotpDeviceResponse) HTTPResponse ¶
func (response ActivateMfaTotpDeviceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ActivateMfaTotpDeviceResponse) String ¶
func (response ActivateMfaTotpDeviceResponse) String() string
type AddUserToGroupDetails ¶
type AddUserToGroupDetails struct { // The OCID of the user. UserId *string `mandatory:"true" json:"userId"` // The OCID of the group. GroupId *string `mandatory:"true" json:"groupId"` }
AddUserToGroupDetails The representation of AddUserToGroupDetails
func (AddUserToGroupDetails) String ¶
func (m AddUserToGroupDetails) String() string
type AddUserToGroupRequest ¶
type AddUserToGroupRequest struct { // Request object for adding a user to a group. AddUserToGroupDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
AddUserToGroupRequest wrapper for the AddUserToGroup operation
func (AddUserToGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request AddUserToGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (AddUserToGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request AddUserToGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (AddUserToGroupRequest) String ¶
func (request AddUserToGroupRequest) String() string
type AddUserToGroupResponse ¶
type AddUserToGroupResponse struct { // The underlying http response RawResponse *http.Response // The UserGroupMembership instance UserGroupMembership `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"` }
AddUserToGroupResponse wrapper for the AddUserToGroup operation
func (AddUserToGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response AddUserToGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (AddUserToGroupResponse) String ¶
func (response AddUserToGroupResponse) String() string
type ApiKey ¶
type ApiKey struct { // An Oracle-assigned identifier for the key, in this format: // TENANCY_OCID/USER_OCID/KEY_FINGERPRINT. KeyId *string `mandatory:"false" json:"keyId"` // The key's value. KeyValue *string `mandatory:"false" json:"keyValue"` // The key's fingerprint (e.g., 12:34:56:78:90:ab:cd:ef:12:34:56:78:90:ab:cd:ef). Fingerprint *string `mandatory:"false" json:"fingerprint"` // The OCID of the user the key belongs to. UserId *string `mandatory:"false" json:"userId"` // Date and time the `ApiKey` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The API key's current state. After creating an `ApiKey` object, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState ApiKeyLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
ApiKey A PEM-format RSA credential for securing requests to the Oracle Cloud Infrastructure REST API. Also known as an *API signing key*. Specifically, this is the public key from the key pair. The private key remains with the user calling the API. For information about generating a key pair in the required PEM format, see Required Keys and OCIDs (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm). **Important:** This is **not** the SSH key for accessing compute instances. Each user can have a maximum of three API signing keys. For more information about user credentials, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm).
type ApiKeyLifecycleStateEnum ¶
type ApiKeyLifecycleStateEnum string
ApiKeyLifecycleStateEnum Enum with underlying type: string
const ( ApiKeyLifecycleStateCreating ApiKeyLifecycleStateEnum = "CREATING" ApiKeyLifecycleStateActive ApiKeyLifecycleStateEnum = "ACTIVE" ApiKeyLifecycleStateInactive ApiKeyLifecycleStateEnum = "INACTIVE" ApiKeyLifecycleStateDeleting ApiKeyLifecycleStateEnum = "DELETING" ApiKeyLifecycleStateDeleted ApiKeyLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for ApiKeyLifecycleStateEnum
func GetApiKeyLifecycleStateEnumValues ¶
func GetApiKeyLifecycleStateEnumValues() []ApiKeyLifecycleStateEnum
GetApiKeyLifecycleStateEnumValues Enumerates the set of values for ApiKeyLifecycleStateEnum
type AssembleEffectiveTagSetRequest ¶
type AssembleEffectiveTagSetRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState TagDefaultSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
AssembleEffectiveTagSetRequest wrapper for the AssembleEffectiveTagSet operation
func (AssembleEffectiveTagSetRequest) HTTPRequest ¶
func (request AssembleEffectiveTagSetRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (AssembleEffectiveTagSetRequest) RetryPolicy ¶
func (request AssembleEffectiveTagSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (AssembleEffectiveTagSetRequest) String ¶
func (request AssembleEffectiveTagSetRequest) String() string
type AssembleEffectiveTagSetResponse ¶
type AssembleEffectiveTagSetResponse struct { // The underlying http response RawResponse *http.Response // The []TagDefaultSummary instance Items []TagDefaultSummary `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 tag default values. 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"` }
AssembleEffectiveTagSetResponse wrapper for the AssembleEffectiveTagSet operation
func (AssembleEffectiveTagSetResponse) HTTPResponse ¶
func (response AssembleEffectiveTagSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (AssembleEffectiveTagSetResponse) String ¶
func (response AssembleEffectiveTagSetResponse) String() string
type AuthToken ¶ added in v1.6.0
type AuthToken struct { // The auth token. The value is available only in the response for `CreateAuthToken`, and not // for `ListAuthTokens` or `UpdateAuthToken`. Token *string `mandatory:"false" json:"token"` // The OCID of the auth token. Id *string `mandatory:"false" json:"id"` // The OCID of the user the auth token belongs to. UserId *string `mandatory:"false" json:"userId"` // The description you assign to the auth token. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // Date and time the `AuthToken` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date and time when this auth token will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` // The token's current state. After creating an auth token, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState AuthTokenLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
AuthToken An `AuthToken` is an Oracle-generated token string that you can use to authenticate with third-party APIs that do not support Oracle Cloud Infrastructure's signature-based authentication. For example, use an `AuthToken` to authenticate with a Swift client with the Object Storage Service. The auth token is associated with the user's Console login. Auth tokens never expire. A user can have up to two auth tokens at a time. **Note:** The token is always an Oracle-generated string; you can't change it to a string of your choice. For more information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
type AuthTokenLifecycleStateEnum ¶ added in v1.6.0
type AuthTokenLifecycleStateEnum string
AuthTokenLifecycleStateEnum Enum with underlying type: string
const ( AuthTokenLifecycleStateCreating AuthTokenLifecycleStateEnum = "CREATING" AuthTokenLifecycleStateActive AuthTokenLifecycleStateEnum = "ACTIVE" AuthTokenLifecycleStateInactive AuthTokenLifecycleStateEnum = "INACTIVE" AuthTokenLifecycleStateDeleting AuthTokenLifecycleStateEnum = "DELETING" AuthTokenLifecycleStateDeleted AuthTokenLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for AuthTokenLifecycleStateEnum
func GetAuthTokenLifecycleStateEnumValues ¶ added in v1.6.0
func GetAuthTokenLifecycleStateEnumValues() []AuthTokenLifecycleStateEnum
GetAuthTokenLifecycleStateEnumValues Enumerates the set of values for AuthTokenLifecycleStateEnum
type AuthenticationPolicy ¶
type AuthenticationPolicy struct { // Password policy. PasswordPolicy *PasswordPolicy `mandatory:"false" json:"passwordPolicy"` // Compartment OCID. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
AuthenticationPolicy Authentication policy, currently set for the given compartment
func (AuthenticationPolicy) String ¶
func (m AuthenticationPolicy) String() string
type AvailabilityDomain ¶
type AvailabilityDomain struct { // The name of the Availability Domain. Name *string `mandatory:"false" json:"name"` // The OCID of the Availability Domain. Id *string `mandatory:"false" json:"id"` // The OCID of the tenancy. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
AvailabilityDomain One or more isolated, fault-tolerant Oracle data centers that host cloud resources such as instances, volumes, and subnets. A region contains several Availability Domains. For more information, see Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm).
func (AvailabilityDomain) String ¶
func (m AvailabilityDomain) String() string
type BaseTagDefinitionValidator ¶
type BaseTagDefinitionValidator interface { }
BaseTagDefinitionValidator Validates a definedTag value. Each validator performs validation steps in addition to the standard validation for definedTag values. For more information, see Limits on Tags (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Limits). If you define a validator after a value has been set for a defined tag, then any updates that attempt to change the value must pass the additional validation defined by the current rule. Previously set values (even those that would fail the current validation) are not updated. You can still update other attributes to resources that contain a non-valid defined tag. To clear the validator call UpdateTag with DefaultTagDefinitionValidator (https://docs.cloud.oracle.com/api/#/en/identity/latest/datatypes/DefaultTagDefinitionValidator).
type BaseTagDefinitionValidatorValidatorTypeEnum ¶
type BaseTagDefinitionValidatorValidatorTypeEnum string
BaseTagDefinitionValidatorValidatorTypeEnum Enum with underlying type: string
const ( BaseTagDefinitionValidatorValidatorTypeEnumvalue BaseTagDefinitionValidatorValidatorTypeEnum = "ENUM" BaseTagDefinitionValidatorValidatorTypeDefault BaseTagDefinitionValidatorValidatorTypeEnum = "DEFAULT" )
Set of constants representing the allowable values for BaseTagDefinitionValidatorValidatorTypeEnum
func GetBaseTagDefinitionValidatorValidatorTypeEnumValues ¶
func GetBaseTagDefinitionValidatorValidatorTypeEnumValues() []BaseTagDefinitionValidatorValidatorTypeEnum
GetBaseTagDefinitionValidatorValidatorTypeEnumValues Enumerates the set of values for BaseTagDefinitionValidatorValidatorTypeEnum
type BulkActionResource ¶
type BulkActionResource struct { // The resource OCID. Identifier *string `mandatory:"true" json:"identifier"` // The resource-type. To get the list of supported resource-types use // ListBulkActionResourceTypes. EntityType *string `mandatory:"true" json:"entityType"` // Additional information that helps to identity the resource for bulk action. // The APIs to delete and move most resource types only require the resource identifier (ocid). // But some resource-types require additional identifying information. // This information is provided in the resource's public API document. It is also // available through the // ListBulkActionResourceTypes. // **Example**: // The APIs to delete or move the `buckets` resource-type require `namespaceName` and `bucketName` to identify the resource, as // shown in the APIs, DeleteBucket and // UpdateBucket. // To add a bucket for bulk actions, specify `namespaceName` and `bucketName` in // the metadata property as shown in this example // { // "identifier": "<OCID_of_bucket>" // "entityType": "bucket", // "metadata": // { // "namespaceName": "sampleNamespace", // "bucketName": "sampleBucket" // } // } Metadata map[string]string `mandatory:"false" json:"metadata"` }
BulkActionResource The bulk action resource entity.
func (BulkActionResource) String ¶
func (m BulkActionResource) String() string
type BulkActionResourceType ¶
type BulkActionResourceType struct { // The unique name of the resource-type. Name *string `mandatory:"true" json:"name"` // List of metadata keys required to identify a specific resource. Some resource-types require information besides an OCID to identify // a specific resource. For example, the resource-type `buckets` requires metadataKeys DeleteBucket. MetadataKeys []string `mandatory:"false" json:"metadataKeys"` }
BulkActionResourceType The representation of BulkActionResourceType
func (BulkActionResourceType) String ¶
func (m BulkActionResourceType) String() string
type BulkActionResourceTypeCollection ¶
type BulkActionResourceTypeCollection struct { // Collection of the resource-types supported by a compartment bulk action. Items []BulkActionResourceType `mandatory:"true" json:"items"` }
BulkActionResourceTypeCollection Collection of resource-types supported by a compartment bulk action.
func (BulkActionResourceTypeCollection) String ¶
func (m BulkActionResourceTypeCollection) String() string
type BulkDeleteResourcesDetails ¶
type BulkDeleteResourcesDetails struct { // The resources to be deleted. Resources []BulkActionResource `mandatory:"true" json:"resources"` }
BulkDeleteResourcesDetails The representation of BulkDeleteResourcesDetails
func (BulkDeleteResourcesDetails) String ¶
func (m BulkDeleteResourcesDetails) String() string
type BulkDeleteResourcesRequest ¶
type BulkDeleteResourcesRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" name:"compartmentId"` // Request object for bulk delete resources in a compartment. BulkDeleteResourcesDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
BulkDeleteResourcesRequest wrapper for the BulkDeleteResources operation
func (BulkDeleteResourcesRequest) HTTPRequest ¶
func (request BulkDeleteResourcesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (BulkDeleteResourcesRequest) RetryPolicy ¶
func (request BulkDeleteResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (BulkDeleteResourcesRequest) String ¶
func (request BulkDeleteResourcesRequest) String() string
type BulkDeleteResourcesResponse ¶
type BulkDeleteResourcesResponse 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"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
BulkDeleteResourcesResponse wrapper for the BulkDeleteResources operation
func (BulkDeleteResourcesResponse) HTTPResponse ¶
func (response BulkDeleteResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (BulkDeleteResourcesResponse) String ¶
func (response BulkDeleteResourcesResponse) String() string
type BulkDeleteTagsDetails ¶
type BulkDeleteTagsDetails struct { // The OCIDs of the tag definitions to delete TagDefinitionIds []string `mandatory:"true" json:"tagDefinitionIds"` }
BulkDeleteTagsDetails Properties for deleting tags in bulk
func (BulkDeleteTagsDetails) String ¶
func (m BulkDeleteTagsDetails) String() string
type BulkDeleteTagsRequest ¶
type BulkDeleteTagsRequest struct { // Request object for deleting tags in bulk. BulkDeleteTagsDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
BulkDeleteTagsRequest wrapper for the BulkDeleteTags operation
func (BulkDeleteTagsRequest) HTTPRequest ¶
func (request BulkDeleteTagsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (BulkDeleteTagsRequest) RetryPolicy ¶
func (request BulkDeleteTagsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (BulkDeleteTagsRequest) String ¶
func (request BulkDeleteTagsRequest) String() string
type BulkDeleteTagsResponse ¶
type BulkDeleteTagsResponse 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"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
BulkDeleteTagsResponse wrapper for the BulkDeleteTags operation
func (BulkDeleteTagsResponse) HTTPResponse ¶
func (response BulkDeleteTagsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (BulkDeleteTagsResponse) String ¶
func (response BulkDeleteTagsResponse) String() string
type BulkMoveResourcesDetails ¶
type BulkMoveResourcesDetails struct { // The resources to be moved. Resources []BulkActionResource `mandatory:"true" json:"resources"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the destination compartment // into which to move the resources. TargetCompartmentId *string `mandatory:"true" json:"targetCompartmentId"` }
BulkMoveResourcesDetails The representation of BulkMoveResourcesDetails
func (BulkMoveResourcesDetails) String ¶
func (m BulkMoveResourcesDetails) String() string
type BulkMoveResourcesRequest ¶
type BulkMoveResourcesRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" name:"compartmentId"` // Request object for bulk move resources in the compartment. BulkMoveResourcesDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
BulkMoveResourcesRequest wrapper for the BulkMoveResources operation
func (BulkMoveResourcesRequest) HTTPRequest ¶
func (request BulkMoveResourcesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (BulkMoveResourcesRequest) RetryPolicy ¶
func (request BulkMoveResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (BulkMoveResourcesRequest) String ¶
func (request BulkMoveResourcesRequest) String() string
type BulkMoveResourcesResponse ¶
type BulkMoveResourcesResponse 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"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
BulkMoveResourcesResponse wrapper for the BulkMoveResources operation
func (BulkMoveResourcesResponse) HTTPResponse ¶
func (response BulkMoveResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (BulkMoveResourcesResponse) String ¶
func (response BulkMoveResourcesResponse) String() string
type CascadeDeleteTagNamespaceRequest ¶
type CascadeDeleteTagNamespaceRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // 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"` // 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"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CascadeDeleteTagNamespaceRequest wrapper for the CascadeDeleteTagNamespace operation
func (CascadeDeleteTagNamespaceRequest) HTTPRequest ¶
func (request CascadeDeleteTagNamespaceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CascadeDeleteTagNamespaceRequest) RetryPolicy ¶
func (request CascadeDeleteTagNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CascadeDeleteTagNamespaceRequest) String ¶
func (request CascadeDeleteTagNamespaceRequest) String() string
type CascadeDeleteTagNamespaceResponse ¶
type CascadeDeleteTagNamespaceResponse 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"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
CascadeDeleteTagNamespaceResponse wrapper for the CascadeDeleteTagNamespace operation
func (CascadeDeleteTagNamespaceResponse) HTTPResponse ¶
func (response CascadeDeleteTagNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CascadeDeleteTagNamespaceResponse) String ¶
func (response CascadeDeleteTagNamespaceResponse) String() string
type ChangeTagNamespaceCompartmentDetail ¶
type ChangeTagNamespaceCompartmentDetail struct { // The Oracle Cloud ID (OCID) of the destination compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeTagNamespaceCompartmentDetail Details of the compartment the resource is being moved to.
func (ChangeTagNamespaceCompartmentDetail) String ¶
func (m ChangeTagNamespaceCompartmentDetail) String() string
type ChangeTagNamespaceCompartmentRequest ¶
type ChangeTagNamespaceCompartmentRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // Request object for changing the compartment of a tag namespace. ChangeTagNamespaceCompartmentDetail `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
ChangeTagNamespaceCompartmentRequest wrapper for the ChangeTagNamespaceCompartment operation
func (ChangeTagNamespaceCompartmentRequest) HTTPRequest ¶
func (request ChangeTagNamespaceCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeTagNamespaceCompartmentRequest) RetryPolicy ¶
func (request ChangeTagNamespaceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeTagNamespaceCompartmentRequest) String ¶
func (request ChangeTagNamespaceCompartmentRequest) String() string
type ChangeTagNamespaceCompartmentResponse ¶
type ChangeTagNamespaceCompartmentResponse 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"` }
ChangeTagNamespaceCompartmentResponse wrapper for the ChangeTagNamespaceCompartment operation
func (ChangeTagNamespaceCompartmentResponse) HTTPResponse ¶
func (response ChangeTagNamespaceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeTagNamespaceCompartmentResponse) String ¶
func (response ChangeTagNamespaceCompartmentResponse) String() string
type Compartment ¶
type Compartment struct { // The OCID of the compartment. Id *string `mandatory:"true" json:"id"` // The OCID of the parent compartment containing the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the compartment during creation. The name must be unique across all // compartments in the parent. Avoid entering confidential information. Name *string `mandatory:"true" json:"name"` // The description you assign to the compartment. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // Date and time the compartment was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The compartment's current state. After creating a compartment, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState CompartmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Indicates whether or not the compartment is accessible for the user making the request. // Returns true when the user has INSPECT permissions directly on a resource in the // compartment or indirectly (permissions can be on a resource in a subcompartment). IsAccessible *bool `mandatory:"false" json:"isAccessible"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
Compartment A collection of related resources. Compartments are a fundamental component of Oracle Cloud Infrastructure for organizing and isolating your cloud resources. You use them to clearly separate resources for the purposes of measuring usage and billing, access (through the use of IAM Service policies), and isolation (separating the resources for one project or business unit from another). A common approach is to create a compartment for each major part of your organization. For more information, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm) and also Setting Up Your Tenancy (https://docs.cloud.oracle.com/Content/GSG/Concepts/settinguptenancy.htm). To place a resource in a compartment, simply specify the compartment ID in the "Create" request object when initially creating the resource. For example, to launch an instance into a particular compartment, specify that compartment's OCID in the `LaunchInstance` request. You can't move an existing resource from one compartment to another. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
func (Compartment) String ¶
func (m Compartment) String() string
type CompartmentLifecycleStateEnum ¶
type CompartmentLifecycleStateEnum string
CompartmentLifecycleStateEnum Enum with underlying type: string
const ( CompartmentLifecycleStateCreating CompartmentLifecycleStateEnum = "CREATING" CompartmentLifecycleStateActive CompartmentLifecycleStateEnum = "ACTIVE" CompartmentLifecycleStateInactive CompartmentLifecycleStateEnum = "INACTIVE" CompartmentLifecycleStateDeleting CompartmentLifecycleStateEnum = "DELETING" CompartmentLifecycleStateDeleted CompartmentLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for CompartmentLifecycleStateEnum
func GetCompartmentLifecycleStateEnumValues ¶
func GetCompartmentLifecycleStateEnumValues() []CompartmentLifecycleStateEnum
GetCompartmentLifecycleStateEnumValues Enumerates the set of values for CompartmentLifecycleStateEnum
type CreateApiKeyDetails ¶
type CreateApiKeyDetails struct { // The public key. Must be an RSA key in PEM format. Key *string `mandatory:"true" json:"key"` }
CreateApiKeyDetails The representation of CreateApiKeyDetails
func (CreateApiKeyDetails) String ¶
func (m CreateApiKeyDetails) String() string
type CreateAuthTokenDetails ¶ added in v1.6.0
type CreateAuthTokenDetails struct { // The description you assign to the auth token during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` }
CreateAuthTokenDetails The representation of CreateAuthTokenDetails
func (CreateAuthTokenDetails) String ¶ added in v1.6.0
func (m CreateAuthTokenDetails) String() string
type CreateAuthTokenRequest ¶ added in v1.6.0
type CreateAuthTokenRequest struct { // Request object for creating a new auth token. CreateAuthTokenDetails `contributesTo:"body"` // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateAuthTokenRequest wrapper for the CreateAuthToken operation
func (CreateAuthTokenRequest) HTTPRequest ¶ added in v1.6.0
func (request CreateAuthTokenRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateAuthTokenRequest) RetryPolicy ¶ added in v1.6.0
func (request CreateAuthTokenRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateAuthTokenRequest) String ¶ added in v1.6.0
func (request CreateAuthTokenRequest) String() string
type CreateAuthTokenResponse ¶ added in v1.6.0
type CreateAuthTokenResponse struct { // The underlying http response RawResponse *http.Response // The AuthToken instance AuthToken `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"` }
CreateAuthTokenResponse wrapper for the CreateAuthToken operation
func (CreateAuthTokenResponse) HTTPResponse ¶ added in v1.6.0
func (response CreateAuthTokenResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAuthTokenResponse) String ¶ added in v1.6.0
func (response CreateAuthTokenResponse) String() string
type CreateCompartmentDetails ¶
type CreateCompartmentDetails struct { // The OCID of the parent compartment containing the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the compartment during creation. The name must be unique across all compartments // in the parent compartment. Avoid entering confidential information. Name *string `mandatory:"true" json:"name"` // The description you assign to the compartment during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateCompartmentDetails The representation of CreateCompartmentDetails
func (CreateCompartmentDetails) String ¶
func (m CreateCompartmentDetails) String() string
type CreateCompartmentRequest ¶
type CreateCompartmentRequest struct { // Request object for creating a new compartment. CreateCompartmentDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateCompartmentRequest wrapper for the CreateCompartment operation
func (CreateCompartmentRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateCompartmentRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateCompartmentRequest) String ¶
func (request CreateCompartmentRequest) String() string
type CreateCompartmentResponse ¶
type CreateCompartmentResponse struct { // The underlying http response RawResponse *http.Response // The Compartment instance Compartment `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"` }
CreateCompartmentResponse wrapper for the CreateCompartment operation
func (CreateCompartmentResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateCompartmentResponse) String ¶
func (response CreateCompartmentResponse) String() string
type CreateCustomerSecretKeyDetails ¶
type CreateCustomerSecretKeyDetails struct { // The name you assign to the secret key during creation. Does not have to be unique, and it's changeable. DisplayName *string `mandatory:"true" json:"displayName"` }
CreateCustomerSecretKeyDetails The representation of CreateCustomerSecretKeyDetails
func (CreateCustomerSecretKeyDetails) String ¶
func (m CreateCustomerSecretKeyDetails) String() string
type CreateCustomerSecretKeyRequest ¶
type CreateCustomerSecretKeyRequest struct { // Request object for creating a new secret key. CreateCustomerSecretKeyDetails `contributesTo:"body"` // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateCustomerSecretKeyRequest wrapper for the CreateCustomerSecretKey operation
func (CreateCustomerSecretKeyRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateCustomerSecretKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateCustomerSecretKeyRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateCustomerSecretKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateCustomerSecretKeyRequest) String ¶
func (request CreateCustomerSecretKeyRequest) String() string
type CreateCustomerSecretKeyResponse ¶
type CreateCustomerSecretKeyResponse struct { // The underlying http response RawResponse *http.Response // The CustomerSecretKey instance CustomerSecretKey `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"` }
CreateCustomerSecretKeyResponse wrapper for the CreateCustomerSecretKey operation
func (CreateCustomerSecretKeyResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateCustomerSecretKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateCustomerSecretKeyResponse) String ¶
func (response CreateCustomerSecretKeyResponse) String() string
type CreateDynamicGroupDetails ¶ added in v1.1.0
type CreateDynamicGroupDetails struct { // The OCID of the tenancy containing the group. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the group during creation. The name must be unique across all groups // in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The matching rule to dynamically match an instance certificate to this dynamic group. // For rule syntax, see Managing Dynamic Groups (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingdynamicgroups.htm). MatchingRule *string `mandatory:"true" json:"matchingRule"` // The description you assign to the group during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateDynamicGroupDetails Properties for creating a dynamic group.
func (CreateDynamicGroupDetails) String ¶ added in v1.1.0
func (m CreateDynamicGroupDetails) String() string
type CreateDynamicGroupRequest ¶ added in v1.1.0
type CreateDynamicGroupRequest struct { // Request object for creating a new dynamic group. CreateDynamicGroupDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateDynamicGroupRequest wrapper for the CreateDynamicGroup operation
func (CreateDynamicGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateDynamicGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDynamicGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateDynamicGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDynamicGroupRequest) String ¶ added in v1.1.0
func (request CreateDynamicGroupRequest) String() string
type CreateDynamicGroupResponse ¶ added in v1.1.0
type CreateDynamicGroupResponse struct { // The underlying http response RawResponse *http.Response // The DynamicGroup instance DynamicGroup `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"` }
CreateDynamicGroupResponse wrapper for the CreateDynamicGroup operation
func (CreateDynamicGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateDynamicGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDynamicGroupResponse) String ¶ added in v1.1.0
func (response CreateDynamicGroupResponse) String() string
type CreateGroupDetails ¶
type CreateGroupDetails struct { // The OCID of the tenancy containing the group. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the group during creation. The name must be unique across all groups // in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the group during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateGroupDetails The representation of CreateGroupDetails
func (CreateGroupDetails) String ¶
func (m CreateGroupDetails) String() string
type CreateGroupRequest ¶
type CreateGroupRequest struct { // Request object for creating a new group. CreateGroupDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateGroupRequest wrapper for the CreateGroup operation
func (CreateGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateGroupRequest) String ¶
func (request CreateGroupRequest) String() string
type CreateGroupResponse ¶
type CreateGroupResponse struct { // The underlying http response RawResponse *http.Response // The Group instance Group `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"` }
CreateGroupResponse wrapper for the CreateGroup operation
func (CreateGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateGroupResponse) String ¶
func (response CreateGroupResponse) String() string
type CreateIdentityProviderDetails ¶
type CreateIdentityProviderDetails interface { // The OCID of your tenancy. GetCompartmentId() *string // The name you assign to the `IdentityProvider` during creation. // The name must be unique across all `IdentityProvider` objects in the // tenancy and cannot be changed. GetName() *string // The description you assign to the `IdentityProvider` during creation. // Does not have to be unique, and it's changeable. GetDescription() *string // The identity provider service or product. // Supported identity providers are Oracle Identity Cloud Service (IDCS) and Microsoft // Active Directory Federation Services (ADFS). // Example: `IDCS` GetProductType() CreateIdentityProviderDetailsProductTypeEnum // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateIdentityProviderDetails The representation of CreateIdentityProviderDetails
type CreateIdentityProviderDetailsProductTypeEnum ¶
type CreateIdentityProviderDetailsProductTypeEnum string
CreateIdentityProviderDetailsProductTypeEnum Enum with underlying type: string
const ( CreateIdentityProviderDetailsProductTypeIdcs CreateIdentityProviderDetailsProductTypeEnum = "IDCS" CreateIdentityProviderDetailsProductTypeAdfs CreateIdentityProviderDetailsProductTypeEnum = "ADFS" )
Set of constants representing the allowable values for CreateIdentityProviderDetailsProductTypeEnum
func GetCreateIdentityProviderDetailsProductTypeEnumValues ¶
func GetCreateIdentityProviderDetailsProductTypeEnumValues() []CreateIdentityProviderDetailsProductTypeEnum
GetCreateIdentityProviderDetailsProductTypeEnumValues Enumerates the set of values for CreateIdentityProviderDetailsProductTypeEnum
type CreateIdentityProviderDetailsProtocolEnum ¶
type CreateIdentityProviderDetailsProtocolEnum string
CreateIdentityProviderDetailsProtocolEnum Enum with underlying type: string
const ( CreateIdentityProviderDetailsProtocolSaml2 CreateIdentityProviderDetailsProtocolEnum = "SAML2" CreateIdentityProviderDetailsProtocolAdfs CreateIdentityProviderDetailsProtocolEnum = "ADFS" )
Set of constants representing the allowable values for CreateIdentityProviderDetailsProtocolEnum
func GetCreateIdentityProviderDetailsProtocolEnumValues ¶
func GetCreateIdentityProviderDetailsProtocolEnumValues() []CreateIdentityProviderDetailsProtocolEnum
GetCreateIdentityProviderDetailsProtocolEnumValues Enumerates the set of values for CreateIdentityProviderDetailsProtocolEnum
type CreateIdentityProviderRequest ¶
type CreateIdentityProviderRequest struct { // Request object for creating a new SAML2 identity provider. CreateIdentityProviderDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateIdentityProviderRequest wrapper for the CreateIdentityProvider operation
func (CreateIdentityProviderRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateIdentityProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateIdentityProviderRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateIdentityProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateIdentityProviderRequest) String ¶
func (request CreateIdentityProviderRequest) String() string
type CreateIdentityProviderResponse ¶
type CreateIdentityProviderResponse struct { // The underlying http response RawResponse *http.Response // The IdentityProvider instance IdentityProvider `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"` }
CreateIdentityProviderResponse wrapper for the CreateIdentityProvider operation
func (CreateIdentityProviderResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateIdentityProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateIdentityProviderResponse) String ¶
func (response CreateIdentityProviderResponse) String() string
type CreateIdpGroupMappingDetails ¶
type CreateIdpGroupMappingDetails struct { // The name of the IdP group you want to map. IdpGroupName *string `mandatory:"true" json:"idpGroupName"` // The OCID of the IAM Service Group // you want to map to the IdP group. GroupId *string `mandatory:"true" json:"groupId"` }
CreateIdpGroupMappingDetails The representation of CreateIdpGroupMappingDetails
func (CreateIdpGroupMappingDetails) String ¶
func (m CreateIdpGroupMappingDetails) String() string
type CreateIdpGroupMappingRequest ¶
type CreateIdpGroupMappingRequest struct { // Add a mapping from an SAML2.0 identity provider group to a BMC group. CreateIdpGroupMappingDetails `contributesTo:"body"` // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateIdpGroupMappingRequest wrapper for the CreateIdpGroupMapping operation
func (CreateIdpGroupMappingRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateIdpGroupMappingRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateIdpGroupMappingRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateIdpGroupMappingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateIdpGroupMappingRequest) String ¶
func (request CreateIdpGroupMappingRequest) String() string
type CreateIdpGroupMappingResponse ¶
type CreateIdpGroupMappingResponse struct { // The underlying http response RawResponse *http.Response // The IdpGroupMapping instance IdpGroupMapping `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"` }
CreateIdpGroupMappingResponse wrapper for the CreateIdpGroupMapping operation
func (CreateIdpGroupMappingResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateIdpGroupMappingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateIdpGroupMappingResponse) String ¶
func (response CreateIdpGroupMappingResponse) String() string
type CreateMfaTotpDeviceRequest ¶
type CreateMfaTotpDeviceRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateMfaTotpDeviceRequest wrapper for the CreateMfaTotpDevice operation
func (CreateMfaTotpDeviceRequest) HTTPRequest ¶
func (request CreateMfaTotpDeviceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateMfaTotpDeviceRequest) RetryPolicy ¶
func (request CreateMfaTotpDeviceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateMfaTotpDeviceRequest) String ¶
func (request CreateMfaTotpDeviceRequest) String() string
type CreateMfaTotpDeviceResponse ¶
type CreateMfaTotpDeviceResponse struct { // The underlying http response RawResponse *http.Response // The MfaTotpDevice instance MfaTotpDevice `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"` }
CreateMfaTotpDeviceResponse wrapper for the CreateMfaTotpDevice operation
func (CreateMfaTotpDeviceResponse) HTTPResponse ¶
func (response CreateMfaTotpDeviceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateMfaTotpDeviceResponse) String ¶
func (response CreateMfaTotpDeviceResponse) String() string
type CreateNetworkSourceDetails ¶
type CreateNetworkSourceDetails struct { // The OCID of the tenancy (root compartment) containing the network source object. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the network source during creation. The name must be unique across all groups // in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the network source during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // A list of allowed public IP addresses and CIDR ranges. PublicSourceList []string `mandatory:"false" json:"publicSourceList"` // A list of allowed VCN OCID and IP range pairs. // Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` VirtualSourceList []NetworkSourcesVirtualSourceList `mandatory:"false" json:"virtualSourceList"` // A list of services allowed to make on-behalf-of requests. These requests can have different source IP addresses // than those listed in the network source. // Currently, only `all` and `none` are supported. The default is `all`. Services []string `mandatory:"false" json:"services"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateNetworkSourceDetails Properties for creating a network source object.
func (CreateNetworkSourceDetails) String ¶
func (m CreateNetworkSourceDetails) String() string
type CreateNetworkSourceRequest ¶
type CreateNetworkSourceRequest struct { // Request object for creating a new network source. CreateNetworkSourceDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateNetworkSourceRequest wrapper for the CreateNetworkSource operation
func (CreateNetworkSourceRequest) HTTPRequest ¶
func (request CreateNetworkSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateNetworkSourceRequest) RetryPolicy ¶
func (request CreateNetworkSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateNetworkSourceRequest) String ¶
func (request CreateNetworkSourceRequest) String() string
type CreateNetworkSourceResponse ¶
type CreateNetworkSourceResponse struct { // The underlying http response RawResponse *http.Response // The NetworkSources instance NetworkSources `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"` }
CreateNetworkSourceResponse wrapper for the CreateNetworkSource operation
func (CreateNetworkSourceResponse) HTTPResponse ¶
func (response CreateNetworkSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateNetworkSourceResponse) String ¶
func (response CreateNetworkSourceResponse) String() string
type CreateOAuth2ClientCredentialDetails ¶
type CreateOAuth2ClientCredentialDetails struct { // Name of the oauth credential to help user differentiate them. Name *string `mandatory:"true" json:"name"` // Description of the oauth credential to help user differentiate them. Description *string `mandatory:"true" json:"description"` // Allowed scopes for the given oauth credential. Scopes []FullyQualifiedScope `mandatory:"true" json:"scopes"` }
CreateOAuth2ClientCredentialDetails The representation of CreateOAuth2ClientCredentialDetails
func (CreateOAuth2ClientCredentialDetails) String ¶
func (m CreateOAuth2ClientCredentialDetails) String() string
type CreateOAuthClientCredentialRequest ¶
type CreateOAuthClientCredentialRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // Request object containing the information required to generate an Oauth token. CreateOAuth2ClientCredentialDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateOAuthClientCredentialRequest wrapper for the CreateOAuthClientCredential operation
func (CreateOAuthClientCredentialRequest) HTTPRequest ¶
func (request CreateOAuthClientCredentialRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateOAuthClientCredentialRequest) RetryPolicy ¶
func (request CreateOAuthClientCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateOAuthClientCredentialRequest) String ¶
func (request CreateOAuthClientCredentialRequest) String() string
type CreateOAuthClientCredentialResponse ¶
type CreateOAuthClientCredentialResponse struct { // The underlying http response RawResponse *http.Response // The OAuth2ClientCredential instance OAuth2ClientCredential `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"` }
CreateOAuthClientCredentialResponse wrapper for the CreateOAuthClientCredential operation
func (CreateOAuthClientCredentialResponse) HTTPResponse ¶
func (response CreateOAuthClientCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateOAuthClientCredentialResponse) String ¶
func (response CreateOAuthClientCredentialResponse) String() string
type CreateOrResetUIPasswordRequest ¶
type CreateOrResetUIPasswordRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateOrResetUIPasswordRequest wrapper for the CreateOrResetUIPassword operation
func (CreateOrResetUIPasswordRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateOrResetUIPasswordRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateOrResetUIPasswordRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateOrResetUIPasswordRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateOrResetUIPasswordRequest) String ¶
func (request CreateOrResetUIPasswordRequest) String() string
type CreateOrResetUIPasswordResponse ¶
type CreateOrResetUIPasswordResponse struct { // The underlying http response RawResponse *http.Response // The UiPassword instance UiPassword `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"` }
CreateOrResetUIPasswordResponse wrapper for the CreateOrResetUIPassword operation
func (CreateOrResetUIPasswordResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateOrResetUIPasswordResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateOrResetUIPasswordResponse) String ¶
func (response CreateOrResetUIPasswordResponse) String() string
type CreatePolicyDetails ¶
type CreatePolicyDetails struct { // The OCID of the compartment containing the policy (either the tenancy or another compartment). CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the policy during creation. The name must be unique across all policies // in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // An array of policy statements written in the policy language. See // How Policies Work (https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm) and // Common Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm). Statements []string `mandatory:"true" json:"statements"` // The description you assign to the policy during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // The version of the policy. If null or set to an empty string, when a request comes in for authorization, the // policy will be evaluated according to the current behavior of the services at that moment. If set to a particular // date (YYYY-MM-DD), the policy will be evaluated according to the behavior of the services on that date. VersionDate *common.SDKDate `mandatory:"false" json:"versionDate"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreatePolicyDetails The representation of CreatePolicyDetails
func (CreatePolicyDetails) String ¶
func (m CreatePolicyDetails) String() string
type CreatePolicyRequest ¶
type CreatePolicyRequest struct { // Request object for creating a new policy. CreatePolicyDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreatePolicyRequest wrapper for the CreatePolicy operation
func (CreatePolicyRequest) HTTPRequest ¶ added in v1.3.0
func (request CreatePolicyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreatePolicyRequest) RetryPolicy ¶ added in v1.3.0
func (request CreatePolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreatePolicyRequest) String ¶
func (request CreatePolicyRequest) String() string
type CreatePolicyResponse ¶
type CreatePolicyResponse struct { // The underlying http response RawResponse *http.Response // The Policy instance Policy `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"` }
CreatePolicyResponse wrapper for the CreatePolicy operation
func (CreatePolicyResponse) HTTPResponse ¶ added in v1.3.0
func (response CreatePolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreatePolicyResponse) String ¶
func (response CreatePolicyResponse) String() string
type CreateRegionSubscriptionDetails ¶
type CreateRegionSubscriptionDetails struct { // The regions's key. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) for // the full list of supported 3-letter region codes. // Example: `PHX` RegionKey *string `mandatory:"true" json:"regionKey"` }
CreateRegionSubscriptionDetails The representation of CreateRegionSubscriptionDetails
func (CreateRegionSubscriptionDetails) String ¶
func (m CreateRegionSubscriptionDetails) String() string
type CreateRegionSubscriptionRequest ¶
type CreateRegionSubscriptionRequest struct { // Request object for activate a new region. CreateRegionSubscriptionDetails `contributesTo:"body"` // The OCID of the tenancy. TenancyId *string `mandatory:"true" contributesTo:"path" name:"tenancyId"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateRegionSubscriptionRequest wrapper for the CreateRegionSubscription operation
func (CreateRegionSubscriptionRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateRegionSubscriptionRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateRegionSubscriptionRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateRegionSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateRegionSubscriptionRequest) String ¶
func (request CreateRegionSubscriptionRequest) String() string
type CreateRegionSubscriptionResponse ¶
type CreateRegionSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The RegionSubscription instance RegionSubscription `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"` }
CreateRegionSubscriptionResponse wrapper for the CreateRegionSubscription operation
func (CreateRegionSubscriptionResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateRegionSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateRegionSubscriptionResponse) String ¶
func (response CreateRegionSubscriptionResponse) String() string
type CreateSaml2IdentityProviderDetails ¶
type CreateSaml2IdentityProviderDetails struct { // The OCID of your tenancy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the `IdentityProvider` during creation. // The name must be unique across all `IdentityProvider` objects in the // tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the `IdentityProvider` during creation. // Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // The URL for retrieving the identity provider's metadata, // which contains information required for federating. MetadataUrl *string `mandatory:"true" json:"metadataUrl"` // The XML that contains the information required for federating. Metadata *string `mandatory:"true" json:"metadata"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Extra name value pairs associated with this identity provider. // Example: `{"clientId": "app_sf3kdjf3"}` FreeformAttributes map[string]string `mandatory:"false" json:"freeformAttributes"` // The identity provider service or product. // Supported identity providers are Oracle Identity Cloud Service (IDCS) and Microsoft // Active Directory Federation Services (ADFS). // Example: `IDCS` ProductType CreateIdentityProviderDetailsProductTypeEnum `mandatory:"true" json:"productType"` }
CreateSaml2IdentityProviderDetails The representation of CreateSaml2IdentityProviderDetails
func (CreateSaml2IdentityProviderDetails) GetCompartmentId ¶
func (m CreateSaml2IdentityProviderDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (CreateSaml2IdentityProviderDetails) GetDefinedTags ¶ added in v1.1.0
func (m CreateSaml2IdentityProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (CreateSaml2IdentityProviderDetails) GetDescription ¶
func (m CreateSaml2IdentityProviderDetails) GetDescription() *string
GetDescription returns Description
func (CreateSaml2IdentityProviderDetails) GetFreeformTags ¶ added in v1.1.0
func (m CreateSaml2IdentityProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (CreateSaml2IdentityProviderDetails) GetName ¶
func (m CreateSaml2IdentityProviderDetails) GetName() *string
GetName returns Name
func (CreateSaml2IdentityProviderDetails) GetProductType ¶
func (m CreateSaml2IdentityProviderDetails) GetProductType() CreateIdentityProviderDetailsProductTypeEnum
GetProductType returns ProductType
func (CreateSaml2IdentityProviderDetails) MarshalJSON ¶
func (m CreateSaml2IdentityProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (CreateSaml2IdentityProviderDetails) String ¶
func (m CreateSaml2IdentityProviderDetails) String() string
type CreateSmtpCredentialDetails ¶ added in v1.2.0
type CreateSmtpCredentialDetails struct { // The description you assign to the SMTP credentials during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` }
CreateSmtpCredentialDetails The representation of CreateSmtpCredentialDetails
func (CreateSmtpCredentialDetails) String ¶ added in v1.2.0
func (m CreateSmtpCredentialDetails) String() string
type CreateSmtpCredentialRequest ¶ added in v1.2.0
type CreateSmtpCredentialRequest struct { // Request object for creating a new SMTP credential with the user. CreateSmtpCredentialDetails `contributesTo:"body"` // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateSmtpCredentialRequest wrapper for the CreateSmtpCredential operation
func (CreateSmtpCredentialRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateSmtpCredentialRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateSmtpCredentialRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateSmtpCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateSmtpCredentialRequest) String ¶ added in v1.2.0
func (request CreateSmtpCredentialRequest) String() string
type CreateSmtpCredentialResponse ¶ added in v1.2.0
type CreateSmtpCredentialResponse struct { // The underlying http response RawResponse *http.Response // The SmtpCredential instance SmtpCredential `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"` }
CreateSmtpCredentialResponse wrapper for the CreateSmtpCredential operation
func (CreateSmtpCredentialResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateSmtpCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateSmtpCredentialResponse) String ¶ added in v1.2.0
func (response CreateSmtpCredentialResponse) String() string
type CreateSwiftPasswordDetails ¶
type CreateSwiftPasswordDetails struct { // The description you assign to the Swift password during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` }
CreateSwiftPasswordDetails The representation of CreateSwiftPasswordDetails
func (CreateSwiftPasswordDetails) String ¶
func (m CreateSwiftPasswordDetails) String() string
type CreateSwiftPasswordRequest ¶
type CreateSwiftPasswordRequest struct { // Request object for creating a new swift password. CreateSwiftPasswordDetails `contributesTo:"body"` // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateSwiftPasswordRequest wrapper for the CreateSwiftPassword operation
func (CreateSwiftPasswordRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateSwiftPasswordRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateSwiftPasswordRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateSwiftPasswordRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateSwiftPasswordRequest) String ¶
func (request CreateSwiftPasswordRequest) String() string
type CreateSwiftPasswordResponse ¶
type CreateSwiftPasswordResponse struct { // The underlying http response RawResponse *http.Response // The SwiftPassword instance SwiftPassword `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"` }
CreateSwiftPasswordResponse wrapper for the CreateSwiftPassword operation
func (CreateSwiftPasswordResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateSwiftPasswordResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateSwiftPasswordResponse) String ¶
func (response CreateSwiftPasswordResponse) String() string
type CreateTagDefaultDetails ¶
type CreateTagDefaultDetails struct { // The OCID of the compartment. The tag default will be applied to all new resources created in this compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the tag definition. The tag default will always assign a default value for this tag definition. TagDefinitionId *string `mandatory:"true" json:"tagDefinitionId"` // The default value for the tag definition. This will be applied to all new resources created in the compartment. Value *string `mandatory:"true" json:"value"` // If you specify that a value is required, a value is set during resource creation (either by // the user creating the resource or another tag defualt). If no value is set, resource // creation is blocked. // * If the `isRequired` flag is set to "true", the value is set during resource creation. // * If the `isRequired` flag is set to "false", the value you enter is set during resource creation. // Example: `false` IsRequired *bool `mandatory:"false" json:"isRequired"` }
CreateTagDefaultDetails The representation of CreateTagDefaultDetails
func (CreateTagDefaultDetails) String ¶
func (m CreateTagDefaultDetails) String() string
type CreateTagDefaultRequest ¶
type CreateTagDefaultRequest struct { // Request object for creating a new tag default. CreateTagDefaultDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateTagDefaultRequest wrapper for the CreateTagDefault operation
func (CreateTagDefaultRequest) HTTPRequest ¶
func (request CreateTagDefaultRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateTagDefaultRequest) RetryPolicy ¶
func (request CreateTagDefaultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateTagDefaultRequest) String ¶
func (request CreateTagDefaultRequest) String() string
type CreateTagDefaultResponse ¶
type CreateTagDefaultResponse struct { // The underlying http response RawResponse *http.Response // The TagDefault instance TagDefault `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"` }
CreateTagDefaultResponse wrapper for the CreateTagDefault operation
func (CreateTagDefaultResponse) HTTPResponse ¶
func (response CreateTagDefaultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateTagDefaultResponse) String ¶
func (response CreateTagDefaultResponse) String() string
type CreateTagDetails ¶ added in v1.1.0
type CreateTagDetails struct { // The name you assign to the tag during creation. This is the tag key definition. // The name must be unique within the tag namespace and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the tag during creation. Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Indicates whether the tag is enabled for cost tracking. IsCostTracking *bool `mandatory:"false" json:"isCostTracking"` // The tag must have a value type, which is specified with a validator. Tags can use either a // static value or a list of possible values. Static values are entered by a user applying the tag // to a resource. Lists are created by you and the user must apply a value from the list. Lists // are validiated. // If you use the default validiator (or don't define a validator), the user applying the tag // enters a value. No additional validation is performed. // To clear the validator, call UpdateTag with // DefaultTagDefinitionValidator (https://docs.cloud.oracle.com/api/#/en/identity/latest/datatypes/DefaultTagDefinitionValidator). Validator BaseTagDefinitionValidator `mandatory:"false" json:"validator"` }
CreateTagDetails The representation of CreateTagDetails
func (CreateTagDetails) String ¶ added in v1.1.0
func (m CreateTagDetails) String() string
func (*CreateTagDetails) UnmarshalJSON ¶
func (m *CreateTagDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type CreateTagNamespaceDetails ¶ added in v1.1.0
type CreateTagNamespaceDetails struct { // The OCID of the tenancy containing the tag namespace. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the tag namespace during creation. It must be unique across all tag namespaces in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the tag namespace during creation. Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateTagNamespaceDetails The representation of CreateTagNamespaceDetails
func (CreateTagNamespaceDetails) String ¶ added in v1.1.0
func (m CreateTagNamespaceDetails) String() string
type CreateTagNamespaceRequest ¶ added in v1.1.0
type CreateTagNamespaceRequest struct { // Request object for creating a new tag namespace. CreateTagNamespaceDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateTagNamespaceRequest wrapper for the CreateTagNamespace operation
func (CreateTagNamespaceRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateTagNamespaceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateTagNamespaceRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateTagNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateTagNamespaceRequest) String ¶ added in v1.1.0
func (request CreateTagNamespaceRequest) String() string
type CreateTagNamespaceResponse ¶ added in v1.1.0
type CreateTagNamespaceResponse struct { // The underlying http response RawResponse *http.Response // The TagNamespace instance TagNamespace `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"` }
CreateTagNamespaceResponse wrapper for the CreateTagNamespace operation
func (CreateTagNamespaceResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateTagNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateTagNamespaceResponse) String ¶ added in v1.1.0
func (response CreateTagNamespaceResponse) String() string
type CreateTagRequest ¶ added in v1.1.0
type CreateTagRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // Request object for creating a new tag in the specified tag namespace. CreateTagDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateTagRequest wrapper for the CreateTag operation
func (CreateTagRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateTagRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateTagRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateTagRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateTagRequest) String ¶ added in v1.1.0
func (request CreateTagRequest) String() string
type CreateTagResponse ¶ added in v1.1.0
type CreateTagResponse struct { // The underlying http response RawResponse *http.Response // The Tag instance Tag `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"` }
CreateTagResponse wrapper for the CreateTag operation
func (CreateTagResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateTagResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateTagResponse) String ¶ added in v1.1.0
func (response CreateTagResponse) String() string
type CreateUserDetails ¶
type CreateUserDetails struct { // The OCID of the tenancy containing the user. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the user during creation. This is the user's login for the Console. // The name must be unique across all users in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the user during creation. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // The email you assign to the user. Has to be unique across the tenancy. Email *string `mandatory:"false" json:"email"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateUserDetails The representation of CreateUserDetails
func (CreateUserDetails) String ¶
func (m CreateUserDetails) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { // Request object for creating a new user. CreateUserDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
CreateUserRequest wrapper for the CreateUser operation
func (CreateUserRequest) HTTPRequest ¶ added in v1.3.0
func (request CreateUserRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateUserRequest) RetryPolicy ¶ added in v1.3.0
func (request CreateUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateUserRequest) String ¶
func (request CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { // The underlying http response RawResponse *http.Response // The User instance User `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"` }
CreateUserResponse wrapper for the CreateUser operation
func (CreateUserResponse) HTTPResponse ¶ added in v1.3.0
func (response CreateUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateUserResponse) String ¶
func (response CreateUserResponse) String() string
type CustomerSecretKey ¶
type CustomerSecretKey struct { // The secret key. Key *string `mandatory:"false" json:"key"` // The OCID of the secret key. Id *string `mandatory:"false" json:"id"` // The OCID of the user the password belongs to. UserId *string `mandatory:"false" json:"userId"` // The display name you assign to the secret key. Does not have to be unique, and it's changeable. DisplayName *string `mandatory:"false" json:"displayName"` // Date and time the `CustomerSecretKey` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date and time when this password will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` // The secret key's current state. After creating a secret key, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState CustomerSecretKeyLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
CustomerSecretKey A `CustomerSecretKey` is an Oracle-provided key for using the Object Storage Service's Amazon S3 compatible API (https://docs.cloud.oracle.com/Content/Object/Tasks/s3compatibleapi.htm). A user can have up to two secret keys at a time. **Note:** The secret key is always an Oracle-generated string; you can't change it to a string of your choice. For more information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
func (CustomerSecretKey) String ¶
func (m CustomerSecretKey) String() string
type CustomerSecretKeyLifecycleStateEnum ¶
type CustomerSecretKeyLifecycleStateEnum string
CustomerSecretKeyLifecycleStateEnum Enum with underlying type: string
const ( CustomerSecretKeyLifecycleStateCreating CustomerSecretKeyLifecycleStateEnum = "CREATING" CustomerSecretKeyLifecycleStateActive CustomerSecretKeyLifecycleStateEnum = "ACTIVE" CustomerSecretKeyLifecycleStateInactive CustomerSecretKeyLifecycleStateEnum = "INACTIVE" CustomerSecretKeyLifecycleStateDeleting CustomerSecretKeyLifecycleStateEnum = "DELETING" CustomerSecretKeyLifecycleStateDeleted CustomerSecretKeyLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for CustomerSecretKeyLifecycleStateEnum
func GetCustomerSecretKeyLifecycleStateEnumValues ¶
func GetCustomerSecretKeyLifecycleStateEnumValues() []CustomerSecretKeyLifecycleStateEnum
GetCustomerSecretKeyLifecycleStateEnumValues Enumerates the set of values for CustomerSecretKeyLifecycleStateEnum
type CustomerSecretKeySummary ¶
type CustomerSecretKeySummary struct { // The OCID of the secret key. Id *string `mandatory:"false" json:"id"` // The OCID of the user the password belongs to. UserId *string `mandatory:"false" json:"userId"` // The displayName you assign to the secret key. Does not have to be unique, and it's changeable. DisplayName *string `mandatory:"false" json:"displayName"` // Date and time the `CustomerSecretKey` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date and time when this password will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` // The secret key's current state. After creating a secret key, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState CustomerSecretKeySummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
CustomerSecretKeySummary As the name suggests, a `CustomerSecretKeySummary` object contains information about a `CustomerSecretKey`. A `CustomerSecretKey` is an Oracle-provided key for using the Object Storage Service's Amazon S3 compatible API.
func (CustomerSecretKeySummary) String ¶
func (m CustomerSecretKeySummary) String() string
type CustomerSecretKeySummaryLifecycleStateEnum ¶
type CustomerSecretKeySummaryLifecycleStateEnum string
CustomerSecretKeySummaryLifecycleStateEnum Enum with underlying type: string
const ( CustomerSecretKeySummaryLifecycleStateCreating CustomerSecretKeySummaryLifecycleStateEnum = "CREATING" CustomerSecretKeySummaryLifecycleStateActive CustomerSecretKeySummaryLifecycleStateEnum = "ACTIVE" CustomerSecretKeySummaryLifecycleStateInactive CustomerSecretKeySummaryLifecycleStateEnum = "INACTIVE" CustomerSecretKeySummaryLifecycleStateDeleting CustomerSecretKeySummaryLifecycleStateEnum = "DELETING" CustomerSecretKeySummaryLifecycleStateDeleted CustomerSecretKeySummaryLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for CustomerSecretKeySummaryLifecycleStateEnum
func GetCustomerSecretKeySummaryLifecycleStateEnumValues ¶
func GetCustomerSecretKeySummaryLifecycleStateEnumValues() []CustomerSecretKeySummaryLifecycleStateEnum
GetCustomerSecretKeySummaryLifecycleStateEnumValues Enumerates the set of values for CustomerSecretKeySummaryLifecycleStateEnum
type DefaultTagDefinitionValidator ¶
type DefaultTagDefinitionValidator struct { }
DefaultTagDefinitionValidator Use this validator to clear any existing validator on the tag key definition with the UpdateTag operation. Using this `validatorType` is the same as not setting any value on the validator field. The resultant value for `validatorType` returned in the response body is `null`.
func (DefaultTagDefinitionValidator) MarshalJSON ¶
func (m DefaultTagDefinitionValidator) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (DefaultTagDefinitionValidator) String ¶
func (m DefaultTagDefinitionValidator) String() string
type DeleteApiKeyRequest ¶
type DeleteApiKeyRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The key's fingerprint. Fingerprint *string `mandatory:"true" contributesTo:"path" name:"fingerprint"` // 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"` // 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 }
DeleteApiKeyRequest wrapper for the DeleteApiKey operation
func (DeleteApiKeyRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteApiKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteApiKeyRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteApiKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteApiKeyRequest) String ¶
func (request DeleteApiKeyRequest) String() string
type DeleteApiKeyResponse ¶
type DeleteApiKeyResponse 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"` }
DeleteApiKeyResponse wrapper for the DeleteApiKey operation
func (DeleteApiKeyResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteApiKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteApiKeyResponse) String ¶
func (response DeleteApiKeyResponse) String() string
type DeleteAuthTokenRequest ¶ added in v1.6.0
type DeleteAuthTokenRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the auth token. AuthTokenId *string `mandatory:"true" contributesTo:"path" name:"authTokenId"` // 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"` // 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 }
DeleteAuthTokenRequest wrapper for the DeleteAuthToken operation
func (DeleteAuthTokenRequest) HTTPRequest ¶ added in v1.6.0
func (request DeleteAuthTokenRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteAuthTokenRequest) RetryPolicy ¶ added in v1.6.0
func (request DeleteAuthTokenRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteAuthTokenRequest) String ¶ added in v1.6.0
func (request DeleteAuthTokenRequest) String() string
type DeleteAuthTokenResponse ¶ added in v1.6.0
type DeleteAuthTokenResponse 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"` }
DeleteAuthTokenResponse wrapper for the DeleteAuthToken operation
func (DeleteAuthTokenResponse) HTTPResponse ¶ added in v1.6.0
func (response DeleteAuthTokenResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteAuthTokenResponse) String ¶ added in v1.6.0
func (response DeleteAuthTokenResponse) String() string
type DeleteCompartmentRequest ¶
type DeleteCompartmentRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" name:"compartmentId"` // 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"` // 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 }
DeleteCompartmentRequest wrapper for the DeleteCompartment operation
func (DeleteCompartmentRequest) HTTPRequest ¶
func (request DeleteCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteCompartmentRequest) RetryPolicy ¶
func (request DeleteCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteCompartmentRequest) String ¶
func (request DeleteCompartmentRequest) String() string
type DeleteCompartmentResponse ¶
type DeleteCompartmentResponse 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"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteCompartmentResponse wrapper for the DeleteCompartment operation
func (DeleteCompartmentResponse) HTTPResponse ¶
func (response DeleteCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteCompartmentResponse) String ¶
func (response DeleteCompartmentResponse) String() string
type DeleteCustomerSecretKeyRequest ¶
type DeleteCustomerSecretKeyRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the secret key. CustomerSecretKeyId *string `mandatory:"true" contributesTo:"path" name:"customerSecretKeyId"` // 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"` // 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 }
DeleteCustomerSecretKeyRequest wrapper for the DeleteCustomerSecretKey operation
func (DeleteCustomerSecretKeyRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteCustomerSecretKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteCustomerSecretKeyRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteCustomerSecretKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteCustomerSecretKeyRequest) String ¶
func (request DeleteCustomerSecretKeyRequest) String() string
type DeleteCustomerSecretKeyResponse ¶
type DeleteCustomerSecretKeyResponse 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"` }
DeleteCustomerSecretKeyResponse wrapper for the DeleteCustomerSecretKey operation
func (DeleteCustomerSecretKeyResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteCustomerSecretKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteCustomerSecretKeyResponse) String ¶
func (response DeleteCustomerSecretKeyResponse) String() string
type DeleteDynamicGroupRequest ¶ added in v1.1.0
type DeleteDynamicGroupRequest struct { // The OCID of the dynamic group. DynamicGroupId *string `mandatory:"true" contributesTo:"path" name:"dynamicGroupId"` // 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"` // 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 }
DeleteDynamicGroupRequest wrapper for the DeleteDynamicGroup operation
func (DeleteDynamicGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteDynamicGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDynamicGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteDynamicGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDynamicGroupRequest) String ¶ added in v1.1.0
func (request DeleteDynamicGroupRequest) String() string
type DeleteDynamicGroupResponse ¶ added in v1.1.0
type DeleteDynamicGroupResponse 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"` }
DeleteDynamicGroupResponse wrapper for the DeleteDynamicGroup operation
func (DeleteDynamicGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteDynamicGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDynamicGroupResponse) String ¶ added in v1.1.0
func (response DeleteDynamicGroupResponse) String() string
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { // The OCID of the group. GroupId *string `mandatory:"true" contributesTo:"path" name:"groupId"` // 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"` // 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 }
DeleteGroupRequest wrapper for the DeleteGroup operation
func (DeleteGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteGroupRequest) String ¶
func (request DeleteGroupRequest) String() string
type DeleteGroupResponse ¶
type DeleteGroupResponse 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"` }
DeleteGroupResponse wrapper for the DeleteGroup operation
func (DeleteGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteGroupResponse) String ¶
func (response DeleteGroupResponse) String() string
type DeleteIdentityProviderRequest ¶
type DeleteIdentityProviderRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // 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"` // 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 }
DeleteIdentityProviderRequest wrapper for the DeleteIdentityProvider operation
func (DeleteIdentityProviderRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteIdentityProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteIdentityProviderRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteIdentityProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteIdentityProviderRequest) String ¶
func (request DeleteIdentityProviderRequest) String() string
type DeleteIdentityProviderResponse ¶
type DeleteIdentityProviderResponse 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"` }
DeleteIdentityProviderResponse wrapper for the DeleteIdentityProvider operation
func (DeleteIdentityProviderResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteIdentityProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteIdentityProviderResponse) String ¶
func (response DeleteIdentityProviderResponse) String() string
type DeleteIdpGroupMappingRequest ¶
type DeleteIdpGroupMappingRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // The OCID of the group mapping. MappingId *string `mandatory:"true" contributesTo:"path" name:"mappingId"` // 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"` // 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 }
DeleteIdpGroupMappingRequest wrapper for the DeleteIdpGroupMapping operation
func (DeleteIdpGroupMappingRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteIdpGroupMappingRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteIdpGroupMappingRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteIdpGroupMappingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteIdpGroupMappingRequest) String ¶
func (request DeleteIdpGroupMappingRequest) String() string
type DeleteIdpGroupMappingResponse ¶
type DeleteIdpGroupMappingResponse 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"` }
DeleteIdpGroupMappingResponse wrapper for the DeleteIdpGroupMapping operation
func (DeleteIdpGroupMappingResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteIdpGroupMappingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteIdpGroupMappingResponse) String ¶
func (response DeleteIdpGroupMappingResponse) String() string
type DeleteMfaTotpDeviceRequest ¶
type DeleteMfaTotpDeviceRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the MFA TOTP device. MfaTotpDeviceId *string `mandatory:"true" contributesTo:"path" name:"mfaTotpDeviceId"` // 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"` // 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 }
DeleteMfaTotpDeviceRequest wrapper for the DeleteMfaTotpDevice operation
func (DeleteMfaTotpDeviceRequest) HTTPRequest ¶
func (request DeleteMfaTotpDeviceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteMfaTotpDeviceRequest) RetryPolicy ¶
func (request DeleteMfaTotpDeviceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteMfaTotpDeviceRequest) String ¶
func (request DeleteMfaTotpDeviceRequest) String() string
type DeleteMfaTotpDeviceResponse ¶
type DeleteMfaTotpDeviceResponse 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"` }
DeleteMfaTotpDeviceResponse wrapper for the DeleteMfaTotpDevice operation
func (DeleteMfaTotpDeviceResponse) HTTPResponse ¶
func (response DeleteMfaTotpDeviceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteMfaTotpDeviceResponse) String ¶
func (response DeleteMfaTotpDeviceResponse) String() string
type DeleteNetworkSourceRequest ¶
type DeleteNetworkSourceRequest struct { // The OCID of the network source. NetworkSourceId *string `mandatory:"true" contributesTo:"path" name:"networkSourceId"` // 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"` // 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 }
DeleteNetworkSourceRequest wrapper for the DeleteNetworkSource operation
func (DeleteNetworkSourceRequest) HTTPRequest ¶
func (request DeleteNetworkSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteNetworkSourceRequest) RetryPolicy ¶
func (request DeleteNetworkSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteNetworkSourceRequest) String ¶
func (request DeleteNetworkSourceRequest) String() string
type DeleteNetworkSourceResponse ¶
type DeleteNetworkSourceResponse 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"` }
DeleteNetworkSourceResponse wrapper for the DeleteNetworkSource operation
func (DeleteNetworkSourceResponse) HTTPResponse ¶
func (response DeleteNetworkSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteNetworkSourceResponse) String ¶
func (response DeleteNetworkSourceResponse) String() string
type DeleteOAuthClientCredentialRequest ¶
type DeleteOAuthClientCredentialRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The ID of the Oauth credential. Oauth2ClientCredentialId *string `mandatory:"true" contributesTo:"path" name:"oauth2ClientCredentialId"` // 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"` // 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 }
DeleteOAuthClientCredentialRequest wrapper for the DeleteOAuthClientCredential operation
func (DeleteOAuthClientCredentialRequest) HTTPRequest ¶
func (request DeleteOAuthClientCredentialRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteOAuthClientCredentialRequest) RetryPolicy ¶
func (request DeleteOAuthClientCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteOAuthClientCredentialRequest) String ¶
func (request DeleteOAuthClientCredentialRequest) String() string
type DeleteOAuthClientCredentialResponse ¶
type DeleteOAuthClientCredentialResponse 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"` }
DeleteOAuthClientCredentialResponse wrapper for the DeleteOAuthClientCredential operation
func (DeleteOAuthClientCredentialResponse) HTTPResponse ¶
func (response DeleteOAuthClientCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteOAuthClientCredentialResponse) String ¶
func (response DeleteOAuthClientCredentialResponse) String() string
type DeletePolicyRequest ¶
type DeletePolicyRequest struct { // The OCID of the policy. PolicyId *string `mandatory:"true" contributesTo:"path" name:"policyId"` // 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"` // 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 }
DeletePolicyRequest wrapper for the DeletePolicy operation
func (DeletePolicyRequest) HTTPRequest ¶ added in v1.3.0
func (request DeletePolicyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeletePolicyRequest) RetryPolicy ¶ added in v1.3.0
func (request DeletePolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeletePolicyRequest) String ¶
func (request DeletePolicyRequest) String() string
type DeletePolicyResponse ¶
type DeletePolicyResponse 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"` }
DeletePolicyResponse wrapper for the DeletePolicy operation
func (DeletePolicyResponse) HTTPResponse ¶ added in v1.3.0
func (response DeletePolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeletePolicyResponse) String ¶
func (response DeletePolicyResponse) String() string
type DeleteSmtpCredentialRequest ¶ added in v1.2.0
type DeleteSmtpCredentialRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the SMTP credential. SmtpCredentialId *string `mandatory:"true" contributesTo:"path" name:"smtpCredentialId"` // 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"` // 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 }
DeleteSmtpCredentialRequest wrapper for the DeleteSmtpCredential operation
func (DeleteSmtpCredentialRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteSmtpCredentialRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteSmtpCredentialRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteSmtpCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteSmtpCredentialRequest) String ¶ added in v1.2.0
func (request DeleteSmtpCredentialRequest) String() string
type DeleteSmtpCredentialResponse ¶ added in v1.2.0
type DeleteSmtpCredentialResponse 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"` }
DeleteSmtpCredentialResponse wrapper for the DeleteSmtpCredential operation
func (DeleteSmtpCredentialResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteSmtpCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteSmtpCredentialResponse) String ¶ added in v1.2.0
func (response DeleteSmtpCredentialResponse) String() string
type DeleteSwiftPasswordRequest ¶
type DeleteSwiftPasswordRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the Swift password. SwiftPasswordId *string `mandatory:"true" contributesTo:"path" name:"swiftPasswordId"` // 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"` // 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 }
DeleteSwiftPasswordRequest wrapper for the DeleteSwiftPassword operation
func (DeleteSwiftPasswordRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteSwiftPasswordRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteSwiftPasswordRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteSwiftPasswordRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteSwiftPasswordRequest) String ¶
func (request DeleteSwiftPasswordRequest) String() string
type DeleteSwiftPasswordResponse ¶
type DeleteSwiftPasswordResponse 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"` }
DeleteSwiftPasswordResponse wrapper for the DeleteSwiftPassword operation
func (DeleteSwiftPasswordResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteSwiftPasswordResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteSwiftPasswordResponse) String ¶
func (response DeleteSwiftPasswordResponse) String() string
type DeleteTagDefaultRequest ¶
type DeleteTagDefaultRequest struct { // The OCID of the tag default. TagDefaultId *string `mandatory:"true" contributesTo:"path" name:"tagDefaultId"` // 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"` // 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"` // 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 }
DeleteTagDefaultRequest wrapper for the DeleteTagDefault operation
func (DeleteTagDefaultRequest) HTTPRequest ¶
func (request DeleteTagDefaultRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteTagDefaultRequest) RetryPolicy ¶
func (request DeleteTagDefaultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteTagDefaultRequest) String ¶
func (request DeleteTagDefaultRequest) String() string
type DeleteTagDefaultResponse ¶
type DeleteTagDefaultResponse 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"` }
DeleteTagDefaultResponse wrapper for the DeleteTagDefault operation
func (DeleteTagDefaultResponse) HTTPResponse ¶
func (response DeleteTagDefaultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteTagDefaultResponse) String ¶
func (response DeleteTagDefaultResponse) String() string
type DeleteTagNamespaceRequest ¶
type DeleteTagNamespaceRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // 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"` // 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 }
DeleteTagNamespaceRequest wrapper for the DeleteTagNamespace operation
func (DeleteTagNamespaceRequest) HTTPRequest ¶
func (request DeleteTagNamespaceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteTagNamespaceRequest) RetryPolicy ¶
func (request DeleteTagNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteTagNamespaceRequest) String ¶
func (request DeleteTagNamespaceRequest) String() string
type DeleteTagNamespaceResponse ¶
type DeleteTagNamespaceResponse 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"` }
DeleteTagNamespaceResponse wrapper for the DeleteTagNamespace operation
func (DeleteTagNamespaceResponse) HTTPResponse ¶
func (response DeleteTagNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteTagNamespaceResponse) String ¶
func (response DeleteTagNamespaceResponse) String() string
type DeleteTagRequest ¶
type DeleteTagRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // The name of the tag. TagName *string `mandatory:"true" contributesTo:"path" name:"tagName"` // 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"` // 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 }
DeleteTagRequest wrapper for the DeleteTag operation
func (DeleteTagRequest) HTTPRequest ¶
func (request DeleteTagRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteTagRequest) RetryPolicy ¶
func (request DeleteTagRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteTagRequest) String ¶
func (request DeleteTagRequest) String() string
type DeleteTagResponse ¶
type DeleteTagResponse 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"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
DeleteTagResponse wrapper for the DeleteTag operation
func (DeleteTagResponse) HTTPResponse ¶
func (response DeleteTagResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteTagResponse) String ¶
func (response DeleteTagResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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"` // 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 }
DeleteUserRequest wrapper for the DeleteUser operation
func (DeleteUserRequest) HTTPRequest ¶ added in v1.3.0
func (request DeleteUserRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteUserRequest) RetryPolicy ¶ added in v1.3.0
func (request DeleteUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteUserRequest) String ¶
func (request DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse 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"` }
DeleteUserResponse wrapper for the DeleteUser operation
func (DeleteUserResponse) HTTPResponse ¶ added in v1.3.0
func (response DeleteUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteUserResponse) String ¶
func (response DeleteUserResponse) String() string
type DynamicGroup ¶ added in v1.1.0
type DynamicGroup struct { // The OCID of the group. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the group. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the group during creation. The name must be unique across all groups in // the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the group. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // A rule string that defines which instance certificates will be matched. // For syntax, see Managing Dynamic Groups (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingdynamicgroups.htm). MatchingRule *string `mandatory:"true" json:"matchingRule"` // Date and time the group was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The group's current state. After creating a group, make sure its `lifecycleState` changes from CREATING to // ACTIVE before using it. LifecycleState DynamicGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
DynamicGroup A dynamic group defines a matching rule. Every bare metal or virtual machine instance is deployed with an instance certificate. The certificate contains metadata about the instance. This includes the instance OCID and the compartment OCID, along with a few other optional properties. When an API call is made using this instance certificate as the authenticator, the certificate can be matched to one or multiple dynamic groups. The instance can then get access to the API based on the permissions granted in policies written for the dynamic groups. This works like regular user/group membership. But in that case, the membership is a static relationship, whereas in a dynamic group, the membership of an instance certificate to a dynamic group is determined during runtime. For more information, see Managing Dynamic Groups (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingdynamicgroups.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
func (DynamicGroup) String ¶ added in v1.1.0
func (m DynamicGroup) String() string
type DynamicGroupLifecycleStateEnum ¶ added in v1.1.0
type DynamicGroupLifecycleStateEnum string
DynamicGroupLifecycleStateEnum Enum with underlying type: string
const ( DynamicGroupLifecycleStateCreating DynamicGroupLifecycleStateEnum = "CREATING" DynamicGroupLifecycleStateActive DynamicGroupLifecycleStateEnum = "ACTIVE" DynamicGroupLifecycleStateInactive DynamicGroupLifecycleStateEnum = "INACTIVE" DynamicGroupLifecycleStateDeleting DynamicGroupLifecycleStateEnum = "DELETING" DynamicGroupLifecycleStateDeleted DynamicGroupLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for DynamicGroupLifecycleStateEnum
func GetDynamicGroupLifecycleStateEnumValues ¶ added in v1.1.0
func GetDynamicGroupLifecycleStateEnumValues() []DynamicGroupLifecycleStateEnum
GetDynamicGroupLifecycleStateEnumValues Enumerates the set of values for DynamicGroupLifecycleStateEnum
type EnumTagDefinitionValidator ¶
type EnumTagDefinitionValidator struct { // The list of allowed values for a definedTag value. Values []string `mandatory:"false" json:"values"` }
EnumTagDefinitionValidator Used to validate the value set for a defined tag and contains the list of allowable `values`. You must specify at least one valid value in the `values` array. You can't have blank or or empty strings (`""`). Duplicate values are not allowed.
func (EnumTagDefinitionValidator) MarshalJSON ¶
func (m EnumTagDefinitionValidator) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (EnumTagDefinitionValidator) String ¶
func (m EnumTagDefinitionValidator) String() string
type FaultDomain ¶
type FaultDomain struct { // The name of the Fault Domain. Name *string `mandatory:"false" json:"name"` // The OCID of the Fault Domain. Id *string `mandatory:"false" json:"id"` // The OCID of the compartment. Currently only tenancy (root) compartment can be provided. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The name of the availabilityDomain where the Fault Domain belongs. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` }
FaultDomain A Fault Domain is a logical grouping of hardware and infrastructure within an Availability Domain that can become unavailable in its entirety either due to hardware failure such as Top-of-rack (TOR) switch failure or due to planned software maintenance such as security updates that reboot your instances.
func (FaultDomain) String ¶
func (m FaultDomain) String() string
type FullyQualifiedScope ¶
type FullyQualifiedScope struct { // Audience for the given scope context. Audience *string `mandatory:"true" json:"audience"` // Allowed permission scope for the given context. Scope *string `mandatory:"true" json:"scope"` }
FullyQualifiedScope The representation of FullyQualifiedScope
func (FullyQualifiedScope) String ¶
func (m FullyQualifiedScope) String() string
type GenerateTotpSeedRequest ¶
type GenerateTotpSeedRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the MFA TOTP device. MfaTotpDeviceId *string `mandatory:"true" contributesTo:"path" name:"mfaTotpDeviceId"` // 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"` // 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 }
GenerateTotpSeedRequest wrapper for the GenerateTotpSeed operation
func (GenerateTotpSeedRequest) HTTPRequest ¶
func (request GenerateTotpSeedRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GenerateTotpSeedRequest) RetryPolicy ¶
func (request GenerateTotpSeedRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GenerateTotpSeedRequest) String ¶
func (request GenerateTotpSeedRequest) String() string
type GenerateTotpSeedResponse ¶
type GenerateTotpSeedResponse struct { // The underlying http response RawResponse *http.Response // The MfaTotpDevice instance MfaTotpDevice `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"` }
GenerateTotpSeedResponse wrapper for the GenerateTotpSeed operation
func (GenerateTotpSeedResponse) HTTPResponse ¶
func (response GenerateTotpSeedResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GenerateTotpSeedResponse) String ¶
func (response GenerateTotpSeedResponse) String() string
type GetAuthenticationPolicyRequest ¶
type GetAuthenticationPolicyRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" 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 }
GetAuthenticationPolicyRequest wrapper for the GetAuthenticationPolicy operation
func (GetAuthenticationPolicyRequest) HTTPRequest ¶
func (request GetAuthenticationPolicyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetAuthenticationPolicyRequest) RetryPolicy ¶
func (request GetAuthenticationPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetAuthenticationPolicyRequest) String ¶
func (request GetAuthenticationPolicyRequest) String() string
type GetAuthenticationPolicyResponse ¶
type GetAuthenticationPolicyResponse struct { // The underlying http response RawResponse *http.Response // The AuthenticationPolicy instance AuthenticationPolicy `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"` }
GetAuthenticationPolicyResponse wrapper for the GetAuthenticationPolicy operation
func (GetAuthenticationPolicyResponse) HTTPResponse ¶
func (response GetAuthenticationPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAuthenticationPolicyResponse) String ¶
func (response GetAuthenticationPolicyResponse) String() string
type GetCompartmentRequest ¶
type GetCompartmentRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" 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 }
GetCompartmentRequest wrapper for the GetCompartment operation
func (GetCompartmentRequest) HTTPRequest ¶ added in v1.3.0
func (request GetCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetCompartmentRequest) RetryPolicy ¶ added in v1.3.0
func (request GetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetCompartmentRequest) String ¶
func (request GetCompartmentRequest) String() string
type GetCompartmentResponse ¶
type GetCompartmentResponse struct { // The underlying http response RawResponse *http.Response // The Compartment instance Compartment `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"` }
GetCompartmentResponse wrapper for the GetCompartment operation
func (GetCompartmentResponse) HTTPResponse ¶ added in v1.3.0
func (response GetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetCompartmentResponse) String ¶
func (response GetCompartmentResponse) String() string
type GetDynamicGroupRequest ¶ added in v1.1.0
type GetDynamicGroupRequest struct { // The OCID of the dynamic group. DynamicGroupId *string `mandatory:"true" contributesTo:"path" name:"dynamicGroupId"` // 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 }
GetDynamicGroupRequest wrapper for the GetDynamicGroup operation
func (GetDynamicGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request GetDynamicGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDynamicGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request GetDynamicGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDynamicGroupRequest) String ¶ added in v1.1.0
func (request GetDynamicGroupRequest) String() string
type GetDynamicGroupResponse ¶ added in v1.1.0
type GetDynamicGroupResponse struct { // The underlying http response RawResponse *http.Response // The DynamicGroup instance DynamicGroup `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"` }
GetDynamicGroupResponse wrapper for the GetDynamicGroup operation
func (GetDynamicGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response GetDynamicGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDynamicGroupResponse) String ¶ added in v1.1.0
func (response GetDynamicGroupResponse) String() string
type GetGroupRequest ¶
type GetGroupRequest struct { // The OCID of the group. GroupId *string `mandatory:"true" contributesTo:"path" name:"groupId"` // 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 }
GetGroupRequest wrapper for the GetGroup operation
func (GetGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request GetGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request GetGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetGroupRequest) String ¶
func (request GetGroupRequest) String() string
type GetGroupResponse ¶
type GetGroupResponse struct { // The underlying http response RawResponse *http.Response // The Group instance Group `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"` }
GetGroupResponse wrapper for the GetGroup operation
func (GetGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response GetGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetGroupResponse) String ¶
func (response GetGroupResponse) String() string
type GetIdentityProviderRequest ¶
type GetIdentityProviderRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // 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 }
GetIdentityProviderRequest wrapper for the GetIdentityProvider operation
func (GetIdentityProviderRequest) HTTPRequest ¶ added in v1.3.0
func (request GetIdentityProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetIdentityProviderRequest) RetryPolicy ¶ added in v1.3.0
func (request GetIdentityProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetIdentityProviderRequest) String ¶
func (request GetIdentityProviderRequest) String() string
type GetIdentityProviderResponse ¶
type GetIdentityProviderResponse struct { // The underlying http response RawResponse *http.Response // The IdentityProvider instance IdentityProvider `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"` }
GetIdentityProviderResponse wrapper for the GetIdentityProvider operation
func (GetIdentityProviderResponse) HTTPResponse ¶ added in v1.3.0
func (response GetIdentityProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetIdentityProviderResponse) String ¶
func (response GetIdentityProviderResponse) String() string
type GetIdpGroupMappingRequest ¶
type GetIdpGroupMappingRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // The OCID of the group mapping. MappingId *string `mandatory:"true" contributesTo:"path" name:"mappingId"` // 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 }
GetIdpGroupMappingRequest wrapper for the GetIdpGroupMapping operation
func (GetIdpGroupMappingRequest) HTTPRequest ¶ added in v1.3.0
func (request GetIdpGroupMappingRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetIdpGroupMappingRequest) RetryPolicy ¶ added in v1.3.0
func (request GetIdpGroupMappingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetIdpGroupMappingRequest) String ¶
func (request GetIdpGroupMappingRequest) String() string
type GetIdpGroupMappingResponse ¶
type GetIdpGroupMappingResponse struct { // The underlying http response RawResponse *http.Response // The IdpGroupMapping instance IdpGroupMapping `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"` }
GetIdpGroupMappingResponse wrapper for the GetIdpGroupMapping operation
func (GetIdpGroupMappingResponse) HTTPResponse ¶ added in v1.3.0
func (response GetIdpGroupMappingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetIdpGroupMappingResponse) String ¶
func (response GetIdpGroupMappingResponse) String() string
type GetMfaTotpDeviceRequest ¶
type GetMfaTotpDeviceRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the MFA TOTP device. MfaTotpDeviceId *string `mandatory:"true" contributesTo:"path" name:"mfaTotpDeviceId"` // 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 }
GetMfaTotpDeviceRequest wrapper for the GetMfaTotpDevice operation
func (GetMfaTotpDeviceRequest) HTTPRequest ¶
func (request GetMfaTotpDeviceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetMfaTotpDeviceRequest) RetryPolicy ¶
func (request GetMfaTotpDeviceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetMfaTotpDeviceRequest) String ¶
func (request GetMfaTotpDeviceRequest) String() string
type GetMfaTotpDeviceResponse ¶
type GetMfaTotpDeviceResponse struct { // The underlying http response RawResponse *http.Response // The MfaTotpDeviceSummary instance MfaTotpDeviceSummary `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"` }
GetMfaTotpDeviceResponse wrapper for the GetMfaTotpDevice operation
func (GetMfaTotpDeviceResponse) HTTPResponse ¶
func (response GetMfaTotpDeviceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetMfaTotpDeviceResponse) String ¶
func (response GetMfaTotpDeviceResponse) String() string
type GetNetworkSourceRequest ¶
type GetNetworkSourceRequest struct { // The OCID of the network source. NetworkSourceId *string `mandatory:"true" contributesTo:"path" name:"networkSourceId"` // 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 }
GetNetworkSourceRequest wrapper for the GetNetworkSource operation
func (GetNetworkSourceRequest) HTTPRequest ¶
func (request GetNetworkSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetNetworkSourceRequest) RetryPolicy ¶
func (request GetNetworkSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetNetworkSourceRequest) String ¶
func (request GetNetworkSourceRequest) String() string
type GetNetworkSourceResponse ¶
type GetNetworkSourceResponse struct { // The underlying http response RawResponse *http.Response // The NetworkSources instance NetworkSources `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"` }
GetNetworkSourceResponse wrapper for the GetNetworkSource operation
func (GetNetworkSourceResponse) HTTPResponse ¶
func (response GetNetworkSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetNetworkSourceResponse) String ¶
func (response GetNetworkSourceResponse) String() string
type GetPolicyRequest ¶
type GetPolicyRequest struct { // The OCID of the policy. PolicyId *string `mandatory:"true" contributesTo:"path" name:"policyId"` // 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 }
GetPolicyRequest wrapper for the GetPolicy operation
func (GetPolicyRequest) HTTPRequest ¶ added in v1.3.0
func (request GetPolicyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetPolicyRequest) RetryPolicy ¶ added in v1.3.0
func (request GetPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetPolicyRequest) String ¶
func (request GetPolicyRequest) String() string
type GetPolicyResponse ¶
type GetPolicyResponse struct { // The underlying http response RawResponse *http.Response // The Policy instance Policy `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"` }
GetPolicyResponse wrapper for the GetPolicy operation
func (GetPolicyResponse) HTTPResponse ¶ added in v1.3.0
func (response GetPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetPolicyResponse) String ¶
func (response GetPolicyResponse) String() string
type GetTagDefaultRequest ¶
type GetTagDefaultRequest struct { // The OCID of the tag default. TagDefaultId *string `mandatory:"true" contributesTo:"path" name:"tagDefaultId"` // 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 }
GetTagDefaultRequest wrapper for the GetTagDefault operation
func (GetTagDefaultRequest) HTTPRequest ¶
func (request GetTagDefaultRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetTagDefaultRequest) RetryPolicy ¶
func (request GetTagDefaultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetTagDefaultRequest) String ¶
func (request GetTagDefaultRequest) String() string
type GetTagDefaultResponse ¶
type GetTagDefaultResponse struct { // The underlying http response RawResponse *http.Response // The TagDefault instance TagDefault `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"` }
GetTagDefaultResponse wrapper for the GetTagDefault operation
func (GetTagDefaultResponse) HTTPResponse ¶
func (response GetTagDefaultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetTagDefaultResponse) String ¶
func (response GetTagDefaultResponse) String() string
type GetTagNamespaceRequest ¶ added in v1.1.0
type GetTagNamespaceRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // 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 }
GetTagNamespaceRequest wrapper for the GetTagNamespace operation
func (GetTagNamespaceRequest) HTTPRequest ¶ added in v1.3.0
func (request GetTagNamespaceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetTagNamespaceRequest) RetryPolicy ¶ added in v1.3.0
func (request GetTagNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetTagNamespaceRequest) String ¶ added in v1.1.0
func (request GetTagNamespaceRequest) String() string
type GetTagNamespaceResponse ¶ added in v1.1.0
type GetTagNamespaceResponse struct { // The underlying http response RawResponse *http.Response // The TagNamespace instance TagNamespace `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"` }
GetTagNamespaceResponse wrapper for the GetTagNamespace operation
func (GetTagNamespaceResponse) HTTPResponse ¶ added in v1.3.0
func (response GetTagNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetTagNamespaceResponse) String ¶ added in v1.1.0
func (response GetTagNamespaceResponse) String() string
type GetTagRequest ¶ added in v1.1.0
type GetTagRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // The name of the tag. TagName *string `mandatory:"true" contributesTo:"path" name:"tagName"` // 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 }
GetTagRequest wrapper for the GetTag operation
func (GetTagRequest) HTTPRequest ¶ added in v1.3.0
func (request GetTagRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetTagRequest) RetryPolicy ¶ added in v1.3.0
func (request GetTagRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetTagRequest) String ¶ added in v1.1.0
func (request GetTagRequest) String() string
type GetTagResponse ¶ added in v1.1.0
type GetTagResponse struct { // The underlying http response RawResponse *http.Response // The Tag instance Tag `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"` }
GetTagResponse wrapper for the GetTag operation
func (GetTagResponse) HTTPResponse ¶ added in v1.3.0
func (response GetTagResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetTagResponse) String ¶ added in v1.1.0
func (response GetTagResponse) String() string
type GetTaggingWorkRequestRequest ¶
type GetTaggingWorkRequestRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // 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 }
GetTaggingWorkRequestRequest wrapper for the GetTaggingWorkRequest operation
func (GetTaggingWorkRequestRequest) HTTPRequest ¶
func (request GetTaggingWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetTaggingWorkRequestRequest) RetryPolicy ¶
func (request GetTaggingWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetTaggingWorkRequestRequest) String ¶
func (request GetTaggingWorkRequestRequest) String() string
type GetTaggingWorkRequestResponse ¶
type GetTaggingWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The TaggingWorkRequest instance TaggingWorkRequest `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"` // The number of seconds that the client should wait before polling again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
GetTaggingWorkRequestResponse wrapper for the GetTaggingWorkRequest operation
func (GetTaggingWorkRequestResponse) HTTPResponse ¶
func (response GetTaggingWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetTaggingWorkRequestResponse) String ¶
func (response GetTaggingWorkRequestResponse) String() string
type GetTenancyRequest ¶
type GetTenancyRequest struct { // The OCID of the tenancy. TenancyId *string `mandatory:"true" contributesTo:"path" name:"tenancyId"` // 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 }
GetTenancyRequest wrapper for the GetTenancy operation
func (GetTenancyRequest) HTTPRequest ¶ added in v1.3.0
func (request GetTenancyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetTenancyRequest) RetryPolicy ¶ added in v1.3.0
func (request GetTenancyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetTenancyRequest) String ¶
func (request GetTenancyRequest) String() string
type GetTenancyResponse ¶
type GetTenancyResponse struct { // The underlying http response RawResponse *http.Response // The Tenancy instance Tenancy `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"` }
GetTenancyResponse wrapper for the GetTenancy operation
func (GetTenancyResponse) HTTPResponse ¶ added in v1.3.0
func (response GetTenancyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetTenancyResponse) String ¶
func (response GetTenancyResponse) String() string
type GetUserGroupMembershipRequest ¶
type GetUserGroupMembershipRequest struct { // The OCID of the userGroupMembership. UserGroupMembershipId *string `mandatory:"true" contributesTo:"path" name:"userGroupMembershipId"` // 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 }
GetUserGroupMembershipRequest wrapper for the GetUserGroupMembership operation
func (GetUserGroupMembershipRequest) HTTPRequest ¶ added in v1.3.0
func (request GetUserGroupMembershipRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetUserGroupMembershipRequest) RetryPolicy ¶ added in v1.3.0
func (request GetUserGroupMembershipRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetUserGroupMembershipRequest) String ¶
func (request GetUserGroupMembershipRequest) String() string
type GetUserGroupMembershipResponse ¶
type GetUserGroupMembershipResponse struct { // The underlying http response RawResponse *http.Response // The UserGroupMembership instance UserGroupMembership `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"` }
GetUserGroupMembershipResponse wrapper for the GetUserGroupMembership operation
func (GetUserGroupMembershipResponse) HTTPResponse ¶ added in v1.3.0
func (response GetUserGroupMembershipResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetUserGroupMembershipResponse) String ¶
func (response GetUserGroupMembershipResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 }
GetUserRequest wrapper for the GetUser operation
func (GetUserRequest) HTTPRequest ¶ added in v1.3.0
func (request GetUserRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetUserRequest) RetryPolicy ¶ added in v1.3.0
func (request GetUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetUserRequest) String ¶
func (request GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { // The underlying http response RawResponse *http.Response // The User instance User `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"` }
GetUserResponse wrapper for the GetUser operation
func (GetUserResponse) HTTPResponse ¶ added in v1.3.0
func (response GetUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetUserResponse) String ¶
func (response GetUserResponse) String() string
type GetUserUIPasswordInformationRequest ¶
type GetUserUIPasswordInformationRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 }
GetUserUIPasswordInformationRequest wrapper for the GetUserUIPasswordInformation operation
func (GetUserUIPasswordInformationRequest) HTTPRequest ¶
func (request GetUserUIPasswordInformationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetUserUIPasswordInformationRequest) RetryPolicy ¶
func (request GetUserUIPasswordInformationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetUserUIPasswordInformationRequest) String ¶
func (request GetUserUIPasswordInformationRequest) String() string
type GetUserUIPasswordInformationResponse ¶
type GetUserUIPasswordInformationResponse struct { // The underlying http response RawResponse *http.Response // The UiPasswordInformation instance UiPasswordInformation `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"` }
GetUserUIPasswordInformationResponse wrapper for the GetUserUIPasswordInformation operation
func (GetUserUIPasswordInformationResponse) HTTPResponse ¶
func (response GetUserUIPasswordInformationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetUserUIPasswordInformationResponse) String ¶
func (response GetUserUIPasswordInformationResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // 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 }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse ¶
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"` // The number of seconds that the client should wait before polling again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type Group ¶
type Group struct { // The OCID of the group. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the group. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the group during creation. The name must be unique across all groups in // the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the group. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // Date and time the group was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The group's current state. After creating a group, make sure its `lifecycleState` changes from CREATING to // ACTIVE before using it. LifecycleState GroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
Group A collection of users who all need the same type of access to a particular set of resources or compartment. For conceptual information about groups and other IAM Service components, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). If you're federating with an identity provider (IdP), you need to create mappings between the groups defined in the IdP and groups you define in the IAM service. For more information, see Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). Also see IdentityProvider and IdpGroupMapping. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
type GroupLifecycleStateEnum ¶
type GroupLifecycleStateEnum string
GroupLifecycleStateEnum Enum with underlying type: string
const ( GroupLifecycleStateCreating GroupLifecycleStateEnum = "CREATING" GroupLifecycleStateActive GroupLifecycleStateEnum = "ACTIVE" GroupLifecycleStateInactive GroupLifecycleStateEnum = "INACTIVE" GroupLifecycleStateDeleting GroupLifecycleStateEnum = "DELETING" GroupLifecycleStateDeleted GroupLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for GroupLifecycleStateEnum
func GetGroupLifecycleStateEnumValues ¶
func GetGroupLifecycleStateEnumValues() []GroupLifecycleStateEnum
GetGroupLifecycleStateEnumValues Enumerates the set of values for GroupLifecycleStateEnum
type IdentityClient ¶
type IdentityClient struct { common.BaseClient // contains filtered or unexported fields }
IdentityClient a client for Identity
func NewIdentityClientWithConfigurationProvider ¶
func NewIdentityClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client IdentityClient, err error)
NewIdentityClientWithConfigurationProvider Creates a new default Identity client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewIdentityClientWithOboToken ¶
func NewIdentityClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client IdentityClient, err error)
NewIdentityClientWithOboToken Creates a new default Identity 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 (IdentityClient) ActivateMfaTotpDevice ¶
func (client IdentityClient) ActivateMfaTotpDevice(ctx context.Context, request ActivateMfaTotpDeviceRequest) (response ActivateMfaTotpDeviceResponse, err error)
ActivateMfaTotpDevice Activates the specified MFA TOTP device for the user. Activation requires manual interaction with the Console.
func (IdentityClient) AddUserToGroup ¶
func (client IdentityClient) AddUserToGroup(ctx context.Context, request AddUserToGroupRequest) (response AddUserToGroupResponse, err error)
AddUserToGroup Adds the specified user to the specified group and returns a `UserGroupMembership` object with its own OCID. After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE.
func (IdentityClient) AssembleEffectiveTagSet ¶
func (client IdentityClient) AssembleEffectiveTagSet(ctx context.Context, request AssembleEffectiveTagSetRequest) (response AssembleEffectiveTagSetResponse, err error)
AssembleEffectiveTagSet Assembles tag defaults in the specified compartment and any parent compartments to determine the tags to apply. Tag defaults from parent compartments do not override tag defaults referencing the same tag in a compartment lower down the hierarchy. This set of tag defaults includes all tag defaults from the current compartment back to the root compartment.
func (IdentityClient) BulkDeleteResources ¶
func (client IdentityClient) BulkDeleteResources(ctx context.Context, request BulkDeleteResourcesRequest) (response BulkDeleteResourcesResponse, err error)
BulkDeleteResources Deletes multiple resources in the compartment. All resources must be in the same compartment. You must have the appropriate permissions to delete the resources in the request. This API can only be invoked from the tenancy's home region (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingregions.htm#Home). This operation creates a WorkRequest. Use the GetWorkRequest API to monitor the status of the bulk action.
func (IdentityClient) BulkDeleteTags ¶
func (client IdentityClient) BulkDeleteTags(ctx context.Context, request BulkDeleteTagsRequest) (response BulkDeleteTagsResponse, err error)
BulkDeleteTags Deletes the specified tag key definitions. This operation triggers a process that removes the tags from all resources in your tenancy. The following actions happen immediately:
- If the tag is a cost-tracking tag, the tag no longer counts against your 10 cost-tracking tags limit, even if you do not disable the tag before running this operation.
- If the tag is used with dynamic groups, the rules that contain the tag are no longer evaluated against the tag.
After you start this operation, the state of the tag changes to DELETING, and tag removal from resources begins. This process can take up to 48 hours depending on the number of resources that are tagged and the regions in which those resources reside. When all tags have been removed, the state changes to DELETED. You cannot restore a deleted tag. After the tag state changes to DELETED, you can use the same tag name again. After you start this operation, you cannot start either the DeleteTag or the CascadeDeleteTagNamespace operation until this process completes. In order to delete tags, you must first retire the tags. Use UpdateTag to retire a tag.
func (IdentityClient) BulkMoveResources ¶
func (client IdentityClient) BulkMoveResources(ctx context.Context, request BulkMoveResourcesRequest) (response BulkMoveResourcesResponse, err error)
BulkMoveResources Moves multiple resources from one compartment to another. All resources must be in the same compartment. This API can only be invoked from the tenancy's home region (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingregions.htm#Home). To move resources, you must have the appropriate permissions to move the resource in both the source and target compartments. This operation creates a WorkRequest. Use the GetWorkRequest API to monitor the status of the bulk action.
func (IdentityClient) CascadeDeleteTagNamespace ¶
func (client IdentityClient) CascadeDeleteTagNamespace(ctx context.Context, request CascadeDeleteTagNamespaceRequest) (response CascadeDeleteTagNamespaceResponse, err error)
CascadeDeleteTagNamespace Deletes the specified tag namespace. This operation triggers a process that removes all of the tags defined in the specified tag namespace from all resources in your tenancy and then deletes the tag namespace. After you start the delete operation:
- New tag key definitions cannot be created under the namespace.
- The state of the tag namespace changes to DELETING.
- Tag removal from the resources begins.
This process can take up to 48 hours depending on the number of tag definitions in the namespace, the number of resources that are tagged, and the locations of the regions in which those resources reside. After all tags are removed, the state changes to DELETED. You cannot restore a deleted tag namespace. After the deleted tag namespace changes its state to DELETED, you can use the name of the deleted tag namespace again. After you start this operation, you cannot start either the DeleteTag or the BulkDeleteTags operation until this process completes. To delete a tag namespace, you must first retire it. Use UpdateTagNamespace to retire a tag namespace.
func (IdentityClient) ChangeTagNamespaceCompartment ¶
func (client IdentityClient) ChangeTagNamespaceCompartment(ctx context.Context, request ChangeTagNamespaceCompartmentRequest) (response ChangeTagNamespaceCompartmentResponse, err error)
ChangeTagNamespaceCompartment Moves the specified tag namespace to the specified compartment within the same tenancy. To move the tag namespace, you must have the manage tag-namespaces permission on both compartments. For more information about IAM policies, see Details for IAM (https://docs.cloud.oracle.com/Content/Identity/Reference/iampolicyreference.htm). Moving a tag namespace moves all the tag key definitions contained in the tag namespace.
func (*IdentityClient) ConfigurationProvider ¶
func (client *IdentityClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (IdentityClient) CreateAuthToken ¶ added in v1.6.0
func (client IdentityClient) CreateAuthToken(ctx context.Context, request CreateAuthTokenRequest) (response CreateAuthTokenResponse, err error)
CreateAuthToken Creates a new auth token for the specified user. For information about what auth tokens are for, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm). You must specify a *description* for the auth token (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateAuthToken. Every user has permission to create an auth token for *their own user ID*. An administrator in your organization does not need to write a policy to give users this ability. To compare, administrators who have permission to the tenancy can use this operation to create an auth token for any user, including themselves.
func (IdentityClient) CreateCompartment ¶
func (client IdentityClient) CreateCompartment(ctx context.Context, request CreateCompartmentRequest) (response CreateCompartmentResponse, err error)
CreateCompartment Creates a new compartment in the specified compartment. **Important:** Compartments cannot be deleted. Specify the parent compartment's OCID as the compartment ID in the request object. Remember that the tenancy is simply the root compartment. For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). You must also specify a *name* for the compartment, which must be unique across all compartments in your tenancy. You can use this name or the OCID when writing policies that apply to the compartment. For more information about policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm). You must also specify a *description* for the compartment (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateCompartment. After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE.
func (IdentityClient) CreateCustomerSecretKey ¶
func (client IdentityClient) CreateCustomerSecretKey(ctx context.Context, request CreateCustomerSecretKeyRequest) (response CreateCustomerSecretKeyResponse, err error)
CreateCustomerSecretKey Creates a new secret key for the specified user. Secret keys are used for authentication with the Object Storage Service's Amazon S3 compatible API. For information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm). You must specify a *description* for the secret key (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateCustomerSecretKey. Every user has permission to create a secret key for *their own user ID*. An administrator in your organization does not need to write a policy to give users this ability. To compare, administrators who have permission to the tenancy can use this operation to create a secret key for any user, including themselves.
func (IdentityClient) CreateDynamicGroup ¶ added in v1.1.0
func (client IdentityClient) CreateDynamicGroup(ctx context.Context, request CreateDynamicGroupRequest) (response CreateDynamicGroupResponse, err error)
CreateDynamicGroup Creates a new dynamic group in your tenancy. You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies) reside within the tenancy itself, unlike cloud resources such as compute instances, which typically reside within compartments inside the tenancy. For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). You must also specify a *name* for the dynamic group, which must be unique across all dynamic groups in your tenancy, and cannot be changed. Note that this name has to be also unique across all groups in your tenancy. You can use this name or the OCID when writing policies that apply to the dynamic group. For more information about policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm). You must also specify a *description* for the dynamic group (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateDynamicGroup. After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE.
func (IdentityClient) CreateGroup ¶
func (client IdentityClient) CreateGroup(ctx context.Context, request CreateGroupRequest) (response CreateGroupResponse, err error)
CreateGroup Creates a new group in your tenancy. You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies) reside within the tenancy itself, unlike cloud resources such as compute instances, which typically reside within compartments inside the tenancy. For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). You must also specify a *name* for the group, which must be unique across all groups in your tenancy and cannot be changed. You can use this name or the OCID when writing policies that apply to the group. For more information about policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm). You must also specify a *description* for the group (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateGroup. After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE. After creating the group, you need to put users in it and write policies for it. See AddUserToGroup and CreatePolicy.
func (IdentityClient) CreateIdentityProvider ¶
func (client IdentityClient) CreateIdentityProvider(ctx context.Context, request CreateIdentityProviderRequest) (response CreateIdentityProviderResponse, err error)
CreateIdentityProvider Creates a new identity provider in your tenancy. For more information, see Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). You must specify your tenancy's OCID as the compartment ID in the request object. Remember that the tenancy is simply the root compartment. For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). You must also specify a *name* for the `IdentityProvider`, which must be unique across all `IdentityProvider` objects in your tenancy and cannot be changed. You must also specify a *description* for the `IdentityProvider` (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateIdentityProvider. After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE.
func (IdentityClient) CreateIdpGroupMapping ¶
func (client IdentityClient) CreateIdpGroupMapping(ctx context.Context, request CreateIdpGroupMappingRequest) (response CreateIdpGroupMappingResponse, err error)
CreateIdpGroupMapping Creates a single mapping between an IdP group and an IAM Service Group.
func (IdentityClient) CreateMfaTotpDevice ¶
func (client IdentityClient) CreateMfaTotpDevice(ctx context.Context, request CreateMfaTotpDeviceRequest) (response CreateMfaTotpDeviceResponse, err error)
CreateMfaTotpDevice Creates a new MFA TOTP device for the user. A user can have one MFA TOTP device.
func (IdentityClient) CreateNetworkSource ¶
func (client IdentityClient) CreateNetworkSource(ctx context.Context, request CreateNetworkSourceRequest) (response CreateNetworkSourceResponse, err error)
CreateNetworkSource Creates a new network source in your tenancy. You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies) reside within the tenancy itself, unlike cloud resources such as compute instances, which typically reside within compartments inside the tenancy. For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). You must also specify a *name* for the network source, which must be unique across all network sources in your tenancy, and cannot be changed. You can use this name or the OCID when writing policies that apply to the network source. For more information about policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm). You must also specify a *description* for the network source (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateNetworkSource. After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE. After your network resource is created, you can use it in policy to restrict access to only requests made from an allowed IP address specified in your network source. For more information, see Managing Network Sources (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm).
func (IdentityClient) CreateOAuthClientCredential ¶
func (client IdentityClient) CreateOAuthClientCredential(ctx context.Context, request CreateOAuthClientCredentialRequest) (response CreateOAuthClientCredentialResponse, err error)
CreateOAuthClientCredential Creates Oauth token for the user
func (IdentityClient) CreateOrResetUIPassword ¶
func (client IdentityClient) CreateOrResetUIPassword(ctx context.Context, request CreateOrResetUIPasswordRequest) (response CreateOrResetUIPasswordResponse, err error)
CreateOrResetUIPassword Creates a new Console one-time password for the specified user. For more information about user credentials, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm). Use this operation after creating a new user, or if a user forgets their password. The new one-time password is returned to you in the response, and you must securely deliver it to the user. They'll be prompted to change this password the next time they sign in to the Console. If they don't change it within 7 days, the password will expire and you'll need to create a new one-time password for the user. **Note:** The user's Console login is the unique name you specified when you created the user (see CreateUser).
func (IdentityClient) CreatePolicy ¶
func (client IdentityClient) CreatePolicy(ctx context.Context, request CreatePolicyRequest) (response CreatePolicyResponse, err error)
CreatePolicy Creates a new policy in the specified compartment (either the tenancy or another of your compartments). If you're new to policies, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). You must specify a *name* for the policy, which must be unique across all policies in your tenancy and cannot be changed. You must also specify a *description* for the policy (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdatePolicy. You must specify one or more policy statements in the statements array. For information about writing policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm) and Common Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm). After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE. New policies take effect typically within 10 seconds.
func (IdentityClient) CreateRegionSubscription ¶
func (client IdentityClient) CreateRegionSubscription(ctx context.Context, request CreateRegionSubscriptionRequest) (response CreateRegionSubscriptionResponse, err error)
CreateRegionSubscription Creates a subscription to a region for a tenancy.
func (IdentityClient) CreateSmtpCredential ¶ added in v1.2.0
func (client IdentityClient) CreateSmtpCredential(ctx context.Context, request CreateSmtpCredentialRequest) (response CreateSmtpCredentialResponse, err error)
CreateSmtpCredential Creates a new SMTP credential for the specified user. An SMTP credential has an SMTP user name and an SMTP password. You must specify a *description* for the SMTP credential (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateSmtpCredential.
func (IdentityClient) CreateSwiftPassword ¶
func (client IdentityClient) CreateSwiftPassword(ctx context.Context, request CreateSwiftPasswordRequest) (response CreateSwiftPasswordResponse, err error)
CreateSwiftPassword **Deprecated. Use CreateAuthToken instead.** Creates a new Swift password for the specified user. For information about what Swift passwords are for, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm). You must specify a *description* for the Swift password (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateSwiftPassword. Every user has permission to create a Swift password for *their own user ID*. An administrator in your organization does not need to write a policy to give users this ability. To compare, administrators who have permission to the tenancy can use this operation to create a Swift password for any user, including themselves.
func (IdentityClient) CreateTag ¶ added in v1.1.0
func (client IdentityClient) CreateTag(ctx context.Context, request CreateTagRequest) (response CreateTagResponse, err error)
CreateTag Creates a new tag in the specified tag namespace. The tag requires either the OCID or the name of the tag namespace that will contain this tag definition. You must specify a *name* for the tag, which must be unique across all tags in the tag namespace and cannot be changed. The name can contain any ASCII character except the space (_) or period (.) characters. Names are case insensitive. That means, for example, "myTag" and "mytag" are not allowed in the same namespace. If you specify a name that's already in use in the tag namespace, a 409 error is returned. The tag must have a *description*. It does not have to be unique, and you can change it with UpdateTag. The tag must have a value type, which is specified with a validator. Tags can use either a static value or a list of possible values. Static values are entered by a user applying the tag to a resource. Lists are created by you and the user must apply a value from the list. Lists are validiated. * If no `validator` is set, the user applying the tag to a resource can type in a static value or leave the tag value empty. * If a `validator` is set, the user applying the tag to a resource must select from a list of values that you supply with EnumTagDefinitionValidator.
func (IdentityClient) CreateTagDefault ¶
func (client IdentityClient) CreateTagDefault(ctx context.Context, request CreateTagDefaultRequest) (response CreateTagDefaultResponse, err error)
CreateTagDefault Creates a new tag default in the specified compartment for the specified tag definition. If you specify that a value is required, a value is set during resource creation (either by the user creating the resource or another tag defualt). If no value is set, resource creation is blocked. * If the `isRequired` flag is set to "true", the value is set during resource creation. * If the `isRequired` flag is set to "false", the value you enter is set during resource creation.
func (IdentityClient) CreateTagNamespace ¶ added in v1.1.0
func (client IdentityClient) CreateTagNamespace(ctx context.Context, request CreateTagNamespaceRequest) (response CreateTagNamespaceResponse, err error)
CreateTagNamespace Creates a new tag namespace in the specified compartment. You must specify the compartment ID in the request object (remember that the tenancy is simply the root compartment). You must also specify a *name* for the namespace, which must be unique across all namespaces in your tenancy and cannot be changed. The name can contain any ASCII character except the space (_) or period (.). Names are case insensitive. That means, for example, "myNamespace" and "mynamespace" are not allowed in the same tenancy. Once you created a namespace, you cannot change the name. If you specify a name that's already in use in the tenancy, a 409 error is returned. You must also specify a *description* for the namespace. It does not have to be unique, and you can change it with UpdateTagNamespace.
func (IdentityClient) CreateUser ¶
func (client IdentityClient) CreateUser(ctx context.Context, request CreateUserRequest) (response CreateUserResponse, err error)
CreateUser Creates a new user in your tenancy. For conceptual information about users, your tenancy, and other IAM Service components, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies) reside within the tenancy itself, unlike cloud resources such as compute instances, which typically reside within compartments inside the tenancy. For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). You must also specify a *name* for the user, which must be unique across all users in your tenancy and cannot be changed. Allowed characters: No spaces. Only letters, numerals, hyphens, periods, underscores, +, and @. If you specify a name that's already in use, you'll get a 409 error. This name will be the user's login to the Console. You might want to pick a name that your company's own identity system (e.g., Active Directory, LDAP, etc.) already uses. If you delete a user and then create a new user with the same name, they'll be considered different users because they have different OCIDs. You must also specify a *description* for the user (although it can be an empty string). It does not have to be unique, and you can change it anytime with UpdateUser. You can use the field to provide the user's full name, a description, a nickname, or other information to generally identify the user. After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE. A new user has no permissions until you place the user in one or more groups (see AddUserToGroup). If the user needs to access the Console, you need to provide the user a password (see CreateOrResetUIPassword). If the user needs to access the Oracle Cloud Infrastructure REST API, you need to upload a public API signing key for that user (see Required Keys and OCIDs (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm) and also UploadApiKey). **Important:** Make sure to inform the new user which compartment(s) they have access to.
func (IdentityClient) DeleteApiKey ¶
func (client IdentityClient) DeleteApiKey(ctx context.Context, request DeleteApiKeyRequest) (response DeleteApiKeyResponse, err error)
DeleteApiKey Deletes the specified API signing key for the specified user. Every user has permission to use this operation to delete a key for *their own user ID*. An administrator in your organization does not need to write a policy to give users this ability. To compare, administrators who have permission to the tenancy can use this operation to delete a key for any user, including themselves.
func (IdentityClient) DeleteAuthToken ¶ added in v1.6.0
func (client IdentityClient) DeleteAuthToken(ctx context.Context, request DeleteAuthTokenRequest) (response DeleteAuthTokenResponse, err error)
DeleteAuthToken Deletes the specified auth token for the specified user.
func (IdentityClient) DeleteCompartment ¶
func (client IdentityClient) DeleteCompartment(ctx context.Context, request DeleteCompartmentRequest) (response DeleteCompartmentResponse, err error)
DeleteCompartment Deletes the specified compartment. The compartment must be empty.
func (IdentityClient) DeleteCustomerSecretKey ¶
func (client IdentityClient) DeleteCustomerSecretKey(ctx context.Context, request DeleteCustomerSecretKeyRequest) (response DeleteCustomerSecretKeyResponse, err error)
DeleteCustomerSecretKey Deletes the specified secret key for the specified user.
func (IdentityClient) DeleteDynamicGroup ¶ added in v1.1.0
func (client IdentityClient) DeleteDynamicGroup(ctx context.Context, request DeleteDynamicGroupRequest) (response DeleteDynamicGroupResponse, err error)
DeleteDynamicGroup Deletes the specified dynamic group.
func (IdentityClient) DeleteGroup ¶
func (client IdentityClient) DeleteGroup(ctx context.Context, request DeleteGroupRequest) (response DeleteGroupResponse, err error)
DeleteGroup Deletes the specified group. The group must be empty.
func (IdentityClient) DeleteIdentityProvider ¶
func (client IdentityClient) DeleteIdentityProvider(ctx context.Context, request DeleteIdentityProviderRequest) (response DeleteIdentityProviderResponse, err error)
DeleteIdentityProvider Deletes the specified identity provider. The identity provider must not have any group mappings (see IdpGroupMapping).
func (IdentityClient) DeleteIdpGroupMapping ¶
func (client IdentityClient) DeleteIdpGroupMapping(ctx context.Context, request DeleteIdpGroupMappingRequest) (response DeleteIdpGroupMappingResponse, err error)
DeleteIdpGroupMapping Deletes the specified group mapping.
func (IdentityClient) DeleteMfaTotpDevice ¶
func (client IdentityClient) DeleteMfaTotpDevice(ctx context.Context, request DeleteMfaTotpDeviceRequest) (response DeleteMfaTotpDeviceResponse, err error)
DeleteMfaTotpDevice Deletes the specified MFA TOTP device for the specified user.
func (IdentityClient) DeleteNetworkSource ¶
func (client IdentityClient) DeleteNetworkSource(ctx context.Context, request DeleteNetworkSourceRequest) (response DeleteNetworkSourceResponse, err error)
DeleteNetworkSource Deletes the specified network source
func (IdentityClient) DeleteOAuthClientCredential ¶
func (client IdentityClient) DeleteOAuthClientCredential(ctx context.Context, request DeleteOAuthClientCredentialRequest) (response DeleteOAuthClientCredentialResponse, err error)
DeleteOAuthClientCredential Delete Oauth token for the user
func (IdentityClient) DeletePolicy ¶
func (client IdentityClient) DeletePolicy(ctx context.Context, request DeletePolicyRequest) (response DeletePolicyResponse, err error)
DeletePolicy Deletes the specified policy. The deletion takes effect typically within 10 seconds.
func (IdentityClient) DeleteSmtpCredential ¶ added in v1.2.0
func (client IdentityClient) DeleteSmtpCredential(ctx context.Context, request DeleteSmtpCredentialRequest) (response DeleteSmtpCredentialResponse, err error)
DeleteSmtpCredential Deletes the specified SMTP credential for the specified user.
func (IdentityClient) DeleteSwiftPassword ¶
func (client IdentityClient) DeleteSwiftPassword(ctx context.Context, request DeleteSwiftPasswordRequest) (response DeleteSwiftPasswordResponse, err error)
DeleteSwiftPassword **Deprecated. Use DeleteAuthToken instead.** Deletes the specified Swift password for the specified user.
func (IdentityClient) DeleteTag ¶
func (client IdentityClient) DeleteTag(ctx context.Context, request DeleteTagRequest) (response DeleteTagResponse, err error)
DeleteTag Deletes the specified tag definition. This operation triggers a process that removes the tag from all resources in your tenancy. These things happen immediately:
- If the tag was a cost-tracking tag, it no longer counts against your 10 cost-tracking tags limit, whether you first disabled it or not.
- If the tag was used with dynamic groups, none of the rules that contain the tag will be evaluated against the tag.
When you start the delete operation, the state of the tag changes to DELETING and tag removal from resources begins. This can take up to 48 hours depending on the number of resources that were tagged as well as the regions in which those resources reside. When all tags have been removed, the state changes to DELETED. You cannot restore a deleted tag. Once the deleted tag changes its state to DELETED, you can use the same tag name again. After you start this operation, you cannot start either the BulkDeleteTags or the CascadeDeleteTagNamespace operation until this process completes. To delete a tag, you must first retire it. Use UpdateTag to retire a tag.
func (IdentityClient) DeleteTagDefault ¶
func (client IdentityClient) DeleteTagDefault(ctx context.Context, request DeleteTagDefaultRequest) (response DeleteTagDefaultResponse, err error)
DeleteTagDefault Deletes the the specified tag default.
func (IdentityClient) DeleteTagNamespace ¶
func (client IdentityClient) DeleteTagNamespace(ctx context.Context, request DeleteTagNamespaceRequest) (response DeleteTagNamespaceResponse, err error)
DeleteTagNamespace Deletes the specified tag namespace. Only an empty tag namespace can be deleted with this operation. To use this operation to delete a tag namespace that contains tag definitions, first delete all of its tag definitions. Use CascadeDeleteTagNamespace to delete a tag namespace along with all of the tag definitions contained within that namespace. Use DeleteTag to delete a tag definition.
func (IdentityClient) DeleteUser ¶
func (client IdentityClient) DeleteUser(ctx context.Context, request DeleteUserRequest) (response DeleteUserResponse, err error)
DeleteUser Deletes the specified user. The user must not be in any groups.
func (IdentityClient) GenerateTotpSeed ¶
func (client IdentityClient) GenerateTotpSeed(ctx context.Context, request GenerateTotpSeedRequest) (response GenerateTotpSeedResponse, err error)
GenerateTotpSeed Generate seed for the MFA TOTP device.
func (IdentityClient) GetAuthenticationPolicy ¶
func (client IdentityClient) GetAuthenticationPolicy(ctx context.Context, request GetAuthenticationPolicyRequest) (response GetAuthenticationPolicyResponse, err error)
GetAuthenticationPolicy Gets the authentication policy for the given tenancy. You must specify your tenant’s OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment).
func (IdentityClient) GetCompartment ¶
func (client IdentityClient) GetCompartment(ctx context.Context, request GetCompartmentRequest) (response GetCompartmentResponse, err error)
GetCompartment Gets the specified compartment's information. This operation does not return a list of all the resources inside the compartment. There is no single API operation that does that. Compartments can contain multiple types of resources (instances, block storage volumes, etc.). To find out what's in a compartment, you must call the "List" operation for each resource type and specify the compartment's OCID as a query parameter in the request. For example, call the ListInstances operation in the Cloud Compute Service or the ListVolumes operation in Cloud Block Storage.
func (IdentityClient) GetDynamicGroup ¶ added in v1.1.0
func (client IdentityClient) GetDynamicGroup(ctx context.Context, request GetDynamicGroupRequest) (response GetDynamicGroupResponse, err error)
GetDynamicGroup Gets the specified dynamic group's information.
func (IdentityClient) GetGroup ¶
func (client IdentityClient) GetGroup(ctx context.Context, request GetGroupRequest) (response GetGroupResponse, err error)
GetGroup Gets the specified group's information. This operation does not return a list of all the users in the group. To do that, use ListUserGroupMemberships and provide the group's OCID as a query parameter in the request.
func (IdentityClient) GetIdentityProvider ¶
func (client IdentityClient) GetIdentityProvider(ctx context.Context, request GetIdentityProviderRequest) (response GetIdentityProviderResponse, err error)
GetIdentityProvider Gets the specified identity provider's information.
func (IdentityClient) GetIdpGroupMapping ¶
func (client IdentityClient) GetIdpGroupMapping(ctx context.Context, request GetIdpGroupMappingRequest) (response GetIdpGroupMappingResponse, err error)
GetIdpGroupMapping Gets the specified group mapping.
func (IdentityClient) GetMfaTotpDevice ¶
func (client IdentityClient) GetMfaTotpDevice(ctx context.Context, request GetMfaTotpDeviceRequest) (response GetMfaTotpDeviceResponse, err error)
GetMfaTotpDevice Get the specified MFA TOTP device for the specified user.
func (IdentityClient) GetNetworkSource ¶
func (client IdentityClient) GetNetworkSource(ctx context.Context, request GetNetworkSourceRequest) (response GetNetworkSourceResponse, err error)
GetNetworkSource Gets the specified network source's information.
func (IdentityClient) GetPolicy ¶
func (client IdentityClient) GetPolicy(ctx context.Context, request GetPolicyRequest) (response GetPolicyResponse, err error)
GetPolicy Gets the specified policy's information.
func (IdentityClient) GetTag ¶ added in v1.1.0
func (client IdentityClient) GetTag(ctx context.Context, request GetTagRequest) (response GetTagResponse, err error)
GetTag Gets the specified tag's information.
func (IdentityClient) GetTagDefault ¶
func (client IdentityClient) GetTagDefault(ctx context.Context, request GetTagDefaultRequest) (response GetTagDefaultResponse, err error)
GetTagDefault Retrieves the specified tag default.
func (IdentityClient) GetTagNamespace ¶ added in v1.1.0
func (client IdentityClient) GetTagNamespace(ctx context.Context, request GetTagNamespaceRequest) (response GetTagNamespaceResponse, err error)
GetTagNamespace Gets the specified tag namespace's information.
func (IdentityClient) GetTaggingWorkRequest ¶
func (client IdentityClient) GetTaggingWorkRequest(ctx context.Context, request GetTaggingWorkRequestRequest) (response GetTaggingWorkRequestResponse, err error)
GetTaggingWorkRequest Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header for any asynchronous operation in the Identity and Access Management service.
func (IdentityClient) GetTenancy ¶
func (client IdentityClient) GetTenancy(ctx context.Context, request GetTenancyRequest) (response GetTenancyResponse, err error)
GetTenancy Get the specified tenancy's information.
func (IdentityClient) GetUser ¶
func (client IdentityClient) GetUser(ctx context.Context, request GetUserRequest) (response GetUserResponse, err error)
GetUser Gets the specified user's information.
func (IdentityClient) GetUserGroupMembership ¶
func (client IdentityClient) GetUserGroupMembership(ctx context.Context, request GetUserGroupMembershipRequest) (response GetUserGroupMembershipResponse, err error)
GetUserGroupMembership Gets the specified UserGroupMembership's information.
func (IdentityClient) GetUserUIPasswordInformation ¶
func (client IdentityClient) GetUserUIPasswordInformation(ctx context.Context, request GetUserUIPasswordInformationRequest) (response GetUserUIPasswordInformationResponse, err error)
GetUserUIPasswordInformation Gets the specified user's console password information. The returned object contains the user's OCID, but not the password itself. The actual password is returned only when created or reset.
func (IdentityClient) GetWorkRequest ¶
func (client IdentityClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header for any asynchronous operation in the Identity and Access Management service.
func (IdentityClient) ListApiKeys ¶
func (client IdentityClient) ListApiKeys(ctx context.Context, request ListApiKeysRequest) (response ListApiKeysResponse, err error)
ListApiKeys Lists the API signing keys for the specified user. A user can have a maximum of three keys. Every user has permission to use this API call for *their own user ID*. An administrator in your organization does not need to write a policy to give users this ability.
func (IdentityClient) ListAuthTokens ¶ added in v1.6.0
func (client IdentityClient) ListAuthTokens(ctx context.Context, request ListAuthTokensRequest) (response ListAuthTokensResponse, err error)
ListAuthTokens Lists the auth tokens for the specified user. The returned object contains the token's OCID, but not the token itself. The actual token is returned only upon creation.
func (IdentityClient) ListAvailabilityDomains ¶
func (client IdentityClient) ListAvailabilityDomains(ctx context.Context, request ListAvailabilityDomainsRequest) (response ListAvailabilityDomainsResponse, err error)
ListAvailabilityDomains Lists the availability domains in your tenancy. Specify the OCID of either the tenancy or another of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). Note that the order of the results returned can change if availability domains are added or removed; therefore, do not create a dependency on the list order.
func (IdentityClient) ListBulkActionResourceTypes ¶
func (client IdentityClient) ListBulkActionResourceTypes(ctx context.Context, request ListBulkActionResourceTypesRequest) (response ListBulkActionResourceTypesResponse, err error)
ListBulkActionResourceTypes Lists the resource-types supported by compartment bulk actions. Use this API to help you provide the correct resource-type information to the BulkDeleteResources and BulkMoveResources operations. The returned list of resource-types provides the appropriate resource-type names to use with the bulk action operations along with the type of identifying information you'll need to provide for each resource-type. Most resource-types just require an OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to identify a specific resource, but some resource-types, such as buckets, require you to provide other identifying information.
func (IdentityClient) ListCompartments ¶
func (client IdentityClient) ListCompartments(ctx context.Context, request ListCompartmentsRequest) (response ListCompartmentsResponse, err error)
ListCompartments Lists the compartments in a specified compartment. The members of the list returned depends on the values set for several parameters. With the exception of the tenancy (root compartment), the ListCompartments operation returns only the first-level child compartments in the parent compartment specified in `compartmentId`. The list does not include any subcompartments of the child compartments (grandchildren). The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (the resource can be in a subcompartment). The parameter `compartmentIdInSubtree` applies only when you perform ListCompartments on the tenancy (root compartment). When set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ANY. See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
func (IdentityClient) ListCostTrackingTags ¶
func (client IdentityClient) ListCostTrackingTags(ctx context.Context, request ListCostTrackingTagsRequest) (response ListCostTrackingTagsResponse, err error)
ListCostTrackingTags Lists all the tags enabled for cost-tracking in the specified tenancy. For information about cost-tracking tags, see Using Cost-tracking Tags (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#costs).
func (IdentityClient) ListCustomerSecretKeys ¶
func (client IdentityClient) ListCustomerSecretKeys(ctx context.Context, request ListCustomerSecretKeysRequest) (response ListCustomerSecretKeysResponse, err error)
ListCustomerSecretKeys Lists the secret keys for the specified user. The returned object contains the secret key's OCID, but not the secret key itself. The actual secret key is returned only upon creation.
func (IdentityClient) ListDynamicGroups ¶ added in v1.1.0
func (client IdentityClient) ListDynamicGroups(ctx context.Context, request ListDynamicGroupsRequest) (response ListDynamicGroupsResponse, err error)
ListDynamicGroups Lists the dynamic groups in your tenancy. You must specify your tenancy's OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
func (IdentityClient) ListFaultDomains ¶
func (client IdentityClient) ListFaultDomains(ctx context.Context, request ListFaultDomainsRequest) (response ListFaultDomainsResponse, err error)
ListFaultDomains Lists the Fault Domains in your tenancy. Specify the OCID of either the tenancy or another of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
func (IdentityClient) ListGroups ¶
func (client IdentityClient) ListGroups(ctx context.Context, request ListGroupsRequest) (response ListGroupsResponse, err error)
ListGroups Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
func (IdentityClient) ListIdentityProviderGroups ¶
func (client IdentityClient) ListIdentityProviderGroups(ctx context.Context, request ListIdentityProviderGroupsRequest) (response ListIdentityProviderGroupsResponse, err error)
ListIdentityProviderGroups Lists the identity provider groups.
func (IdentityClient) ListIdentityProviders ¶
func (client IdentityClient) ListIdentityProviders(ctx context.Context, request ListIdentityProvidersRequest) (response ListIdentityProvidersResponse, err error)
ListIdentityProviders Lists all the identity providers in your tenancy. You must specify the identity provider type (e.g., `SAML2` for identity providers using the SAML2.0 protocol). You must specify your tenancy's OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
func (IdentityClient) ListIdpGroupMappings ¶
func (client IdentityClient) ListIdpGroupMappings(ctx context.Context, request ListIdpGroupMappingsRequest) (response ListIdpGroupMappingsResponse, err error)
ListIdpGroupMappings Lists the group mappings for the specified identity provider.
func (IdentityClient) ListMfaTotpDevices ¶
func (client IdentityClient) ListMfaTotpDevices(ctx context.Context, request ListMfaTotpDevicesRequest) (response ListMfaTotpDevicesResponse, err error)
ListMfaTotpDevices Lists the MFA TOTP devices for the specified user. The returned object contains the device's OCID, but not the seed. The seed is returned only upon creation or when the IAM service regenerates the MFA seed for the device.
func (IdentityClient) ListNetworkSources ¶
func (client IdentityClient) ListNetworkSources(ctx context.Context, request ListNetworkSourcesRequest) (response ListNetworkSourcesResponse, err error)
ListNetworkSources Lists the network sources in your tenancy. You must specify your tenancy's OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
func (IdentityClient) ListOAuthClientCredentials ¶
func (client IdentityClient) ListOAuthClientCredentials(ctx context.Context, request ListOAuthClientCredentialsRequest) (response ListOAuthClientCredentialsResponse, err error)
ListOAuthClientCredentials List of Oauth tokens for the user
func (IdentityClient) ListPolicies ¶
func (client IdentityClient) ListPolicies(ctx context.Context, request ListPoliciesRequest) (response ListPoliciesResponse, err error)
ListPolicies Lists the policies in the specified compartment (either the tenancy or another of your compartments). See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). To determine which policies apply to a particular group or compartment, you must view the individual statements inside all your policies. There isn't a way to automatically obtain that information via the API.
func (IdentityClient) ListRegionSubscriptions ¶
func (client IdentityClient) ListRegionSubscriptions(ctx context.Context, request ListRegionSubscriptionsRequest) (response ListRegionSubscriptionsResponse, err error)
ListRegionSubscriptions Lists the region subscriptions for the specified tenancy.
func (IdentityClient) ListRegions ¶
func (client IdentityClient) ListRegions(ctx context.Context) (response ListRegionsResponse, err error)
ListRegions Lists all the regions offered by Oracle Cloud Infrastructure.
func (IdentityClient) ListSmtpCredentials ¶ added in v1.2.0
func (client IdentityClient) ListSmtpCredentials(ctx context.Context, request ListSmtpCredentialsRequest) (response ListSmtpCredentialsResponse, err error)
ListSmtpCredentials Lists the SMTP credentials for the specified user. The returned object contains the credential's OCID, the SMTP user name but not the SMTP password. The SMTP password is returned only upon creation.
func (IdentityClient) ListSwiftPasswords ¶
func (client IdentityClient) ListSwiftPasswords(ctx context.Context, request ListSwiftPasswordsRequest) (response ListSwiftPasswordsResponse, err error)
ListSwiftPasswords **Deprecated. Use ListAuthTokens instead.** Lists the Swift passwords for the specified user. The returned object contains the password's OCID, but not the password itself. The actual password is returned only upon creation.
func (IdentityClient) ListTagDefaults ¶
func (client IdentityClient) ListTagDefaults(ctx context.Context, request ListTagDefaultsRequest) (response ListTagDefaultsResponse, err error)
ListTagDefaults Lists the tag defaults for tag definitions in the specified compartment.
func (IdentityClient) ListTagNamespaces ¶ added in v1.1.0
func (client IdentityClient) ListTagNamespaces(ctx context.Context, request ListTagNamespacesRequest) (response ListTagNamespacesResponse, err error)
ListTagNamespaces Lists the tag namespaces in the specified compartment.
func (IdentityClient) ListTaggingWorkRequestErrors ¶
func (client IdentityClient) ListTaggingWorkRequestErrors(ctx context.Context, request ListTaggingWorkRequestErrorsRequest) (response ListTaggingWorkRequestErrorsResponse, err error)
ListTaggingWorkRequestErrors Gets the errors for a work request.
func (IdentityClient) ListTaggingWorkRequestLogs ¶
func (client IdentityClient) ListTaggingWorkRequestLogs(ctx context.Context, request ListTaggingWorkRequestLogsRequest) (response ListTaggingWorkRequestLogsResponse, err error)
ListTaggingWorkRequestLogs Gets the logs for a work request.
func (IdentityClient) ListTaggingWorkRequests ¶
func (client IdentityClient) ListTaggingWorkRequests(ctx context.Context, request ListTaggingWorkRequestsRequest) (response ListTaggingWorkRequestsResponse, err error)
ListTaggingWorkRequests Lists the tagging work requests in compartment.
func (IdentityClient) ListTags ¶ added in v1.1.0
func (client IdentityClient) ListTags(ctx context.Context, request ListTagsRequest) (response ListTagsResponse, err error)
ListTags Lists the tag definitions in the specified tag namespace.
func (IdentityClient) ListUserGroupMemberships ¶
func (client IdentityClient) ListUserGroupMemberships(ctx context.Context, request ListUserGroupMembershipsRequest) (response ListUserGroupMembershipsResponse, err error)
ListUserGroupMemberships Lists the `UserGroupMembership` objects in your tenancy. You must specify your tenancy's OCID as the value for the compartment ID (see Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five)). You must also then filter the list in one of these ways: - You can limit the results to just the memberships for a given user by specifying a `userId`. - Similarly, you can limit the results to just the memberships for a given group by specifying a `groupId`. - You can set both the `userId` and `groupId` to determine if the specified user is in the specified group. If the answer is no, the response is an empty list. - Although`userId` and `groupId` are not individually required, you must set one of them.
func (IdentityClient) ListUsers ¶
func (client IdentityClient) ListUsers(ctx context.Context, request ListUsersRequest) (response ListUsersResponse, err error)
ListUsers Lists the users in your tenancy. You must specify your tenancy's OCID as the value for the compartment ID (remember that the tenancy is simply the root compartment). See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
func (IdentityClient) ListWorkRequests ¶
func (client IdentityClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in compartment.
func (IdentityClient) MoveCompartment ¶
func (client IdentityClient) MoveCompartment(ctx context.Context, request MoveCompartmentRequest) (response MoveCompartmentResponse, err error)
MoveCompartment Move the compartment to a different parent compartment in the same tenancy. When you move a compartment, all its contents (subcompartments and resources) are moved with it. Note that the `CompartmentId` that you specify in the path is the compartment that you want to move. **IMPORTANT**: After you move a compartment to a new parent compartment, the access policies of the new parent take effect and the policies of the previous parent no longer apply. Ensure that you are aware of the implications for the compartment contents before you move it. For more information, see Moving a Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#MoveCompartment).
func (IdentityClient) RecoverCompartment ¶
func (client IdentityClient) RecoverCompartment(ctx context.Context, request RecoverCompartmentRequest) (response RecoverCompartmentResponse, err error)
RecoverCompartment Recover the compartment from DELETED state to ACTIVE state.
func (IdentityClient) RemoveUserFromGroup ¶
func (client IdentityClient) RemoveUserFromGroup(ctx context.Context, request RemoveUserFromGroupRequest) (response RemoveUserFromGroupResponse, err error)
RemoveUserFromGroup Removes a user from a group by deleting the corresponding `UserGroupMembership`.
func (IdentityClient) ResetIdpScimClient ¶
func (client IdentityClient) ResetIdpScimClient(ctx context.Context, request ResetIdpScimClientRequest) (response ResetIdpScimClientResponse, err error)
ResetIdpScimClient Resets the OAuth2 client credentials for the SCIM client associated with this identity provider.
func (*IdentityClient) SetRegion ¶
func (client *IdentityClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (IdentityClient) UpdateAuthToken ¶ added in v1.6.0
func (client IdentityClient) UpdateAuthToken(ctx context.Context, request UpdateAuthTokenRequest) (response UpdateAuthTokenResponse, err error)
UpdateAuthToken Updates the specified auth token's description.
func (IdentityClient) UpdateAuthenticationPolicy ¶
func (client IdentityClient) UpdateAuthenticationPolicy(ctx context.Context, request UpdateAuthenticationPolicyRequest) (response UpdateAuthenticationPolicyResponse, err error)
UpdateAuthenticationPolicy Updates authentication policy for the specified tenancy
func (IdentityClient) UpdateCompartment ¶
func (client IdentityClient) UpdateCompartment(ctx context.Context, request UpdateCompartmentRequest) (response UpdateCompartmentResponse, err error)
UpdateCompartment Updates the specified compartment's description or name. You can't update the root compartment.
func (IdentityClient) UpdateCustomerSecretKey ¶
func (client IdentityClient) UpdateCustomerSecretKey(ctx context.Context, request UpdateCustomerSecretKeyRequest) (response UpdateCustomerSecretKeyResponse, err error)
UpdateCustomerSecretKey Updates the specified secret key's description.
func (IdentityClient) UpdateDynamicGroup ¶ added in v1.1.0
func (client IdentityClient) UpdateDynamicGroup(ctx context.Context, request UpdateDynamicGroupRequest) (response UpdateDynamicGroupResponse, err error)
UpdateDynamicGroup Updates the specified dynamic group.
func (IdentityClient) UpdateGroup ¶
func (client IdentityClient) UpdateGroup(ctx context.Context, request UpdateGroupRequest) (response UpdateGroupResponse, err error)
UpdateGroup Updates the specified group.
func (IdentityClient) UpdateIdentityProvider ¶
func (client IdentityClient) UpdateIdentityProvider(ctx context.Context, request UpdateIdentityProviderRequest) (response UpdateIdentityProviderResponse, err error)
UpdateIdentityProvider Updates the specified identity provider.
func (IdentityClient) UpdateIdpGroupMapping ¶
func (client IdentityClient) UpdateIdpGroupMapping(ctx context.Context, request UpdateIdpGroupMappingRequest) (response UpdateIdpGroupMappingResponse, err error)
UpdateIdpGroupMapping Updates the specified group mapping.
func (IdentityClient) UpdateNetworkSource ¶
func (client IdentityClient) UpdateNetworkSource(ctx context.Context, request UpdateNetworkSourceRequest) (response UpdateNetworkSourceResponse, err error)
UpdateNetworkSource Updates the specified network source.
func (IdentityClient) UpdateOAuthClientCredential ¶
func (client IdentityClient) UpdateOAuthClientCredential(ctx context.Context, request UpdateOAuthClientCredentialRequest) (response UpdateOAuthClientCredentialResponse, err error)
UpdateOAuthClientCredential Updates Oauth token for the user
func (IdentityClient) UpdatePolicy ¶
func (client IdentityClient) UpdatePolicy(ctx context.Context, request UpdatePolicyRequest) (response UpdatePolicyResponse, err error)
UpdatePolicy Updates the specified policy. You can update the description or the policy statements themselves. Policy changes take effect typically within 10 seconds.
func (IdentityClient) UpdateSmtpCredential ¶ added in v1.2.0
func (client IdentityClient) UpdateSmtpCredential(ctx context.Context, request UpdateSmtpCredentialRequest) (response UpdateSmtpCredentialResponse, err error)
UpdateSmtpCredential Updates the specified SMTP credential's description.
func (IdentityClient) UpdateSwiftPassword ¶
func (client IdentityClient) UpdateSwiftPassword(ctx context.Context, request UpdateSwiftPasswordRequest) (response UpdateSwiftPasswordResponse, err error)
UpdateSwiftPassword **Deprecated. Use UpdateAuthToken instead.** Updates the specified Swift password's description.
func (IdentityClient) UpdateTag ¶ added in v1.1.0
func (client IdentityClient) UpdateTag(ctx context.Context, request UpdateTagRequest) (response UpdateTagResponse, err error)
UpdateTag Updates the specified tag definition. Setting `validator` determines the value type. Tags can use either a static value or a list of possible values. Static values are entered by a user applying the tag to a resource. Lists are created by you and the user must apply a value from the list. On update, any values in a list that were previously set do not change, but new values must pass validation. Values already applied to a resource do not change. You cannot remove list values that appear in a TagDefault. To remove a list value that appears in a TagDefault, first update the TagDefault to use a different value.
func (IdentityClient) UpdateTagDefault ¶
func (client IdentityClient) UpdateTagDefault(ctx context.Context, request UpdateTagDefaultRequest) (response UpdateTagDefaultResponse, err error)
UpdateTagDefault Updates the specified tag default. If you specify that a value is required, a value is set during resource creation (either by the user creating the resource or another tag defualt). If no value is set, resource creation is blocked. * If the `isRequired` flag is set to "true", the value is set during resource creation. * If the `isRequired` flag is set to "false", the value you enter is set during resource creation.
func (IdentityClient) UpdateTagNamespace ¶ added in v1.1.0
func (client IdentityClient) UpdateTagNamespace(ctx context.Context, request UpdateTagNamespaceRequest) (response UpdateTagNamespaceResponse, err error)
UpdateTagNamespace Updates the the specified tag namespace. You can't update the namespace name. Updating `isRetired` to 'true' retires the namespace and all the tag definitions in the namespace. Reactivating a namespace (changing `isRetired` from 'true' to 'false') does not reactivate tag definitions. To reactivate the tag definitions, you must reactivate each one individually *after* you reactivate the namespace, using UpdateTag. For more information about retiring tag namespaces, see Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring). You can't add a namespace with the same name as a retired namespace in the same tenancy.
func (IdentityClient) UpdateUser ¶
func (client IdentityClient) UpdateUser(ctx context.Context, request UpdateUserRequest) (response UpdateUserResponse, err error)
UpdateUser Updates the description of the specified user.
func (IdentityClient) UpdateUserCapabilities ¶
func (client IdentityClient) UpdateUserCapabilities(ctx context.Context, request UpdateUserCapabilitiesRequest) (response UpdateUserCapabilitiesResponse, err error)
UpdateUserCapabilities Updates the capabilities of the specified user.
func (IdentityClient) UpdateUserState ¶
func (client IdentityClient) UpdateUserState(ctx context.Context, request UpdateUserStateRequest) (response UpdateUserStateResponse, err error)
UpdateUserState Updates the state of the specified user.
func (IdentityClient) UploadApiKey ¶
func (client IdentityClient) UploadApiKey(ctx context.Context, request UploadApiKeyRequest) (response UploadApiKeyResponse, err error)
UploadApiKey Uploads an API signing key for the specified user. Every user has permission to use this operation to upload a key for *their own user ID*. An administrator in your organization does not need to write a policy to give users this ability. To compare, administrators who have permission to the tenancy can use this operation to upload a key for any user, including themselves. **Important:** Even though you have permission to upload an API key, you might not yet have permission to do much else. If you try calling an operation unrelated to your own credential management (e.g., `ListUsers`, `LaunchInstance`) and receive an "unauthorized" error, check with an administrator to confirm which IAM Service group(s) you're in and what access you have. Also confirm you're working in the correct compartment. After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE.
type IdentityProvider ¶
type IdentityProvider interface { // The OCID of the `IdentityProvider`. GetId() *string // The OCID of the tenancy containing the `IdentityProvider`. GetCompartmentId() *string // The name you assign to the `IdentityProvider` during creation. The name // must be unique across all `IdentityProvider` objects in the tenancy and // cannot be changed. This is the name federated users see when choosing // which identity provider to use when signing in to the Oracle Cloud Infrastructure // Console. GetName() *string // The description you assign to the `IdentityProvider` during creation. Does // not have to be unique, and it's changeable. GetDescription() *string // The identity provider service or product. // Supported identity providers are Oracle Identity Cloud Service (IDCS) and Microsoft // Active Directory Federation Services (ADFS). // Allowed values are: // - `ADFS` // - `IDCS` // Example: `IDCS` GetProductType() *string // Date and time the `IdentityProvider` was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` GetTimeCreated() *common.SDKTime // The current state. After creating an `IdentityProvider`, make sure its // `lifecycleState` changes from CREATING to ACTIVE before using it. GetLifecycleState() IdentityProviderLifecycleStateEnum // The detailed status of INACTIVE lifecycleState. GetInactiveStatus() *int64 // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} }
IdentityProvider The resulting base object when you add an identity provider to your tenancy. A Saml2IdentityProvider is a specific type of `IdentityProvider` that supports the SAML 2.0 protocol. Each `IdentityProvider` object has its own OCID. For more information, see Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
type IdentityProviderGroupSummary ¶
type IdentityProviderGroupSummary struct { // The OCID of the `IdentityProviderGroup`. Id *string `mandatory:"false" json:"id"` // The OCID of the `IdentityProvider` this group belongs to. IdentityProviderId *string `mandatory:"false" json:"identityProviderId"` // Display name of the group DisplayName *string `mandatory:"false" json:"displayName"` // Display name of the group Name *string `mandatory:"false" json:"name"` // Identifier of the group in the identity provider ExternalIdentifier *string `mandatory:"false" json:"externalIdentifier"` // Date and time the `IdentityProviderGroup` was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date and time the `IdentityProviderGroup` was last modified, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"` }
IdentityProviderGroupSummary A group created in an identity provider that can be mapped to a group in OCI
func (IdentityProviderGroupSummary) String ¶
func (m IdentityProviderGroupSummary) String() string
type IdentityProviderLifecycleStateEnum ¶
type IdentityProviderLifecycleStateEnum string
IdentityProviderLifecycleStateEnum Enum with underlying type: string
const ( IdentityProviderLifecycleStateCreating IdentityProviderLifecycleStateEnum = "CREATING" IdentityProviderLifecycleStateActive IdentityProviderLifecycleStateEnum = "ACTIVE" IdentityProviderLifecycleStateInactive IdentityProviderLifecycleStateEnum = "INACTIVE" IdentityProviderLifecycleStateDeleting IdentityProviderLifecycleStateEnum = "DELETING" IdentityProviderLifecycleStateDeleted IdentityProviderLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for IdentityProviderLifecycleStateEnum
func GetIdentityProviderLifecycleStateEnumValues ¶
func GetIdentityProviderLifecycleStateEnumValues() []IdentityProviderLifecycleStateEnum
GetIdentityProviderLifecycleStateEnumValues Enumerates the set of values for IdentityProviderLifecycleStateEnum
type IdpGroupMapping ¶
type IdpGroupMapping struct { // The OCID of the `IdpGroupMapping`. Id *string `mandatory:"true" json:"id"` // The OCID of the `IdentityProvider` this mapping belongs to. IdpId *string `mandatory:"true" json:"idpId"` // The name of the IdP group that is mapped to the IAM Service group. IdpGroupName *string `mandatory:"true" json:"idpGroupName"` // The OCID of the IAM Service group that is mapped to the IdP group. GroupId *string `mandatory:"true" json:"groupId"` // The OCID of the tenancy containing the `IdentityProvider`. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Date and time the mapping was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The mapping's current state. After creating a mapping object, make sure its `lifecycleState` changes // from CREATING to ACTIVE before using it. LifecycleState IdpGroupMappingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
IdpGroupMapping A mapping between a single group defined by the identity provider (IdP) you're federating with and a single IAM Service Group in Oracle Cloud Infrastructure. For more information about group mappings and what they're for, see Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). A given IdP group can be mapped to zero, one, or multiple IAM Service groups, and vice versa. But each `IdPGroupMapping` object is between only a single IdP group and IAM Service group. Each `IdPGroupMapping` object has its own OCID. **Note:** Any users who are in more than 50 IdP groups cannot be authenticated to use the Oracle Cloud Infrastructure Console.
func (IdpGroupMapping) String ¶
func (m IdpGroupMapping) String() string
type IdpGroupMappingLifecycleStateEnum ¶
type IdpGroupMappingLifecycleStateEnum string
IdpGroupMappingLifecycleStateEnum Enum with underlying type: string
const ( IdpGroupMappingLifecycleStateCreating IdpGroupMappingLifecycleStateEnum = "CREATING" IdpGroupMappingLifecycleStateActive IdpGroupMappingLifecycleStateEnum = "ACTIVE" IdpGroupMappingLifecycleStateInactive IdpGroupMappingLifecycleStateEnum = "INACTIVE" IdpGroupMappingLifecycleStateDeleting IdpGroupMappingLifecycleStateEnum = "DELETING" IdpGroupMappingLifecycleStateDeleted IdpGroupMappingLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for IdpGroupMappingLifecycleStateEnum
func GetIdpGroupMappingLifecycleStateEnumValues ¶
func GetIdpGroupMappingLifecycleStateEnumValues() []IdpGroupMappingLifecycleStateEnum
GetIdpGroupMappingLifecycleStateEnumValues Enumerates the set of values for IdpGroupMappingLifecycleStateEnum
type ListApiKeysRequest ¶
type ListApiKeysRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 }
ListApiKeysRequest wrapper for the ListApiKeys operation
func (ListApiKeysRequest) HTTPRequest ¶ added in v1.3.0
func (request ListApiKeysRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListApiKeysRequest) RetryPolicy ¶ added in v1.3.0
func (request ListApiKeysRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListApiKeysRequest) String ¶
func (request ListApiKeysRequest) String() string
type ListApiKeysResponse ¶
type ListApiKeysResponse struct { // The underlying http response RawResponse *http.Response // The []ApiKey instance Items []ApiKey `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"` }
ListApiKeysResponse wrapper for the ListApiKeys operation
func (ListApiKeysResponse) HTTPResponse ¶ added in v1.3.0
func (response ListApiKeysResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListApiKeysResponse) String ¶
func (response ListApiKeysResponse) String() string
type ListAuthTokensRequest ¶ added in v1.6.0
type ListAuthTokensRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 }
ListAuthTokensRequest wrapper for the ListAuthTokens operation
func (ListAuthTokensRequest) HTTPRequest ¶ added in v1.6.0
func (request ListAuthTokensRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAuthTokensRequest) RetryPolicy ¶ added in v1.6.0
func (request ListAuthTokensRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAuthTokensRequest) String ¶ added in v1.6.0
func (request ListAuthTokensRequest) String() string
type ListAuthTokensResponse ¶ added in v1.6.0
type ListAuthTokensResponse struct { // The underlying http response RawResponse *http.Response // The []AuthToken instance Items []AuthToken `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"` }
ListAuthTokensResponse wrapper for the ListAuthTokens operation
func (ListAuthTokensResponse) HTTPResponse ¶ added in v1.6.0
func (response ListAuthTokensResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAuthTokensResponse) String ¶ added in v1.6.0
func (response ListAuthTokensResponse) String() string
type ListAvailabilityDomainsRequest ¶
type ListAvailabilityDomainsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root 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 }
ListAvailabilityDomainsRequest wrapper for the ListAvailabilityDomains operation
func (ListAvailabilityDomainsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListAvailabilityDomainsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListAvailabilityDomainsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListAvailabilityDomainsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListAvailabilityDomainsRequest) String ¶
func (request ListAvailabilityDomainsRequest) String() string
type ListAvailabilityDomainsResponse ¶
type ListAvailabilityDomainsResponse struct { // The underlying http response RawResponse *http.Response // The []AvailabilityDomain instance Items []AvailabilityDomain `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"` }
ListAvailabilityDomainsResponse wrapper for the ListAvailabilityDomains operation
func (ListAvailabilityDomainsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListAvailabilityDomainsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAvailabilityDomainsResponse) String ¶
func (response ListAvailabilityDomainsResponse) String() string
type ListBulkActionResourceTypesBulkActionTypeEnum ¶
type ListBulkActionResourceTypesBulkActionTypeEnum string
ListBulkActionResourceTypesBulkActionTypeEnum Enum with underlying type: string
const ( ListBulkActionResourceTypesBulkActionTypeMoveResources ListBulkActionResourceTypesBulkActionTypeEnum = "BULK_MOVE_RESOURCES" ListBulkActionResourceTypesBulkActionTypeDeleteResources ListBulkActionResourceTypesBulkActionTypeEnum = "BULK_DELETE_RESOURCES" )
Set of constants representing the allowable values for ListBulkActionResourceTypesBulkActionTypeEnum
func GetListBulkActionResourceTypesBulkActionTypeEnumValues ¶
func GetListBulkActionResourceTypesBulkActionTypeEnumValues() []ListBulkActionResourceTypesBulkActionTypeEnum
GetListBulkActionResourceTypesBulkActionTypeEnumValues Enumerates the set of values for ListBulkActionResourceTypesBulkActionTypeEnum
type ListBulkActionResourceTypesRequest ¶
type ListBulkActionResourceTypesRequest struct { // The type of bulk action. BulkActionType ListBulkActionResourceTypesBulkActionTypeEnum `mandatory:"true" contributesTo:"query" name:"bulkActionType" omitEmpty:"true"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 }
ListBulkActionResourceTypesRequest wrapper for the ListBulkActionResourceTypes operation
func (ListBulkActionResourceTypesRequest) HTTPRequest ¶
func (request ListBulkActionResourceTypesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListBulkActionResourceTypesRequest) RetryPolicy ¶
func (request ListBulkActionResourceTypesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListBulkActionResourceTypesRequest) String ¶
func (request ListBulkActionResourceTypesRequest) String() string
type ListBulkActionResourceTypesResponse ¶
type ListBulkActionResourceTypesResponse struct { // The underlying http response RawResponse *http.Response // A list of BulkActionResourceTypeCollection instances BulkActionResourceTypeCollection `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"` }
ListBulkActionResourceTypesResponse wrapper for the ListBulkActionResourceTypes operation
func (ListBulkActionResourceTypesResponse) HTTPResponse ¶
func (response ListBulkActionResourceTypesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListBulkActionResourceTypesResponse) String ¶
func (response ListBulkActionResourceTypesResponse) String() string
type ListCompartmentsAccessLevelEnum ¶
type ListCompartmentsAccessLevelEnum string
ListCompartmentsAccessLevelEnum Enum with underlying type: string
const ( ListCompartmentsAccessLevelAny ListCompartmentsAccessLevelEnum = "ANY" ListCompartmentsAccessLevelAccessible ListCompartmentsAccessLevelEnum = "ACCESSIBLE" )
Set of constants representing the allowable values for ListCompartmentsAccessLevelEnum
func GetListCompartmentsAccessLevelEnumValues ¶
func GetListCompartmentsAccessLevelEnumValues() []ListCompartmentsAccessLevelEnum
GetListCompartmentsAccessLevelEnumValues Enumerates the set of values for ListCompartmentsAccessLevelEnum
type ListCompartmentsRequest ¶
type ListCompartmentsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Valid values are `ANY` and `ACCESSIBLE`. Default is `ANY`. // Setting this to `ACCESSIBLE` returns only those compartments for which the // user has INSPECT permissions directly or indirectly (permissions can be on a // resource in a subcompartment). For the compartments on which the user indirectly has // INSPECT permissions, a restricted set of fields is returned. // When set to `ANY` permissions are not checked. AccessLevel ListCompartmentsAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"` // Default is false. Can only be set to true when performing // ListCompartments on the tenancy (root compartment). // When set to true, the hierarchy of compartments is traversed // and all compartments and subcompartments in the tenancy are // returned depending on the the setting of `accessLevel`. CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListCompartmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order // is case sensitive. SortOrder ListCompartmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState CompartmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListCompartmentsRequest wrapper for the ListCompartments operation
func (ListCompartmentsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListCompartmentsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListCompartmentsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListCompartmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListCompartmentsRequest) String ¶
func (request ListCompartmentsRequest) String() string
type ListCompartmentsResponse ¶
type ListCompartmentsResponse struct { // The underlying http response RawResponse *http.Response // A list of []Compartment instances Items []Compartment `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"` }
ListCompartmentsResponse wrapper for the ListCompartments operation
func (ListCompartmentsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListCompartmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListCompartmentsResponse) String ¶
func (response ListCompartmentsResponse) String() string
type ListCompartmentsSortByEnum ¶
type ListCompartmentsSortByEnum string
ListCompartmentsSortByEnum Enum with underlying type: string
const ( ListCompartmentsSortByTimecreated ListCompartmentsSortByEnum = "TIMECREATED" ListCompartmentsSortByName ListCompartmentsSortByEnum = "NAME" )
Set of constants representing the allowable values for ListCompartmentsSortByEnum
func GetListCompartmentsSortByEnumValues ¶
func GetListCompartmentsSortByEnumValues() []ListCompartmentsSortByEnum
GetListCompartmentsSortByEnumValues Enumerates the set of values for ListCompartmentsSortByEnum
type ListCompartmentsSortOrderEnum ¶
type ListCompartmentsSortOrderEnum string
ListCompartmentsSortOrderEnum Enum with underlying type: string
const ( ListCompartmentsSortOrderAsc ListCompartmentsSortOrderEnum = "ASC" ListCompartmentsSortOrderDesc ListCompartmentsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListCompartmentsSortOrderEnum
func GetListCompartmentsSortOrderEnumValues ¶
func GetListCompartmentsSortOrderEnumValues() []ListCompartmentsSortOrderEnum
GetListCompartmentsSortOrderEnumValues Enumerates the set of values for ListCompartmentsSortOrderEnum
type ListCostTrackingTagsRequest ¶
type ListCostTrackingTagsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 }
ListCostTrackingTagsRequest wrapper for the ListCostTrackingTags operation
func (ListCostTrackingTagsRequest) HTTPRequest ¶
func (request ListCostTrackingTagsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListCostTrackingTagsRequest) RetryPolicy ¶
func (request ListCostTrackingTagsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListCostTrackingTagsRequest) String ¶
func (request ListCostTrackingTagsRequest) String() string
type ListCostTrackingTagsResponse ¶
type ListCostTrackingTagsResponse struct { // The underlying http response RawResponse *http.Response // A list of []Tag instances Items []Tag `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 cost tracking tag. 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. For important details about how pagination works, // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListCostTrackingTagsResponse wrapper for the ListCostTrackingTags operation
func (ListCostTrackingTagsResponse) HTTPResponse ¶
func (response ListCostTrackingTagsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListCostTrackingTagsResponse) String ¶
func (response ListCostTrackingTagsResponse) String() string
type ListCustomerSecretKeysRequest ¶
type ListCustomerSecretKeysRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 }
ListCustomerSecretKeysRequest wrapper for the ListCustomerSecretKeys operation
func (ListCustomerSecretKeysRequest) HTTPRequest ¶ added in v1.3.0
func (request ListCustomerSecretKeysRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListCustomerSecretKeysRequest) RetryPolicy ¶ added in v1.3.0
func (request ListCustomerSecretKeysRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListCustomerSecretKeysRequest) String ¶
func (request ListCustomerSecretKeysRequest) String() string
type ListCustomerSecretKeysResponse ¶
type ListCustomerSecretKeysResponse struct { // The underlying http response RawResponse *http.Response // The []CustomerSecretKeySummary instance Items []CustomerSecretKeySummary `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"` }
ListCustomerSecretKeysResponse wrapper for the ListCustomerSecretKeys operation
func (ListCustomerSecretKeysResponse) HTTPResponse ¶ added in v1.3.0
func (response ListCustomerSecretKeysResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListCustomerSecretKeysResponse) String ¶
func (response ListCustomerSecretKeysResponse) String() string
type ListDynamicGroupsRequest ¶ added in v1.1.0
type ListDynamicGroupsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListDynamicGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order // is case sensitive. SortOrder ListDynamicGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState DynamicGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListDynamicGroupsRequest wrapper for the ListDynamicGroups operation
func (ListDynamicGroupsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListDynamicGroupsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDynamicGroupsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListDynamicGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDynamicGroupsRequest) String ¶ added in v1.1.0
func (request ListDynamicGroupsRequest) String() string
type ListDynamicGroupsResponse ¶ added in v1.1.0
type ListDynamicGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of []DynamicGroup instances Items []DynamicGroup `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"` }
ListDynamicGroupsResponse wrapper for the ListDynamicGroups operation
func (ListDynamicGroupsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListDynamicGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDynamicGroupsResponse) String ¶ added in v1.1.0
func (response ListDynamicGroupsResponse) String() string
type ListDynamicGroupsSortByEnum ¶
type ListDynamicGroupsSortByEnum string
ListDynamicGroupsSortByEnum Enum with underlying type: string
const ( ListDynamicGroupsSortByTimecreated ListDynamicGroupsSortByEnum = "TIMECREATED" ListDynamicGroupsSortByName ListDynamicGroupsSortByEnum = "NAME" )
Set of constants representing the allowable values for ListDynamicGroupsSortByEnum
func GetListDynamicGroupsSortByEnumValues ¶
func GetListDynamicGroupsSortByEnumValues() []ListDynamicGroupsSortByEnum
GetListDynamicGroupsSortByEnumValues Enumerates the set of values for ListDynamicGroupsSortByEnum
type ListDynamicGroupsSortOrderEnum ¶
type ListDynamicGroupsSortOrderEnum string
ListDynamicGroupsSortOrderEnum Enum with underlying type: string
const ( ListDynamicGroupsSortOrderAsc ListDynamicGroupsSortOrderEnum = "ASC" ListDynamicGroupsSortOrderDesc ListDynamicGroupsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDynamicGroupsSortOrderEnum
func GetListDynamicGroupsSortOrderEnumValues ¶
func GetListDynamicGroupsSortOrderEnumValues() []ListDynamicGroupsSortOrderEnum
GetListDynamicGroupsSortOrderEnumValues Enumerates the set of values for ListDynamicGroupsSortOrderEnum
type ListFaultDomainsRequest ¶
type ListFaultDomainsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availibilityDomain. AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"` // 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 }
ListFaultDomainsRequest wrapper for the ListFaultDomains operation
func (ListFaultDomainsRequest) HTTPRequest ¶
func (request ListFaultDomainsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListFaultDomainsRequest) RetryPolicy ¶
func (request ListFaultDomainsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListFaultDomainsRequest) String ¶
func (request ListFaultDomainsRequest) String() string
type ListFaultDomainsResponse ¶
type ListFaultDomainsResponse struct { // The underlying http response RawResponse *http.Response // The []FaultDomain instance Items []FaultDomain `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"` }
ListFaultDomainsResponse wrapper for the ListFaultDomains operation
func (ListFaultDomainsResponse) HTTPResponse ¶
func (response ListFaultDomainsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListFaultDomainsResponse) String ¶
func (response ListFaultDomainsResponse) String() string
type ListGroupsRequest ¶
type ListGroupsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order // is case sensitive. SortOrder ListGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState GroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListGroupsRequest wrapper for the ListGroups operation
func (ListGroupsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListGroupsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListGroupsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListGroupsRequest) String ¶
func (request ListGroupsRequest) String() string
type ListGroupsResponse ¶
type ListGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of []Group instances Items []Group `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"` }
ListGroupsResponse wrapper for the ListGroups operation
func (ListGroupsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListGroupsResponse) String ¶
func (response ListGroupsResponse) String() string
type ListGroupsSortByEnum ¶
type ListGroupsSortByEnum string
ListGroupsSortByEnum Enum with underlying type: string
const ( ListGroupsSortByTimecreated ListGroupsSortByEnum = "TIMECREATED" ListGroupsSortByName ListGroupsSortByEnum = "NAME" )
Set of constants representing the allowable values for ListGroupsSortByEnum
func GetListGroupsSortByEnumValues ¶
func GetListGroupsSortByEnumValues() []ListGroupsSortByEnum
GetListGroupsSortByEnumValues Enumerates the set of values for ListGroupsSortByEnum
type ListGroupsSortOrderEnum ¶
type ListGroupsSortOrderEnum string
ListGroupsSortOrderEnum Enum with underlying type: string
const ( ListGroupsSortOrderAsc ListGroupsSortOrderEnum = "ASC" ListGroupsSortOrderDesc ListGroupsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListGroupsSortOrderEnum
func GetListGroupsSortOrderEnumValues ¶
func GetListGroupsSortOrderEnumValues() []ListGroupsSortOrderEnum
GetListGroupsSortOrderEnumValues Enumerates the set of values for ListGroupsSortOrderEnum
type ListIdentityProviderGroupsRequest ¶
type ListIdentityProviderGroupsRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState IdentityProviderLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListIdentityProviderGroupsRequest wrapper for the ListIdentityProviderGroups operation
func (ListIdentityProviderGroupsRequest) HTTPRequest ¶
func (request ListIdentityProviderGroupsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListIdentityProviderGroupsRequest) RetryPolicy ¶
func (request ListIdentityProviderGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListIdentityProviderGroupsRequest) String ¶
func (request ListIdentityProviderGroupsRequest) String() string
type ListIdentityProviderGroupsResponse ¶
type ListIdentityProviderGroupsResponse struct { // The underlying http response RawResponse *http.Response // A list of []IdentityProviderGroupSummary instances Items []IdentityProviderGroupSummary `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"` }
ListIdentityProviderGroupsResponse wrapper for the ListIdentityProviderGroups operation
func (ListIdentityProviderGroupsResponse) HTTPResponse ¶
func (response ListIdentityProviderGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListIdentityProviderGroupsResponse) String ¶
func (response ListIdentityProviderGroupsResponse) String() string
type ListIdentityProvidersProtocolEnum ¶
type ListIdentityProvidersProtocolEnum string
ListIdentityProvidersProtocolEnum Enum with underlying type: string
const (
ListIdentityProvidersProtocolSaml2 ListIdentityProvidersProtocolEnum = "SAML2"
)
Set of constants representing the allowable values for ListIdentityProvidersProtocolEnum
func GetListIdentityProvidersProtocolEnumValues ¶
func GetListIdentityProvidersProtocolEnumValues() []ListIdentityProvidersProtocolEnum
GetListIdentityProvidersProtocolEnumValues Enumerates the set of values for ListIdentityProvidersProtocolEnum
type ListIdentityProvidersRequest ¶
type ListIdentityProvidersRequest struct { // The protocol used for federation. Protocol ListIdentityProvidersProtocolEnum `mandatory:"true" contributesTo:"query" name:"protocol" omitEmpty:"true"` // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListIdentityProvidersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order // is case sensitive. SortOrder ListIdentityProvidersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState IdentityProviderLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListIdentityProvidersRequest wrapper for the ListIdentityProviders operation
func (ListIdentityProvidersRequest) HTTPRequest ¶ added in v1.3.0
func (request ListIdentityProvidersRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListIdentityProvidersRequest) RetryPolicy ¶ added in v1.3.0
func (request ListIdentityProvidersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListIdentityProvidersRequest) String ¶
func (request ListIdentityProvidersRequest) String() string
type ListIdentityProvidersResponse ¶
type ListIdentityProvidersResponse struct { // The underlying http response RawResponse *http.Response // A list of []IdentityProvider instances Items []IdentityProvider `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"` }
ListIdentityProvidersResponse wrapper for the ListIdentityProviders operation
func (ListIdentityProvidersResponse) HTTPResponse ¶ added in v1.3.0
func (response ListIdentityProvidersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListIdentityProvidersResponse) String ¶
func (response ListIdentityProvidersResponse) String() string
type ListIdentityProvidersSortByEnum ¶
type ListIdentityProvidersSortByEnum string
ListIdentityProvidersSortByEnum Enum with underlying type: string
const ( ListIdentityProvidersSortByTimecreated ListIdentityProvidersSortByEnum = "TIMECREATED" ListIdentityProvidersSortByName ListIdentityProvidersSortByEnum = "NAME" )
Set of constants representing the allowable values for ListIdentityProvidersSortByEnum
func GetListIdentityProvidersSortByEnumValues ¶
func GetListIdentityProvidersSortByEnumValues() []ListIdentityProvidersSortByEnum
GetListIdentityProvidersSortByEnumValues Enumerates the set of values for ListIdentityProvidersSortByEnum
type ListIdentityProvidersSortOrderEnum ¶
type ListIdentityProvidersSortOrderEnum string
ListIdentityProvidersSortOrderEnum Enum with underlying type: string
const ( ListIdentityProvidersSortOrderAsc ListIdentityProvidersSortOrderEnum = "ASC" ListIdentityProvidersSortOrderDesc ListIdentityProvidersSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListIdentityProvidersSortOrderEnum
func GetListIdentityProvidersSortOrderEnumValues ¶
func GetListIdentityProvidersSortOrderEnumValues() []ListIdentityProvidersSortOrderEnum
GetListIdentityProvidersSortOrderEnumValues Enumerates the set of values for ListIdentityProvidersSortOrderEnum
type ListIdpGroupMappingsRequest ¶
type ListIdpGroupMappingsRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 }
ListIdpGroupMappingsRequest wrapper for the ListIdpGroupMappings operation
func (ListIdpGroupMappingsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListIdpGroupMappingsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListIdpGroupMappingsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListIdpGroupMappingsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListIdpGroupMappingsRequest) String ¶
func (request ListIdpGroupMappingsRequest) String() string
type ListIdpGroupMappingsResponse ¶
type ListIdpGroupMappingsResponse struct { // The underlying http response RawResponse *http.Response // A list of []IdpGroupMapping instances Items []IdpGroupMapping `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"` }
ListIdpGroupMappingsResponse wrapper for the ListIdpGroupMappings operation
func (ListIdpGroupMappingsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListIdpGroupMappingsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListIdpGroupMappingsResponse) String ¶
func (response ListIdpGroupMappingsResponse) String() string
type ListMfaTotpDevicesRequest ¶
type ListMfaTotpDevicesRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListMfaTotpDevicesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order // is case sensitive. SortOrder ListMfaTotpDevicesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // 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 }
ListMfaTotpDevicesRequest wrapper for the ListMfaTotpDevices operation
func (ListMfaTotpDevicesRequest) HTTPRequest ¶
func (request ListMfaTotpDevicesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListMfaTotpDevicesRequest) RetryPolicy ¶
func (request ListMfaTotpDevicesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListMfaTotpDevicesRequest) String ¶
func (request ListMfaTotpDevicesRequest) String() string
type ListMfaTotpDevicesResponse ¶
type ListMfaTotpDevicesResponse struct { // The underlying http response RawResponse *http.Response // A list of []MfaTotpDeviceSummary instances Items []MfaTotpDeviceSummary `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"` }
ListMfaTotpDevicesResponse wrapper for the ListMfaTotpDevices operation
func (ListMfaTotpDevicesResponse) HTTPResponse ¶
func (response ListMfaTotpDevicesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListMfaTotpDevicesResponse) String ¶
func (response ListMfaTotpDevicesResponse) String() string
type ListMfaTotpDevicesSortByEnum ¶
type ListMfaTotpDevicesSortByEnum string
ListMfaTotpDevicesSortByEnum Enum with underlying type: string
const ( ListMfaTotpDevicesSortByTimecreated ListMfaTotpDevicesSortByEnum = "TIMECREATED" ListMfaTotpDevicesSortByName ListMfaTotpDevicesSortByEnum = "NAME" )
Set of constants representing the allowable values for ListMfaTotpDevicesSortByEnum
func GetListMfaTotpDevicesSortByEnumValues ¶
func GetListMfaTotpDevicesSortByEnumValues() []ListMfaTotpDevicesSortByEnum
GetListMfaTotpDevicesSortByEnumValues Enumerates the set of values for ListMfaTotpDevicesSortByEnum
type ListMfaTotpDevicesSortOrderEnum ¶
type ListMfaTotpDevicesSortOrderEnum string
ListMfaTotpDevicesSortOrderEnum Enum with underlying type: string
const ( ListMfaTotpDevicesSortOrderAsc ListMfaTotpDevicesSortOrderEnum = "ASC" ListMfaTotpDevicesSortOrderDesc ListMfaTotpDevicesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListMfaTotpDevicesSortOrderEnum
func GetListMfaTotpDevicesSortOrderEnumValues ¶
func GetListMfaTotpDevicesSortOrderEnumValues() []ListMfaTotpDevicesSortOrderEnum
GetListMfaTotpDevicesSortOrderEnumValues Enumerates the set of values for ListMfaTotpDevicesSortOrderEnum
type ListNetworkSourcesRequest ¶
type ListNetworkSourcesRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListNetworkSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order // is case sensitive. SortOrder ListNetworkSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState NetworkSourcesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListNetworkSourcesRequest wrapper for the ListNetworkSources operation
func (ListNetworkSourcesRequest) HTTPRequest ¶
func (request ListNetworkSourcesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListNetworkSourcesRequest) RetryPolicy ¶
func (request ListNetworkSourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListNetworkSourcesRequest) String ¶
func (request ListNetworkSourcesRequest) String() string
type ListNetworkSourcesResponse ¶
type ListNetworkSourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of []NetworkSourcesSummary instances Items []NetworkSourcesSummary `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"` }
ListNetworkSourcesResponse wrapper for the ListNetworkSources operation
func (ListNetworkSourcesResponse) HTTPResponse ¶
func (response ListNetworkSourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListNetworkSourcesResponse) String ¶
func (response ListNetworkSourcesResponse) String() string
type ListNetworkSourcesSortByEnum ¶
type ListNetworkSourcesSortByEnum string
ListNetworkSourcesSortByEnum Enum with underlying type: string
const ( ListNetworkSourcesSortByTimecreated ListNetworkSourcesSortByEnum = "TIMECREATED" ListNetworkSourcesSortByName ListNetworkSourcesSortByEnum = "NAME" )
Set of constants representing the allowable values for ListNetworkSourcesSortByEnum
func GetListNetworkSourcesSortByEnumValues ¶
func GetListNetworkSourcesSortByEnumValues() []ListNetworkSourcesSortByEnum
GetListNetworkSourcesSortByEnumValues Enumerates the set of values for ListNetworkSourcesSortByEnum
type ListNetworkSourcesSortOrderEnum ¶
type ListNetworkSourcesSortOrderEnum string
ListNetworkSourcesSortOrderEnum Enum with underlying type: string
const ( ListNetworkSourcesSortOrderAsc ListNetworkSourcesSortOrderEnum = "ASC" ListNetworkSourcesSortOrderDesc ListNetworkSourcesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListNetworkSourcesSortOrderEnum
func GetListNetworkSourcesSortOrderEnumValues ¶
func GetListNetworkSourcesSortOrderEnumValues() []ListNetworkSourcesSortOrderEnum
GetListNetworkSourcesSortOrderEnumValues Enumerates the set of values for ListNetworkSourcesSortOrderEnum
type ListOAuthClientCredentialsRequest ¶
type ListOAuthClientCredentialsRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState OAuth2ClientCredentialSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListOAuthClientCredentialsRequest wrapper for the ListOAuthClientCredentials operation
func (ListOAuthClientCredentialsRequest) HTTPRequest ¶
func (request ListOAuthClientCredentialsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListOAuthClientCredentialsRequest) RetryPolicy ¶
func (request ListOAuthClientCredentialsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListOAuthClientCredentialsRequest) String ¶
func (request ListOAuthClientCredentialsRequest) String() string
type ListOAuthClientCredentialsResponse ¶
type ListOAuthClientCredentialsResponse struct { // The underlying http response RawResponse *http.Response // A list of []OAuth2ClientCredentialSummary instances Items []OAuth2ClientCredentialSummary `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"` }
ListOAuthClientCredentialsResponse wrapper for the ListOAuthClientCredentials operation
func (ListOAuthClientCredentialsResponse) HTTPResponse ¶
func (response ListOAuthClientCredentialsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListOAuthClientCredentialsResponse) String ¶
func (response ListOAuthClientCredentialsResponse) String() string
type ListPoliciesRequest ¶
type ListPoliciesRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order // is case sensitive. SortOrder ListPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState PolicyLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListPoliciesRequest wrapper for the ListPolicies operation
func (ListPoliciesRequest) HTTPRequest ¶ added in v1.3.0
func (request ListPoliciesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListPoliciesRequest) RetryPolicy ¶ added in v1.3.0
func (request ListPoliciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListPoliciesRequest) String ¶
func (request ListPoliciesRequest) String() string
type ListPoliciesResponse ¶
type ListPoliciesResponse struct { // The underlying http response RawResponse *http.Response // A list of []Policy instances Items []Policy `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"` }
ListPoliciesResponse wrapper for the ListPolicies operation
func (ListPoliciesResponse) HTTPResponse ¶ added in v1.3.0
func (response ListPoliciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListPoliciesResponse) String ¶
func (response ListPoliciesResponse) String() string
type ListPoliciesSortByEnum ¶
type ListPoliciesSortByEnum string
ListPoliciesSortByEnum Enum with underlying type: string
const ( ListPoliciesSortByTimecreated ListPoliciesSortByEnum = "TIMECREATED" ListPoliciesSortByName ListPoliciesSortByEnum = "NAME" )
Set of constants representing the allowable values for ListPoliciesSortByEnum
func GetListPoliciesSortByEnumValues ¶
func GetListPoliciesSortByEnumValues() []ListPoliciesSortByEnum
GetListPoliciesSortByEnumValues Enumerates the set of values for ListPoliciesSortByEnum
type ListPoliciesSortOrderEnum ¶
type ListPoliciesSortOrderEnum string
ListPoliciesSortOrderEnum Enum with underlying type: string
const ( ListPoliciesSortOrderAsc ListPoliciesSortOrderEnum = "ASC" ListPoliciesSortOrderDesc ListPoliciesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListPoliciesSortOrderEnum
func GetListPoliciesSortOrderEnumValues ¶
func GetListPoliciesSortOrderEnumValues() []ListPoliciesSortOrderEnum
GetListPoliciesSortOrderEnumValues Enumerates the set of values for ListPoliciesSortOrderEnum
type ListRegionSubscriptionsRequest ¶
type ListRegionSubscriptionsRequest struct { // The OCID of the tenancy. TenancyId *string `mandatory:"true" contributesTo:"path" name:"tenancyId"` // 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 }
ListRegionSubscriptionsRequest wrapper for the ListRegionSubscriptions operation
func (ListRegionSubscriptionsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListRegionSubscriptionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListRegionSubscriptionsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListRegionSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListRegionSubscriptionsRequest) String ¶
func (request ListRegionSubscriptionsRequest) String() string
type ListRegionSubscriptionsResponse ¶
type ListRegionSubscriptionsResponse struct { // The underlying http response RawResponse *http.Response // The []RegionSubscription instance Items []RegionSubscription `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"` }
ListRegionSubscriptionsResponse wrapper for the ListRegionSubscriptions operation
func (ListRegionSubscriptionsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListRegionSubscriptionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListRegionSubscriptionsResponse) String ¶
func (response ListRegionSubscriptionsResponse) String() string
type ListRegionsRequest ¶
type ListRegionsRequest struct { // 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 }
ListRegionsRequest wrapper for the ListRegions operation
func (ListRegionsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListRegionsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListRegionsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListRegionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListRegionsRequest) String ¶
func (request ListRegionsRequest) String() string
type ListRegionsResponse ¶
type ListRegionsResponse struct { // The underlying http response RawResponse *http.Response // The []Region instance Items []Region `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"` }
ListRegionsResponse wrapper for the ListRegions operation
func (ListRegionsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListRegionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListRegionsResponse) String ¶
func (response ListRegionsResponse) String() string
type ListSmtpCredentialsRequest ¶ added in v1.2.0
type ListSmtpCredentialsRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 }
ListSmtpCredentialsRequest wrapper for the ListSmtpCredentials operation
func (ListSmtpCredentialsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListSmtpCredentialsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSmtpCredentialsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListSmtpCredentialsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSmtpCredentialsRequest) String ¶ added in v1.2.0
func (request ListSmtpCredentialsRequest) String() string
type ListSmtpCredentialsResponse ¶ added in v1.2.0
type ListSmtpCredentialsResponse struct { // The underlying http response RawResponse *http.Response // The []SmtpCredentialSummary instance Items []SmtpCredentialSummary `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"` }
ListSmtpCredentialsResponse wrapper for the ListSmtpCredentials operation
func (ListSmtpCredentialsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListSmtpCredentialsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSmtpCredentialsResponse) String ¶ added in v1.2.0
func (response ListSmtpCredentialsResponse) String() string
type ListSwiftPasswordsRequest ¶
type ListSwiftPasswordsRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // 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 }
ListSwiftPasswordsRequest wrapper for the ListSwiftPasswords operation
func (ListSwiftPasswordsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListSwiftPasswordsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListSwiftPasswordsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListSwiftPasswordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListSwiftPasswordsRequest) String ¶
func (request ListSwiftPasswordsRequest) String() string
type ListSwiftPasswordsResponse ¶
type ListSwiftPasswordsResponse struct { // The underlying http response RawResponse *http.Response // The []SwiftPassword instance Items []SwiftPassword `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"` }
ListSwiftPasswordsResponse wrapper for the ListSwiftPasswords operation
func (ListSwiftPasswordsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListSwiftPasswordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListSwiftPasswordsResponse) String ¶
func (response ListSwiftPasswordsResponse) String() string
type ListTagDefaultsRequest ¶
type ListTagDefaultsRequest struct { // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the specified OCID exactly. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID of the tag definition. TagDefinitionId *string `mandatory:"false" contributesTo:"query" name:"tagDefinitionId"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState TagDefaultSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListTagDefaultsRequest wrapper for the ListTagDefaults operation
func (ListTagDefaultsRequest) HTTPRequest ¶
func (request ListTagDefaultsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListTagDefaultsRequest) RetryPolicy ¶
func (request ListTagDefaultsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListTagDefaultsRequest) String ¶
func (request ListTagDefaultsRequest) String() string
type ListTagDefaultsResponse ¶
type ListTagDefaultsResponse struct { // The underlying http response RawResponse *http.Response // A list of []TagDefaultSummary instances Items []TagDefaultSummary `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 tag default values. 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"` }
ListTagDefaultsResponse wrapper for the ListTagDefaults operation
func (ListTagDefaultsResponse) HTTPResponse ¶
func (response ListTagDefaultsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListTagDefaultsResponse) String ¶
func (response ListTagDefaultsResponse) String() string
type ListTagNamespacesRequest ¶ added in v1.1.0
type ListTagNamespacesRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // An optional boolean parameter indicating whether to retrieve all tag namespaces in subcompartments. If this // parameter is not specified, only the tag namespaces defined in the specified compartment are retrieved. IncludeSubcompartments *bool `mandatory:"false" contributesTo:"query" name:"includeSubcompartments"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState TagNamespaceLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListTagNamespacesRequest wrapper for the ListTagNamespaces operation
func (ListTagNamespacesRequest) HTTPRequest ¶ added in v1.3.0
func (request ListTagNamespacesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListTagNamespacesRequest) RetryPolicy ¶ added in v1.3.0
func (request ListTagNamespacesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListTagNamespacesRequest) String ¶ added in v1.1.0
func (request ListTagNamespacesRequest) String() string
type ListTagNamespacesResponse ¶ added in v1.1.0
type ListTagNamespacesResponse struct { // The underlying http response RawResponse *http.Response // A list of []TagNamespaceSummary instances Items []TagNamespaceSummary `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 tagNamespaces. 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"` }
ListTagNamespacesResponse wrapper for the ListTagNamespaces operation
func (ListTagNamespacesResponse) HTTPResponse ¶ added in v1.3.0
func (response ListTagNamespacesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListTagNamespacesResponse) String ¶ added in v1.1.0
func (response ListTagNamespacesResponse) String() string
type ListTaggingWorkRequestErrorsRequest ¶
type ListTaggingWorkRequestErrorsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 }
ListTaggingWorkRequestErrorsRequest wrapper for the ListTaggingWorkRequestErrors operation
func (ListTaggingWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListTaggingWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListTaggingWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListTaggingWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListTaggingWorkRequestErrorsRequest) String ¶
func (request ListTaggingWorkRequestErrorsRequest) String() string
type ListTaggingWorkRequestErrorsResponse ¶
type ListTaggingWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []TaggingWorkRequestErrorSummary instances Items []TaggingWorkRequestErrorSummary `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"` // The number of seconds that the client should wait before polling again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` // 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"` }
ListTaggingWorkRequestErrorsResponse wrapper for the ListTaggingWorkRequestErrors operation
func (ListTaggingWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListTaggingWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListTaggingWorkRequestErrorsResponse) String ¶
func (response ListTaggingWorkRequestErrorsResponse) String() string
type ListTaggingWorkRequestLogsRequest ¶
type ListTaggingWorkRequestLogsRequest struct { // The OCID of the work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 }
ListTaggingWorkRequestLogsRequest wrapper for the ListTaggingWorkRequestLogs operation
func (ListTaggingWorkRequestLogsRequest) HTTPRequest ¶
func (request ListTaggingWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListTaggingWorkRequestLogsRequest) RetryPolicy ¶
func (request ListTaggingWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListTaggingWorkRequestLogsRequest) String ¶
func (request ListTaggingWorkRequestLogsRequest) String() string
type ListTaggingWorkRequestLogsResponse ¶
type ListTaggingWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []TaggingWorkRequestLogSummary instances Items []TaggingWorkRequestLogSummary `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"` // The number of seconds that the client should wait before polling again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` // 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"` }
ListTaggingWorkRequestLogsResponse wrapper for the ListTaggingWorkRequestLogs operation
func (ListTaggingWorkRequestLogsResponse) HTTPResponse ¶
func (response ListTaggingWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListTaggingWorkRequestLogsResponse) String ¶
func (response ListTaggingWorkRequestLogsResponse) String() string
type ListTaggingWorkRequestsRequest ¶
type ListTaggingWorkRequestsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The identifier of the resource the work request affects. ResourceIdentifier *string `mandatory:"false" contributesTo:"query" name:"resourceIdentifier"` // 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 }
ListTaggingWorkRequestsRequest wrapper for the ListTaggingWorkRequests operation
func (ListTaggingWorkRequestsRequest) HTTPRequest ¶
func (request ListTaggingWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListTaggingWorkRequestsRequest) RetryPolicy ¶
func (request ListTaggingWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListTaggingWorkRequestsRequest) String ¶
func (request ListTaggingWorkRequestsRequest) String() string
type ListTaggingWorkRequestsResponse ¶
type ListTaggingWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []TaggingWorkRequestSummary instances Items []TaggingWorkRequestSummary `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"` }
ListTaggingWorkRequestsResponse wrapper for the ListTaggingWorkRequests operation
func (ListTaggingWorkRequestsResponse) HTTPResponse ¶
func (response ListTaggingWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListTaggingWorkRequestsResponse) String ¶
func (response ListTaggingWorkRequestsResponse) String() string
type ListTagsRequest ¶ added in v1.1.0
type ListTagsRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState TagLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListTagsRequest wrapper for the ListTags operation
func (ListTagsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListTagsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListTagsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListTagsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListTagsRequest) String ¶ added in v1.1.0
func (request ListTagsRequest) String() string
type ListTagsResponse ¶ added in v1.1.0
type ListTagsResponse struct { // The underlying http response RawResponse *http.Response // A list of []TagSummary instances Items []TagSummary `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 tags. 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"` }
ListTagsResponse wrapper for the ListTags operation
func (ListTagsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListTagsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListTagsResponse) String ¶ added in v1.1.0
func (response ListTagsResponse) String() string
type ListUserGroupMembershipsRequest ¶
type ListUserGroupMembershipsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the user. UserId *string `mandatory:"false" contributesTo:"query" name:"userId"` // The OCID of the group. GroupId *string `mandatory:"false" contributesTo:"query" name:"groupId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 }
ListUserGroupMembershipsRequest wrapper for the ListUserGroupMemberships operation
func (ListUserGroupMembershipsRequest) HTTPRequest ¶ added in v1.3.0
func (request ListUserGroupMembershipsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListUserGroupMembershipsRequest) RetryPolicy ¶ added in v1.3.0
func (request ListUserGroupMembershipsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListUserGroupMembershipsRequest) String ¶
func (request ListUserGroupMembershipsRequest) String() string
type ListUserGroupMembershipsResponse ¶
type ListUserGroupMembershipsResponse struct { // The underlying http response RawResponse *http.Response // A list of []UserGroupMembership instances Items []UserGroupMembership `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"` }
ListUserGroupMembershipsResponse wrapper for the ListUserGroupMemberships operation
func (ListUserGroupMembershipsResponse) HTTPResponse ¶ added in v1.3.0
func (response ListUserGroupMembershipsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListUserGroupMembershipsResponse) String ¶
func (response ListUserGroupMembershipsResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The id of the identity provider. IdentityProviderId *string `mandatory:"false" contributesTo:"query" name:"identityProviderId"` // The id of a user in the identity provider. ExternalIdentifier *string `mandatory:"false" contributesTo:"query" name:"externalIdentifier"` // A filter to only return resources that match the given name exactly. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for // TIMECREATED is descending. Default order for NAME is ascending. The NAME // sort order is case sensitive. // **Note:** In general, some "List" operations (for example, `ListInstances`) let you // optionally filter by Availability Domain if the scope of the resource type is within a // single Availability Domain. If you call one of these "List" operations without specifying // an Availability Domain, the resources are grouped by Availability Domain, then sorted. SortBy ListUsersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The NAME sort order // is case sensitive. SortOrder ListUsersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. LifecycleState UserLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 }
ListUsersRequest wrapper for the ListUsers operation
func (ListUsersRequest) HTTPRequest ¶ added in v1.3.0
func (request ListUsersRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListUsersRequest) RetryPolicy ¶ added in v1.3.0
func (request ListUsersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListUsersRequest) String ¶
func (request ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { // The underlying http response RawResponse *http.Response // A list of []User instances Items []User `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"` }
ListUsersResponse wrapper for the ListUsers operation
func (ListUsersResponse) HTTPResponse ¶ added in v1.3.0
func (response ListUsersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListUsersResponse) String ¶
func (response ListUsersResponse) String() string
type ListUsersSortByEnum ¶
type ListUsersSortByEnum string
ListUsersSortByEnum Enum with underlying type: string
const ( ListUsersSortByTimecreated ListUsersSortByEnum = "TIMECREATED" ListUsersSortByName ListUsersSortByEnum = "NAME" )
Set of constants representing the allowable values for ListUsersSortByEnum
func GetListUsersSortByEnumValues ¶
func GetListUsersSortByEnumValues() []ListUsersSortByEnum
GetListUsersSortByEnumValues Enumerates the set of values for ListUsersSortByEnum
type ListUsersSortOrderEnum ¶
type ListUsersSortOrderEnum string
ListUsersSortOrderEnum Enum with underlying type: string
const ( ListUsersSortOrderAsc ListUsersSortOrderEnum = "ASC" ListUsersSortOrderDesc ListUsersSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListUsersSortOrderEnum
func GetListUsersSortOrderEnumValues ¶
func GetListUsersSortOrderEnumValues() []ListUsersSortOrderEnum
GetListUsersSortOrderEnumValues Enumerates the set of values for ListUsersSortOrderEnum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return in a paginated "List" call. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The identifier of the resource the work request affects. ResourceIdentifier *string `mandatory:"false" contributesTo:"query" name:"resourceIdentifier"` // 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 }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type MfaTotpDevice ¶
type MfaTotpDevice struct { // The OCID of the MFA TOTP device. Id *string `mandatory:"true" json:"id"` // The seed for the MFA TOTP device (Base32 encoded). Seed *string `mandatory:"true" json:"seed"` // The OCID of the user the MFA TOTP device belongs to. UserId *string `mandatory:"true" json:"userId"` // Date and time the `MfaTotpDevice` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The MFA TOTP device's current state. After creating the MFA TOTP device, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState MfaTotpDeviceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Flag to indicate if the MFA TOTP device has been activated. IsActivated *bool `mandatory:"true" json:"isActivated"` // Date and time when this MFA TOTP device will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` // The detailed status of INACTIVE lifecycleState. // Allowed values are: // - 1 - SUSPENDED // - 2 - DISABLED // - 4 - BLOCKED // - 8 - LOCKED InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
MfaTotpDevice Users can enable multi-factor authentication (MFA) for their own user accounts. After MFA is enabled, the user is prompted for a time-based one-time password (TOTP) to authenticate before they can sign in to the Console. To enable multi-factor authentication, the user must register a mobile device with a TOTP authenticator app installed. The registration process creates the `MfaTotpDevice` object. The registration process requires interaction with the Console and cannot be completed programmatically. For more information, see Managing Multi-Factor Authentication (https://docs.cloud.oracle.com/Content/Identity/Tasks/usingmfa.htm).
func (MfaTotpDevice) String ¶
func (m MfaTotpDevice) String() string
type MfaTotpDeviceLifecycleStateEnum ¶
type MfaTotpDeviceLifecycleStateEnum string
MfaTotpDeviceLifecycleStateEnum Enum with underlying type: string
const ( MfaTotpDeviceLifecycleStateCreating MfaTotpDeviceLifecycleStateEnum = "CREATING" MfaTotpDeviceLifecycleStateActive MfaTotpDeviceLifecycleStateEnum = "ACTIVE" MfaTotpDeviceLifecycleStateInactive MfaTotpDeviceLifecycleStateEnum = "INACTIVE" MfaTotpDeviceLifecycleStateDeleting MfaTotpDeviceLifecycleStateEnum = "DELETING" MfaTotpDeviceLifecycleStateDeleted MfaTotpDeviceLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for MfaTotpDeviceLifecycleStateEnum
func GetMfaTotpDeviceLifecycleStateEnumValues ¶
func GetMfaTotpDeviceLifecycleStateEnumValues() []MfaTotpDeviceLifecycleStateEnum
GetMfaTotpDeviceLifecycleStateEnumValues Enumerates the set of values for MfaTotpDeviceLifecycleStateEnum
type MfaTotpDeviceSummary ¶
type MfaTotpDeviceSummary struct { // The OCID of the MFA TOTP Device. Id *string `mandatory:"true" json:"id"` // The OCID of the user the MFA TOTP device belongs to. UserId *string `mandatory:"true" json:"userId"` // Date and time the `MfaTotpDevice` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The MFA TOTP device's current state. LifecycleState MfaTotpDeviceSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Flag to indicate if the MFA TOTP device has been activated IsActivated *bool `mandatory:"true" json:"isActivated"` // Date and time when this MFA TOTP device will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` // The detailed status of INACTIVE lifecycleState. // Allowed values are: // - 1 - SUSPENDED // - 2 - DISABLED // - 4 - BLOCKED // - 8 - LOCKED InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
MfaTotpDeviceSummary As the name suggests, a `MfaTotpDeviceSummary` object contains information about a `MfaTotpDevice`.
func (MfaTotpDeviceSummary) String ¶
func (m MfaTotpDeviceSummary) String() string
type MfaTotpDeviceSummaryLifecycleStateEnum ¶
type MfaTotpDeviceSummaryLifecycleStateEnum string
MfaTotpDeviceSummaryLifecycleStateEnum Enum with underlying type: string
const ( MfaTotpDeviceSummaryLifecycleStateCreating MfaTotpDeviceSummaryLifecycleStateEnum = "CREATING" MfaTotpDeviceSummaryLifecycleStateActive MfaTotpDeviceSummaryLifecycleStateEnum = "ACTIVE" MfaTotpDeviceSummaryLifecycleStateInactive MfaTotpDeviceSummaryLifecycleStateEnum = "INACTIVE" MfaTotpDeviceSummaryLifecycleStateDeleting MfaTotpDeviceSummaryLifecycleStateEnum = "DELETING" MfaTotpDeviceSummaryLifecycleStateDeleted MfaTotpDeviceSummaryLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for MfaTotpDeviceSummaryLifecycleStateEnum
func GetMfaTotpDeviceSummaryLifecycleStateEnumValues ¶
func GetMfaTotpDeviceSummaryLifecycleStateEnumValues() []MfaTotpDeviceSummaryLifecycleStateEnum
GetMfaTotpDeviceSummaryLifecycleStateEnumValues Enumerates the set of values for MfaTotpDeviceSummaryLifecycleStateEnum
type MfaTotpToken ¶
type MfaTotpToken struct { // The Totp token for MFA. TotpToken *string `mandatory:"false" json:"totpToken"` }
MfaTotpToken Totp token for MFA
func (MfaTotpToken) String ¶
func (m MfaTotpToken) String() string
type MoveCompartmentDetails ¶
type MoveCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the destination compartment // into which to move the compartment. TargetCompartmentId *string `mandatory:"true" json:"targetCompartmentId"` }
MoveCompartmentDetails The representation of MoveCompartmentDetails
func (MoveCompartmentDetails) String ¶
func (m MoveCompartmentDetails) String() string
type MoveCompartmentRequest ¶
type MoveCompartmentRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" name:"compartmentId"` // Request object for moving a compartment. MoveCompartmentDetails `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"` // 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"` // 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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
MoveCompartmentRequest wrapper for the MoveCompartment operation
func (MoveCompartmentRequest) HTTPRequest ¶
func (request MoveCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (MoveCompartmentRequest) RetryPolicy ¶
func (request MoveCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (MoveCompartmentRequest) String ¶
func (request MoveCompartmentRequest) String() string
type MoveCompartmentResponse ¶
type MoveCompartmentResponse 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"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
MoveCompartmentResponse wrapper for the MoveCompartment operation
func (MoveCompartmentResponse) HTTPResponse ¶
func (response MoveCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (MoveCompartmentResponse) String ¶
func (response MoveCompartmentResponse) String() string
type NetworkSources ¶
type NetworkSources struct { // The OCID of the network source. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the network source. The tenancy is the root compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the network source during creation. The name must be unique across // the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the network source. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // Date and time the group was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The network source object's current state. After creating a network source, make sure its `lifecycleState` changes from CREATING to // ACTIVE before using it. LifecycleState NetworkSourcesLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // A list of allowed public IPs and CIDR ranges. PublicSourceList []string `mandatory:"false" json:"publicSourceList"` // A list of allowed VCN OCID and IP range pairs. // Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` VirtualSourceList []NetworkSourcesVirtualSourceList `mandatory:"false" json:"virtualSourceList"` // A list of services allowed to make on-behalf-of requests. These requests can have different source IPs than // those specified in the network source. // Currently, only `all` and `none` are supported. The default is `all`. Services []string `mandatory:"false" json:"services"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
NetworkSources A network source specifies a list of source IP addresses that are allowed to make authorization requests. Use the network source in policy statements to restrict access to only requests that come from the specified IPs. For more information, see Managing Network Sources (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm).
func (NetworkSources) String ¶
func (m NetworkSources) String() string
type NetworkSourcesLifecycleStateEnum ¶
type NetworkSourcesLifecycleStateEnum string
NetworkSourcesLifecycleStateEnum Enum with underlying type: string
const ( NetworkSourcesLifecycleStateCreating NetworkSourcesLifecycleStateEnum = "CREATING" NetworkSourcesLifecycleStateActive NetworkSourcesLifecycleStateEnum = "ACTIVE" NetworkSourcesLifecycleStateInactive NetworkSourcesLifecycleStateEnum = "INACTIVE" NetworkSourcesLifecycleStateDeleting NetworkSourcesLifecycleStateEnum = "DELETING" NetworkSourcesLifecycleStateDeleted NetworkSourcesLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for NetworkSourcesLifecycleStateEnum
func GetNetworkSourcesLifecycleStateEnumValues ¶
func GetNetworkSourcesLifecycleStateEnumValues() []NetworkSourcesLifecycleStateEnum
GetNetworkSourcesLifecycleStateEnumValues Enumerates the set of values for NetworkSourcesLifecycleStateEnum
type NetworkSourcesSummary ¶
type NetworkSourcesSummary struct { // The OCID of the network source. Id *string `mandatory:"false" json:"id"` // The OCID of the tenancy (root compartment) containing the network source. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The name you assign to the network source during creation. The name must be unique across // the tenancy and cannot be changed. Name *string `mandatory:"false" json:"name"` // The description you assign to the network source. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // A list of allowed public IP addresses and CIDR ranges. PublicSourceList []string `mandatory:"false" json:"publicSourceList"` // A list of allowed VCN OCID and IP range pairs. // Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` VirtualSourceList []NetworkSourcesVirtualSourceList `mandatory:"false" json:"virtualSourceList"` // A list of services allowed to make on-behalf-of requests. These requests can have different source IPs than // those specified in the network source. Currently, only `all` and `none` are supported. The default is `all`. Services []string `mandatory:"false" json:"services"` // Date and time the group was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` }
NetworkSourcesSummary A network source specifies a list of source IP addresses that are allowed to make authorization requests. Use the network source in policy statements to restrict access to only requests that come from the specified IPs. For more information, see Managing Network Sources (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm).
func (NetworkSourcesSummary) String ¶
func (m NetworkSourcesSummary) String() string
type NetworkSourcesVirtualSourceList ¶
type NetworkSourcesVirtualSourceList struct { VcnId *string `mandatory:"false" json:"vcnId"` IpRanges []string `mandatory:"false" json:"ipRanges"` }
NetworkSourcesVirtualSourceList The representation of NetworkSourcesVirtualSourceList
func (NetworkSourcesVirtualSourceList) String ¶
func (m NetworkSourcesVirtualSourceList) String() string
type OAuth2ClientCredential ¶
type OAuth2ClientCredential struct { // Allowed scopes for the given oauth credential. Scopes []FullyQualifiedScope `mandatory:"false" json:"scopes"` // Returned during create and update with password reset requests. Password *string `mandatory:"false" json:"password"` // The OCID of the user the Oauth credential belongs to. UserId *string `mandatory:"false" json:"userId"` // Date and time when this credential will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` ExpiresOn *common.SDKTime `mandatory:"false" json:"expiresOn"` // The OCID of the Oauth credential. Id *string `mandatory:"false" json:"id"` // The OCID of the compartment containing the Oauth credential. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The name of the Oauth credential. Name *string `mandatory:"false" json:"name"` // The description of the Oauth credential. Description *string `mandatory:"false" json:"description"` // The credential's current state. After creating a Oauth credential, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState OAuth2ClientCredentialLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date and time the `OAuth2ClientCredential` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` }
OAuth2ClientCredential User can define Oauth clients in IAM, then use it to generate a token to grant access to app resources.
func (OAuth2ClientCredential) String ¶
func (m OAuth2ClientCredential) String() string
type OAuth2ClientCredentialLifecycleStateEnum ¶
type OAuth2ClientCredentialLifecycleStateEnum string
OAuth2ClientCredentialLifecycleStateEnum Enum with underlying type: string
const ( OAuth2ClientCredentialLifecycleStateCreating OAuth2ClientCredentialLifecycleStateEnum = "CREATING" OAuth2ClientCredentialLifecycleStateActive OAuth2ClientCredentialLifecycleStateEnum = "ACTIVE" OAuth2ClientCredentialLifecycleStateInactive OAuth2ClientCredentialLifecycleStateEnum = "INACTIVE" OAuth2ClientCredentialLifecycleStateDeleting OAuth2ClientCredentialLifecycleStateEnum = "DELETING" OAuth2ClientCredentialLifecycleStateDeleted OAuth2ClientCredentialLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for OAuth2ClientCredentialLifecycleStateEnum
func GetOAuth2ClientCredentialLifecycleStateEnumValues ¶
func GetOAuth2ClientCredentialLifecycleStateEnumValues() []OAuth2ClientCredentialLifecycleStateEnum
GetOAuth2ClientCredentialLifecycleStateEnumValues Enumerates the set of values for OAuth2ClientCredentialLifecycleStateEnum
type OAuth2ClientCredentialSummary ¶
type OAuth2ClientCredentialSummary struct { // Allowed scopes for the given oauth credential. Scopes []FullyQualifiedScope `mandatory:"false" json:"scopes"` // The OCID of the user the Oauth credential belongs to. UserId *string `mandatory:"false" json:"userId"` // Date and time when this credential will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` ExpiresOn *common.SDKTime `mandatory:"false" json:"expiresOn"` // The OCID of the Oauth credential. Id *string `mandatory:"false" json:"id"` // The OCID of the compartment containing the Oauth credential. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The name of the Oauth credential. Name *string `mandatory:"false" json:"name"` // The description of the Oauth credential. Description *string `mandatory:"false" json:"description"` // The credential's current state. After creating a Oauth credential, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState OAuth2ClientCredentialSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date and time the `OAuth2ClientCredential` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` }
OAuth2ClientCredentialSummary User can define Oauth clients in IAM, then use it to generate a token to grant access to app resources.
func (OAuth2ClientCredentialSummary) String ¶
func (m OAuth2ClientCredentialSummary) String() string
type OAuth2ClientCredentialSummaryLifecycleStateEnum ¶
type OAuth2ClientCredentialSummaryLifecycleStateEnum string
OAuth2ClientCredentialSummaryLifecycleStateEnum Enum with underlying type: string
const ( OAuth2ClientCredentialSummaryLifecycleStateCreating OAuth2ClientCredentialSummaryLifecycleStateEnum = "CREATING" OAuth2ClientCredentialSummaryLifecycleStateActive OAuth2ClientCredentialSummaryLifecycleStateEnum = "ACTIVE" OAuth2ClientCredentialSummaryLifecycleStateInactive OAuth2ClientCredentialSummaryLifecycleStateEnum = "INACTIVE" OAuth2ClientCredentialSummaryLifecycleStateDeleting OAuth2ClientCredentialSummaryLifecycleStateEnum = "DELETING" OAuth2ClientCredentialSummaryLifecycleStateDeleted OAuth2ClientCredentialSummaryLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for OAuth2ClientCredentialSummaryLifecycleStateEnum
func GetOAuth2ClientCredentialSummaryLifecycleStateEnumValues ¶
func GetOAuth2ClientCredentialSummaryLifecycleStateEnumValues() []OAuth2ClientCredentialSummaryLifecycleStateEnum
GetOAuth2ClientCredentialSummaryLifecycleStateEnumValues Enumerates the set of values for OAuth2ClientCredentialSummaryLifecycleStateEnum
type PasswordPolicy ¶
type PasswordPolicy struct { // Minimum password length required. MinimumPasswordLength *int `mandatory:"false" json:"minimumPasswordLength"` // At least one uppercase character required. IsUppercaseCharactersRequired *bool `mandatory:"false" json:"isUppercaseCharactersRequired"` // At least one lower case character required. IsLowercaseCharactersRequired *bool `mandatory:"false" json:"isLowercaseCharactersRequired"` // At least one numeric character required. IsNumericCharactersRequired *bool `mandatory:"false" json:"isNumericCharactersRequired"` // At least one special character required. IsSpecialCharactersRequired *bool `mandatory:"false" json:"isSpecialCharactersRequired"` // User name is allowed to be part of the password. IsUsernameContainmentAllowed *bool `mandatory:"false" json:"isUsernameContainmentAllowed"` }
PasswordPolicy Password policy, currently set for the given compartment.
func (PasswordPolicy) String ¶
func (m PasswordPolicy) String() string
type Policy ¶
type Policy struct { // The OCID of the policy. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the policy (either the tenancy or another compartment). CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the policy during creation. The name must be unique across all policies // in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // An array of one or more policy statements written in the policy language. Statements []string `mandatory:"true" json:"statements"` // The description you assign to the policy. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // Date and time the policy was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The policy's current state. After creating a policy, make sure its `lifecycleState` changes from CREATING to // ACTIVE before using it. LifecycleState PolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // The version of the policy. If null or set to an empty string, when a request comes in for authorization, the // policy will be evaluated according to the current behavior of the services at that moment. If set to a particular // date (YYYY-MM-DD), the policy will be evaluated according to the behavior of the services on that date. VersionDate *common.SDKDate `mandatory:"false" json:"versionDate"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
Policy A document that specifies the type of access a group has to the resources in a compartment. For information about policies and other IAM Service components, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). If you're new to policies, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). The word "policy" is used by people in different ways:
- An individual statement written in the policy language
- A collection of statements in a single, named "policy" document (which has an Oracle Cloud ID (OCID) assigned to it)
- The overall body of policies your organization uses to control access to resources
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
type PolicyLifecycleStateEnum ¶
type PolicyLifecycleStateEnum string
PolicyLifecycleStateEnum Enum with underlying type: string
const ( PolicyLifecycleStateCreating PolicyLifecycleStateEnum = "CREATING" PolicyLifecycleStateActive PolicyLifecycleStateEnum = "ACTIVE" PolicyLifecycleStateInactive PolicyLifecycleStateEnum = "INACTIVE" PolicyLifecycleStateDeleting PolicyLifecycleStateEnum = "DELETING" PolicyLifecycleStateDeleted PolicyLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for PolicyLifecycleStateEnum
func GetPolicyLifecycleStateEnumValues ¶
func GetPolicyLifecycleStateEnumValues() []PolicyLifecycleStateEnum
GetPolicyLifecycleStateEnumValues Enumerates the set of values for PolicyLifecycleStateEnum
type RecoverCompartmentRequest ¶
type RecoverCompartmentRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" name:"compartmentId"` // 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"` // 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 }
RecoverCompartmentRequest wrapper for the RecoverCompartment operation
func (RecoverCompartmentRequest) HTTPRequest ¶
func (request RecoverCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RecoverCompartmentRequest) RetryPolicy ¶
func (request RecoverCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RecoverCompartmentRequest) String ¶
func (request RecoverCompartmentRequest) String() string
type RecoverCompartmentResponse ¶
type RecoverCompartmentResponse struct { // The underlying http response RawResponse *http.Response // The Compartment instance Compartment `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"` }
RecoverCompartmentResponse wrapper for the RecoverCompartment operation
func (RecoverCompartmentResponse) HTTPResponse ¶
func (response RecoverCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RecoverCompartmentResponse) String ¶
func (response RecoverCompartmentResponse) String() string
type Region ¶
type Region struct { // The key of the region. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) for // the full list of supported 3-letter region codes. // Example: `PHX` Key *string `mandatory:"false" json:"key"` // The name of the region. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) // for the full list of supported region names. // Example: `us-phoenix-1` Name *string `mandatory:"false" json:"name"` }
Region A localized geographic area, such as Phoenix, AZ. Oracle Cloud Infrastructure is hosted in regions and Availability Domains. A region is composed of several Availability Domains. An Availability Domain is one or more data centers located within a region. For more information, see Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
type RegionSubscription ¶
type RegionSubscription struct { // The region's key. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) // for the full list of supported 3-letter region codes. // Example: `PHX` RegionKey *string `mandatory:"true" json:"regionKey"` // The region's name. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) // for the full list of supported region names. // Example: `us-phoenix-1` RegionName *string `mandatory:"true" json:"regionName"` // The region subscription status. Status RegionSubscriptionStatusEnum `mandatory:"true" json:"status"` // Indicates if the region is the home region or not. IsHomeRegion *bool `mandatory:"true" json:"isHomeRegion"` }
RegionSubscription An object that represents your tenancy's access to a particular region (i.e., a subscription), the status of that access, and whether that region is the home region. For more information, see Managing Regions (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingregions.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
func (RegionSubscription) String ¶
func (m RegionSubscription) String() string
type RegionSubscriptionStatusEnum ¶
type RegionSubscriptionStatusEnum string
RegionSubscriptionStatusEnum Enum with underlying type: string
const ( RegionSubscriptionStatusReady RegionSubscriptionStatusEnum = "READY" RegionSubscriptionStatusInProgress RegionSubscriptionStatusEnum = "IN_PROGRESS" )
Set of constants representing the allowable values for RegionSubscriptionStatusEnum
func GetRegionSubscriptionStatusEnumValues ¶
func GetRegionSubscriptionStatusEnumValues() []RegionSubscriptionStatusEnum
GetRegionSubscriptionStatusEnumValues Enumerates the set of values for RegionSubscriptionStatusEnum
type RemoveUserFromGroupRequest ¶
type RemoveUserFromGroupRequest struct { // The OCID of the userGroupMembership. UserGroupMembershipId *string `mandatory:"true" contributesTo:"path" name:"userGroupMembershipId"` // 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"` // 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 }
RemoveUserFromGroupRequest wrapper for the RemoveUserFromGroup operation
func (RemoveUserFromGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request RemoveUserFromGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RemoveUserFromGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request RemoveUserFromGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RemoveUserFromGroupRequest) String ¶
func (request RemoveUserFromGroupRequest) String() string
type RemoveUserFromGroupResponse ¶
type RemoveUserFromGroupResponse 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"` }
RemoveUserFromGroupResponse wrapper for the RemoveUserFromGroup operation
func (RemoveUserFromGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response RemoveUserFromGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RemoveUserFromGroupResponse) String ¶
func (response RemoveUserFromGroupResponse) String() string
type ResetIdpScimClientRequest ¶
type ResetIdpScimClientRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // 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 }
ResetIdpScimClientRequest wrapper for the ResetIdpScimClient operation
func (ResetIdpScimClientRequest) HTTPRequest ¶
func (request ResetIdpScimClientRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ResetIdpScimClientRequest) RetryPolicy ¶
func (request ResetIdpScimClientRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ResetIdpScimClientRequest) String ¶
func (request ResetIdpScimClientRequest) String() string
type ResetIdpScimClientResponse ¶
type ResetIdpScimClientResponse struct { // The underlying http response RawResponse *http.Response // The ScimClientCredentials instance ScimClientCredentials `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"` }
ResetIdpScimClientResponse wrapper for the ResetIdpScimClient operation
func (ResetIdpScimClientResponse) HTTPResponse ¶
func (response ResetIdpScimClientResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ResetIdpScimClientResponse) String ¶
func (response ResetIdpScimClientResponse) String() string
type Saml2IdentityProvider ¶
type Saml2IdentityProvider struct { // The OCID of the `IdentityProvider`. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the `IdentityProvider`. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the `IdentityProvider` during creation. The name // must be unique across all `IdentityProvider` objects in the tenancy and // cannot be changed. This is the name federated users see when choosing // which identity provider to use when signing in to the Oracle Cloud Infrastructure // Console. Name *string `mandatory:"true" json:"name"` // The description you assign to the `IdentityProvider` during creation. Does // not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // The identity provider service or product. // Supported identity providers are Oracle Identity Cloud Service (IDCS) and Microsoft // Active Directory Federation Services (ADFS). // Allowed values are: // - `ADFS` // - `IDCS` // Example: `IDCS` ProductType *string `mandatory:"true" json:"productType"` // Date and time the `IdentityProvider` was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The URL for retrieving the identity provider's metadata, which // contains information required for federating. MetadataUrl *string `mandatory:"true" json:"metadataUrl"` // The identity provider's signing certificate used by the IAM Service // to validate the SAML2 token. SigningCertificate *string `mandatory:"true" json:"signingCertificate"` // The URL to redirect federated users to for authentication with the // identity provider. RedirectUrl *string `mandatory:"true" json:"redirectUrl"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Extra name value pairs associated with this identity provider. // Example: `{"clientId": "app_sf3kdjf3"}` FreeformAttributes map[string]string `mandatory:"false" json:"freeformAttributes"` // The current state. After creating an `IdentityProvider`, make sure its // `lifecycleState` changes from CREATING to ACTIVE before using it. LifecycleState IdentityProviderLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` }
Saml2IdentityProvider A special type of IdentityProvider that supports the SAML 2.0 protocol. For more information, see Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
func (Saml2IdentityProvider) GetCompartmentId ¶
func (m Saml2IdentityProvider) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (Saml2IdentityProvider) GetDefinedTags ¶ added in v1.1.0
func (m Saml2IdentityProvider) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (Saml2IdentityProvider) GetDescription ¶
func (m Saml2IdentityProvider) GetDescription() *string
GetDescription returns Description
func (Saml2IdentityProvider) GetFreeformTags ¶ added in v1.1.0
func (m Saml2IdentityProvider) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (Saml2IdentityProvider) GetId ¶
func (m Saml2IdentityProvider) GetId() *string
GetId returns Id
func (Saml2IdentityProvider) GetInactiveStatus ¶
func (m Saml2IdentityProvider) GetInactiveStatus() *int64
GetInactiveStatus returns InactiveStatus
func (Saml2IdentityProvider) GetLifecycleState ¶
func (m Saml2IdentityProvider) GetLifecycleState() IdentityProviderLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (Saml2IdentityProvider) GetName ¶
func (m Saml2IdentityProvider) GetName() *string
GetName returns Name
func (Saml2IdentityProvider) GetProductType ¶
func (m Saml2IdentityProvider) GetProductType() *string
GetProductType returns ProductType
func (Saml2IdentityProvider) GetTimeCreated ¶
func (m Saml2IdentityProvider) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (Saml2IdentityProvider) MarshalJSON ¶
func (m Saml2IdentityProvider) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (Saml2IdentityProvider) String ¶
func (m Saml2IdentityProvider) String() string
type ScimClientCredentials ¶
type ScimClientCredentials struct { // The client identifier. ClientId *string `mandatory:"false" json:"clientId"` // The client secret. ClientSecret *string `mandatory:"false" json:"clientSecret"` }
ScimClientCredentials The OAuth2 client credentials.
func (ScimClientCredentials) String ¶
func (m ScimClientCredentials) String() string
type SmtpCredential ¶ added in v1.2.0
type SmtpCredential struct { // The SMTP user name. Username *string `mandatory:"false" json:"username"` // The SMTP password. Password *string `mandatory:"false" json:"password"` // The OCID of the SMTP credential. Id *string `mandatory:"false" json:"id"` // The OCID of the user the SMTP credential belongs to. UserId *string `mandatory:"false" json:"userId"` // The description you assign to the SMTP credential. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // Date and time the `SmtpCredential` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date and time when this credential will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` // The credential's current state. After creating a SMTP credential, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState SmtpCredentialLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
SmtpCredential Simple Mail Transfer Protocol (SMTP) credentials are needed to send email through Email Delivery. The SMTP credentials are used for SMTP authentication with the service. The credentials never expire. A user can have up to 2 SMTP credentials at a time. **Note:** The credential set is always an Oracle-generated SMTP user name and password pair; you cannot designate the SMTP user name or the SMTP password. For more information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm#SMTP).
func (SmtpCredential) String ¶ added in v1.2.0
func (m SmtpCredential) String() string
type SmtpCredentialLifecycleStateEnum ¶ added in v1.2.0
type SmtpCredentialLifecycleStateEnum string
SmtpCredentialLifecycleStateEnum Enum with underlying type: string
const ( SmtpCredentialLifecycleStateCreating SmtpCredentialLifecycleStateEnum = "CREATING" SmtpCredentialLifecycleStateActive SmtpCredentialLifecycleStateEnum = "ACTIVE" SmtpCredentialLifecycleStateInactive SmtpCredentialLifecycleStateEnum = "INACTIVE" SmtpCredentialLifecycleStateDeleting SmtpCredentialLifecycleStateEnum = "DELETING" SmtpCredentialLifecycleStateDeleted SmtpCredentialLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for SmtpCredentialLifecycleStateEnum
func GetSmtpCredentialLifecycleStateEnumValues ¶ added in v1.2.0
func GetSmtpCredentialLifecycleStateEnumValues() []SmtpCredentialLifecycleStateEnum
GetSmtpCredentialLifecycleStateEnumValues Enumerates the set of values for SmtpCredentialLifecycleStateEnum
type SmtpCredentialSummary ¶ added in v1.2.0
type SmtpCredentialSummary struct { // The SMTP user name. Username *string `mandatory:"false" json:"username"` // The OCID of the SMTP credential. Id *string `mandatory:"false" json:"id"` // The OCID of the user the SMTP credential belongs to. UserId *string `mandatory:"false" json:"userId"` // The description you assign to the SMTP credential. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // Date and time the `SmtpCredential` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date and time when this credential will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"` // The credential's current state. After creating a SMTP credential, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState SmtpCredentialSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
SmtpCredentialSummary As the name suggests, an `SmtpCredentialSummary` object contains information about an `SmtpCredential`. The SMTP credential is used for SMTP authentication with the Email Delivery Service (https://docs.cloud.oracle.com/Content/Email/Concepts/overview.htm).
func (SmtpCredentialSummary) String ¶ added in v1.2.0
func (m SmtpCredentialSummary) String() string
type SmtpCredentialSummaryLifecycleStateEnum ¶ added in v1.2.0
type SmtpCredentialSummaryLifecycleStateEnum string
SmtpCredentialSummaryLifecycleStateEnum Enum with underlying type: string
const ( SmtpCredentialSummaryLifecycleStateCreating SmtpCredentialSummaryLifecycleStateEnum = "CREATING" SmtpCredentialSummaryLifecycleStateActive SmtpCredentialSummaryLifecycleStateEnum = "ACTIVE" SmtpCredentialSummaryLifecycleStateInactive SmtpCredentialSummaryLifecycleStateEnum = "INACTIVE" SmtpCredentialSummaryLifecycleStateDeleting SmtpCredentialSummaryLifecycleStateEnum = "DELETING" SmtpCredentialSummaryLifecycleStateDeleted SmtpCredentialSummaryLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for SmtpCredentialSummaryLifecycleStateEnum
func GetSmtpCredentialSummaryLifecycleStateEnumValues ¶ added in v1.2.0
func GetSmtpCredentialSummaryLifecycleStateEnumValues() []SmtpCredentialSummaryLifecycleStateEnum
GetSmtpCredentialSummaryLifecycleStateEnumValues Enumerates the set of values for SmtpCredentialSummaryLifecycleStateEnum
type SwiftPassword ¶
type SwiftPassword struct { // The Swift password. The value is available only in the response for `CreateSwiftPassword`, and not // for `ListSwiftPasswords` or `UpdateSwiftPassword`. Password *string `mandatory:"false" json:"password"` // The OCID of the Swift password. Id *string `mandatory:"false" json:"id"` // The OCID of the user the password belongs to. UserId *string `mandatory:"false" json:"userId"` // The description you assign to the Swift password. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // Date and time the `SwiftPassword` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Date and time when this password will expire, in the format defined by RFC3339. // Null if it never expires. // Example: `2016-08-25T21:10:29.600Z` ExpiresOn *common.SDKTime `mandatory:"false" json:"expiresOn"` // The password's current state. After creating a password, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState SwiftPasswordLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
SwiftPassword **Deprecated. Use AuthToken instead.** Swift is the OpenStack object storage service. A `SwiftPassword` is an Oracle-provided password for using a Swift client with the Object Storage Service. This password is associated with the user's Console login. Swift passwords never expire. A user can have up to two Swift passwords at a time. **Note:** The password is always an Oracle-generated string; you can't change it to a string of your choice. For more information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm).
func (SwiftPassword) String ¶
func (m SwiftPassword) String() string
type SwiftPasswordLifecycleStateEnum ¶
type SwiftPasswordLifecycleStateEnum string
SwiftPasswordLifecycleStateEnum Enum with underlying type: string
const ( SwiftPasswordLifecycleStateCreating SwiftPasswordLifecycleStateEnum = "CREATING" SwiftPasswordLifecycleStateActive SwiftPasswordLifecycleStateEnum = "ACTIVE" SwiftPasswordLifecycleStateInactive SwiftPasswordLifecycleStateEnum = "INACTIVE" SwiftPasswordLifecycleStateDeleting SwiftPasswordLifecycleStateEnum = "DELETING" SwiftPasswordLifecycleStateDeleted SwiftPasswordLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for SwiftPasswordLifecycleStateEnum
func GetSwiftPasswordLifecycleStateEnumValues ¶
func GetSwiftPasswordLifecycleStateEnumValues() []SwiftPasswordLifecycleStateEnum
GetSwiftPasswordLifecycleStateEnumValues Enumerates the set of values for SwiftPasswordLifecycleStateEnum
type Tag ¶ added in v1.1.0
type Tag struct { // The OCID of the compartment that contains the tag definition. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the namespace that contains the tag definition. TagNamespaceId *string `mandatory:"true" json:"tagNamespaceId"` // The name of the tag namespace that contains the tag definition. TagNamespaceName *string `mandatory:"true" json:"tagNamespaceName"` // The OCID of the tag definition. Id *string `mandatory:"true" json:"id"` // The name assigned to the tag during creation. This is the tag key definition. // The name must be unique within the tag namespace and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the tag. Description *string `mandatory:"true" json:"description"` // Indicates whether the tag is retired. // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring). IsRetired *bool `mandatory:"true" json:"isRetired"` // Date and time the tag was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The tag's current state. After creating a tag, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tag, make sure its `lifecycleState` is INACTIVE before using it. If you delete a tag, you cannot delete another tag until the deleted tag's `lifecycleState` changes from DELETING to DELETED. LifecycleState TagLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Indicates whether the tag is enabled for cost tracking. IsCostTracking *bool `mandatory:"false" json:"isCostTracking"` // The tag must have a value type, which is specified with a validator. Tags can use either a // static value or a list of possible values. Static values are entered by a user applying the tag // to a resource. Lists are created by you and the user must apply a value from the list. Lists // are validiated. // If you use the default validiator (or don't define a validator), the user applying the tag // enters a value. No additional validation is performed. // To clear the validator, call UpdateTag with // DefaultTagDefinitionValidator (https://docs.cloud.oracle.com/api/#/en/identity/latest/datatypes/DefaultTagDefinitionValidator). Validator BaseTagDefinitionValidator `mandatory:"false" json:"validator"` }
Tag A tag definition that belongs to a specific tag namespace. "Defined tags" must be set up in your tenancy before you can apply them to resources. For more information, see Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
func (*Tag) UnmarshalJSON ¶
UnmarshalJSON unmarshals from json
type TagDefault ¶
type TagDefault struct { // The OCID of the tag default. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment. The tag default applies to all new resources that get created in the // compartment. Resources that existed before the tag default was created are not tagged. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the tag namespace that contains the tag definition. TagNamespaceId *string `mandatory:"true" json:"tagNamespaceId"` // The OCID of the tag definition. The tag default will always assign a default value for this tag definition. TagDefinitionId *string `mandatory:"true" json:"tagDefinitionId"` // The name used in the tag definition. This field is informational in the context of the tag default. TagDefinitionName *string `mandatory:"true" json:"tagDefinitionName"` // The default value for the tag definition. This will be applied to all resources created in the compartment. Value *string `mandatory:"true" json:"value"` // Date and time the `TagDefault` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // If you specify that a value is required, a value is set during resource creation (either by the // user creating the resource or another tag defualt). If no value is set, resource creation is // blocked. // * If the `isRequired` flag is set to "true", the value is set during resource creation. // * If the `isRequired` flag is set to "false", the value you enter is set during resource creation. // Example: `false` IsRequired *bool `mandatory:"true" json:"isRequired"` // The tag default's current state. After creating a `TagDefault`, make sure its `lifecycleState` is ACTIVE before using it. LifecycleState TagDefaultLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
TagDefault Tag defaults let you specify a default tag (tagnamespace.tag="value") to apply to all resource types in a specified compartment. The tag default is applied at the time the resource is created. Resources that exist in the compartment before you create the tag default are not tagged. The `TagDefault` object specifies the tag and compartment details. Tag defaults are inherited by child compartments. This means that if you set a tag default on the root compartment for a tenancy, all resources that are created in the tenancy are tagged. For more information about using tag defaults, see Managing Tag Defaults (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingtagdefaults.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator.
func (TagDefault) String ¶
func (m TagDefault) String() string
type TagDefaultLifecycleStateEnum ¶
type TagDefaultLifecycleStateEnum string
TagDefaultLifecycleStateEnum Enum with underlying type: string
const (
TagDefaultLifecycleStateActive TagDefaultLifecycleStateEnum = "ACTIVE"
)
Set of constants representing the allowable values for TagDefaultLifecycleStateEnum
func GetTagDefaultLifecycleStateEnumValues ¶
func GetTagDefaultLifecycleStateEnumValues() []TagDefaultLifecycleStateEnum
GetTagDefaultLifecycleStateEnumValues Enumerates the set of values for TagDefaultLifecycleStateEnum
type TagDefaultSummary ¶
type TagDefaultSummary struct { // The OCID of the tag default. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment. The tag default will apply to all new resources that are created in the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the tag namespace that contains the tag definition. TagNamespaceId *string `mandatory:"true" json:"tagNamespaceId"` // The OCID of the tag definition. The tag default will always assign a default value for this tag definition. TagDefinitionId *string `mandatory:"true" json:"tagDefinitionId"` // The name used in the tag definition. This field is informational in the context of the tag default. TagDefinitionName *string `mandatory:"true" json:"tagDefinitionName"` // The default value for the tag definition. This will be applied to all new resources created in the compartment. Value *string `mandatory:"true" json:"value"` // Date and time the `TagDefault` object was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // If you specify that a value is required, a value is set during resource creation (either by // the user creating the resource or another tag defualt). If no value is set, resource // creation is blocked. // * If the `isRequired` flag is set to "true", the value is set during resource creation. // * If the `isRequired` flag is set to "false", the value you enter is set during resource creation. // Example: `false` IsRequired *bool `mandatory:"true" json:"isRequired"` // The tag default's current state. After creating a `TagDefault`, make sure its `lifecycleState` is ACTIVE before using it. LifecycleState TagDefaultSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
TagDefaultSummary Summary information for the specified tag default.
func (TagDefaultSummary) String ¶
func (m TagDefaultSummary) String() string
type TagDefaultSummaryLifecycleStateEnum ¶
type TagDefaultSummaryLifecycleStateEnum string
TagDefaultSummaryLifecycleStateEnum Enum with underlying type: string
const (
TagDefaultSummaryLifecycleStateActive TagDefaultSummaryLifecycleStateEnum = "ACTIVE"
)
Set of constants representing the allowable values for TagDefaultSummaryLifecycleStateEnum
func GetTagDefaultSummaryLifecycleStateEnumValues ¶
func GetTagDefaultSummaryLifecycleStateEnumValues() []TagDefaultSummaryLifecycleStateEnum
GetTagDefaultSummaryLifecycleStateEnumValues Enumerates the set of values for TagDefaultSummaryLifecycleStateEnum
type TagLifecycleStateEnum ¶
type TagLifecycleStateEnum string
TagLifecycleStateEnum Enum with underlying type: string
const ( TagLifecycleStateActive TagLifecycleStateEnum = "ACTIVE" TagLifecycleStateInactive TagLifecycleStateEnum = "INACTIVE" TagLifecycleStateDeleting TagLifecycleStateEnum = "DELETING" TagLifecycleStateDeleted TagLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for TagLifecycleStateEnum
func GetTagLifecycleStateEnumValues ¶
func GetTagLifecycleStateEnumValues() []TagLifecycleStateEnum
GetTagLifecycleStateEnumValues Enumerates the set of values for TagLifecycleStateEnum
type TagNamespace ¶ added in v1.1.0
type TagNamespace struct { // The OCID of the tag namespace. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the tag namespace. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the tag namespace. Description *string `mandatory:"true" json:"description"` // Whether the tag namespace is retired. // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring). IsRetired *bool `mandatory:"true" json:"isRetired"` // Date and time the tagNamespace was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The tagnamespace's current state. After creating a tagnamespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tagnamespace, make sure its `lifecycleState` is INACTIVE before using it. LifecycleState TagNamespaceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
TagNamespace A managed container for defined tags. A tag namespace is unique in a tenancy. For more information, see Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
func (TagNamespace) String ¶ added in v1.1.0
func (m TagNamespace) String() string
type TagNamespaceLifecycleStateEnum ¶
type TagNamespaceLifecycleStateEnum string
TagNamespaceLifecycleStateEnum Enum with underlying type: string
const ( TagNamespaceLifecycleStateActive TagNamespaceLifecycleStateEnum = "ACTIVE" TagNamespaceLifecycleStateInactive TagNamespaceLifecycleStateEnum = "INACTIVE" TagNamespaceLifecycleStateDeleting TagNamespaceLifecycleStateEnum = "DELETING" TagNamespaceLifecycleStateDeleted TagNamespaceLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for TagNamespaceLifecycleStateEnum
func GetTagNamespaceLifecycleStateEnumValues ¶
func GetTagNamespaceLifecycleStateEnumValues() []TagNamespaceLifecycleStateEnum
GetTagNamespaceLifecycleStateEnumValues Enumerates the set of values for TagNamespaceLifecycleStateEnum
type TagNamespaceSummary ¶ added in v1.1.0
type TagNamespaceSummary struct { // The OCID of the tag namespace. Id *string `mandatory:"false" json:"id"` // The OCID of the compartment that contains the tag namespace. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed. Name *string `mandatory:"false" json:"name"` // The description you assign to the tag namespace. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Whether the tag namespace is retired. // For more information, see Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring). IsRetired *bool `mandatory:"false" json:"isRetired"` // The tagnamespace's current state. After creating a tagnamespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tagnamespace, make sure its `lifecycleState` is INACTIVE before using it. LifecycleState TagNamespaceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date and time the tag namespace was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` }
TagNamespaceSummary A container for defined tags.
func (TagNamespaceSummary) String ¶ added in v1.1.0
func (m TagNamespaceSummary) String() string
type TagSummary ¶ added in v1.1.0
type TagSummary struct { // The OCID of the compartment that contains the tag definition. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The OCID of the tag definition. Id *string `mandatory:"false" json:"id"` // The name assigned to the tag during creation. This is the tag key definition. // The name must be unique within the tag namespace and cannot be changed. Name *string `mandatory:"false" json:"name"` // The description you assign to the tag. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Whether the tag is retired. // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring). IsRetired *bool `mandatory:"false" json:"isRetired"` // The tag's current state. After creating a tag, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tag, make sure its `lifecycleState` is INACTIVE before using it. If you delete a tag, you cannot delete another tag until the deleted tag's `lifecycleState` changes from DELETING to DELETED. LifecycleState TagLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date and time the tag was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Indicates whether the tag is enabled for cost tracking. IsCostTracking *bool `mandatory:"false" json:"isCostTracking"` }
TagSummary A tag definition that belongs to a specific tag namespace.
func (TagSummary) String ¶ added in v1.1.0
func (m TagSummary) String() string
type TaggingWorkRequest ¶
type TaggingWorkRequest struct { // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // An enum-like description of the type of work the work request is doing. OperationType TaggingWorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status TaggingWorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The resources this work request affects. Resources []WorkRequestResource `mandatory:"false" json:"resources"` // Date and time the work was accepted, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"` // Date and time the work started, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Date and time the work completed, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` }
TaggingWorkRequest The asynchronous API request does not take effect immediately. This request spawns an asynchronous workflow to fulfill the request. WorkRequest objects provide visibility for in-progress workflows.
func (TaggingWorkRequest) String ¶
func (m TaggingWorkRequest) String() string
type TaggingWorkRequestErrorSummary ¶
type TaggingWorkRequestErrorSummary struct { // A machine-usable code for the error that occured. Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // Date and time the error happened, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
TaggingWorkRequestErrorSummary The error entity.
func (TaggingWorkRequestErrorSummary) String ¶
func (m TaggingWorkRequestErrorSummary) String() string
type TaggingWorkRequestLogSummary ¶
type TaggingWorkRequestLogSummary struct { // A human-readable error string. Message *string `mandatory:"true" json:"message"` // Date and time the log was written, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
TaggingWorkRequestLogSummary The log entity.
func (TaggingWorkRequestLogSummary) String ¶
func (m TaggingWorkRequestLogSummary) String() string
type TaggingWorkRequestOperationTypeEnum ¶
type TaggingWorkRequestOperationTypeEnum string
TaggingWorkRequestOperationTypeEnum Enum with underlying type: string
const (
TaggingWorkRequestOperationTypeDeleteTagDefinition TaggingWorkRequestOperationTypeEnum = "DELETE_TAG_DEFINITION"
)
Set of constants representing the allowable values for TaggingWorkRequestOperationTypeEnum
func GetTaggingWorkRequestOperationTypeEnumValues ¶
func GetTaggingWorkRequestOperationTypeEnumValues() []TaggingWorkRequestOperationTypeEnum
GetTaggingWorkRequestOperationTypeEnumValues Enumerates the set of values for TaggingWorkRequestOperationTypeEnum
type TaggingWorkRequestStatusEnum ¶
type TaggingWorkRequestStatusEnum string
TaggingWorkRequestStatusEnum Enum with underlying type: string
const ( TaggingWorkRequestStatusAccepted TaggingWorkRequestStatusEnum = "ACCEPTED" TaggingWorkRequestStatusInProgress TaggingWorkRequestStatusEnum = "IN_PROGRESS" TaggingWorkRequestStatusFailed TaggingWorkRequestStatusEnum = "FAILED" TaggingWorkRequestStatusSucceeded TaggingWorkRequestStatusEnum = "SUCCEEDED" TaggingWorkRequestStatusCanceling TaggingWorkRequestStatusEnum = "CANCELING" TaggingWorkRequestStatusCanceled TaggingWorkRequestStatusEnum = "CANCELED" )
Set of constants representing the allowable values for TaggingWorkRequestStatusEnum
func GetTaggingWorkRequestStatusEnumValues ¶
func GetTaggingWorkRequestStatusEnumValues() []TaggingWorkRequestStatusEnum
GetTaggingWorkRequestStatusEnumValues Enumerates the set of values for TaggingWorkRequestStatusEnum
type TaggingWorkRequestSummary ¶
type TaggingWorkRequestSummary struct { // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // An enum-like description of the type of work the work request is doing. OperationType TaggingWorkRequestSummaryOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status TaggingWorkRequestSummaryStatusEnum `mandatory:"true" json:"status"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The resources this work request affects. Resources []WorkRequestResource `mandatory:"false" json:"resources"` // Date and time the work was accepted, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"` // Date and time the work started, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Date and time the work completed, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` }
TaggingWorkRequestSummary The work request summary. Tracks the status of the asynchronous operation.
func (TaggingWorkRequestSummary) String ¶
func (m TaggingWorkRequestSummary) String() string
type TaggingWorkRequestSummaryOperationTypeEnum ¶
type TaggingWorkRequestSummaryOperationTypeEnum string
TaggingWorkRequestSummaryOperationTypeEnum Enum with underlying type: string
const (
TaggingWorkRequestSummaryOperationTypeDeleteTagDefinition TaggingWorkRequestSummaryOperationTypeEnum = "DELETE_TAG_DEFINITION"
)
Set of constants representing the allowable values for TaggingWorkRequestSummaryOperationTypeEnum
func GetTaggingWorkRequestSummaryOperationTypeEnumValues ¶
func GetTaggingWorkRequestSummaryOperationTypeEnumValues() []TaggingWorkRequestSummaryOperationTypeEnum
GetTaggingWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for TaggingWorkRequestSummaryOperationTypeEnum
type TaggingWorkRequestSummaryStatusEnum ¶
type TaggingWorkRequestSummaryStatusEnum string
TaggingWorkRequestSummaryStatusEnum Enum with underlying type: string
const ( TaggingWorkRequestSummaryStatusAccepted TaggingWorkRequestSummaryStatusEnum = "ACCEPTED" TaggingWorkRequestSummaryStatusInProgress TaggingWorkRequestSummaryStatusEnum = "IN_PROGRESS" TaggingWorkRequestSummaryStatusFailed TaggingWorkRequestSummaryStatusEnum = "FAILED" TaggingWorkRequestSummaryStatusSucceeded TaggingWorkRequestSummaryStatusEnum = "SUCCEEDED" TaggingWorkRequestSummaryStatusCanceling TaggingWorkRequestSummaryStatusEnum = "CANCELING" TaggingWorkRequestSummaryStatusCanceled TaggingWorkRequestSummaryStatusEnum = "CANCELED" )
Set of constants representing the allowable values for TaggingWorkRequestSummaryStatusEnum
func GetTaggingWorkRequestSummaryStatusEnumValues ¶
func GetTaggingWorkRequestSummaryStatusEnumValues() []TaggingWorkRequestSummaryStatusEnum
GetTaggingWorkRequestSummaryStatusEnumValues Enumerates the set of values for TaggingWorkRequestSummaryStatusEnum
type Tenancy ¶
type Tenancy struct { // The OCID of the tenancy. Id *string `mandatory:"false" json:"id"` // The name of the tenancy. Name *string `mandatory:"false" json:"name"` // The description of the tenancy. Description *string `mandatory:"false" json:"description"` // The region key for the tenancy's home region. For the full list of supported regions, see // Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). // Example: `PHX` HomeRegionKey *string `mandatory:"false" json:"homeRegionKey"` // Url which refers to the UPI IDCS compatibility layer endpoint configured for this Tenant's home region. UpiIdcsCompatibilityLayerEndpoint *string `mandatory:"false" json:"upiIdcsCompatibilityLayerEndpoint"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
Tenancy The root compartment that contains all of your organization's compartments and other Oracle Cloud Infrastructure cloud resources. When you sign up for Oracle Cloud Infrastructure, Oracle creates a tenancy for your company, which is a secure and isolated partition where you can create, organize, and administer your cloud resources. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
type UiPassword ¶
type UiPassword struct { // The user's password for the Console. Password *string `mandatory:"false" json:"password"` // The OCID of the user. UserId *string `mandatory:"false" json:"userId"` // Date and time the password was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The password's current state. After creating a password, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState UiPasswordLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
UiPassword A text password that enables a user to sign in to the Console, the user interface for interacting with Oracle Cloud Infrastructure. For more information about user credentials, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm).
func (UiPassword) String ¶
func (m UiPassword) String() string
type UiPasswordInformation ¶
type UiPasswordInformation struct { // The OCID of the user. UserId *string `mandatory:"false" json:"userId"` // Date and time the password was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The password's current state. After creating a password, make sure its `lifecycleState` changes from // CREATING to ACTIVE before using it. LifecycleState UiPasswordInformationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
UiPasswordInformation Information about the UIPassword, which is a text password that enables a user to sign in to the Console, the user interface for interacting with Oracle Cloud Infrastructure. For more information about user credentials, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm).
func (UiPasswordInformation) String ¶
func (m UiPasswordInformation) String() string
type UiPasswordInformationLifecycleStateEnum ¶
type UiPasswordInformationLifecycleStateEnum string
UiPasswordInformationLifecycleStateEnum Enum with underlying type: string
const ( UiPasswordInformationLifecycleStateCreating UiPasswordInformationLifecycleStateEnum = "CREATING" UiPasswordInformationLifecycleStateActive UiPasswordInformationLifecycleStateEnum = "ACTIVE" UiPasswordInformationLifecycleStateInactive UiPasswordInformationLifecycleStateEnum = "INACTIVE" UiPasswordInformationLifecycleStateDeleting UiPasswordInformationLifecycleStateEnum = "DELETING" UiPasswordInformationLifecycleStateDeleted UiPasswordInformationLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for UiPasswordInformationLifecycleStateEnum
func GetUiPasswordInformationLifecycleStateEnumValues ¶
func GetUiPasswordInformationLifecycleStateEnumValues() []UiPasswordInformationLifecycleStateEnum
GetUiPasswordInformationLifecycleStateEnumValues Enumerates the set of values for UiPasswordInformationLifecycleStateEnum
type UiPasswordLifecycleStateEnum ¶
type UiPasswordLifecycleStateEnum string
UiPasswordLifecycleStateEnum Enum with underlying type: string
const ( UiPasswordLifecycleStateCreating UiPasswordLifecycleStateEnum = "CREATING" UiPasswordLifecycleStateActive UiPasswordLifecycleStateEnum = "ACTIVE" UiPasswordLifecycleStateInactive UiPasswordLifecycleStateEnum = "INACTIVE" UiPasswordLifecycleStateDeleting UiPasswordLifecycleStateEnum = "DELETING" UiPasswordLifecycleStateDeleted UiPasswordLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for UiPasswordLifecycleStateEnum
func GetUiPasswordLifecycleStateEnumValues ¶
func GetUiPasswordLifecycleStateEnumValues() []UiPasswordLifecycleStateEnum
GetUiPasswordLifecycleStateEnumValues Enumerates the set of values for UiPasswordLifecycleStateEnum
type UpdateAuthTokenDetails ¶ added in v1.6.0
type UpdateAuthTokenDetails struct { // The description you assign to the auth token. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` }
UpdateAuthTokenDetails The representation of UpdateAuthTokenDetails
func (UpdateAuthTokenDetails) String ¶ added in v1.6.0
func (m UpdateAuthTokenDetails) String() string
type UpdateAuthTokenRequest ¶ added in v1.6.0
type UpdateAuthTokenRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the auth token. AuthTokenId *string `mandatory:"true" contributesTo:"path" name:"authTokenId"` // Request object for updating an auth token. UpdateAuthTokenDetails `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"` // 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 }
UpdateAuthTokenRequest wrapper for the UpdateAuthToken operation
func (UpdateAuthTokenRequest) HTTPRequest ¶ added in v1.6.0
func (request UpdateAuthTokenRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAuthTokenRequest) RetryPolicy ¶ added in v1.6.0
func (request UpdateAuthTokenRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAuthTokenRequest) String ¶ added in v1.6.0
func (request UpdateAuthTokenRequest) String() string
type UpdateAuthTokenResponse ¶ added in v1.6.0
type UpdateAuthTokenResponse struct { // The underlying http response RawResponse *http.Response // The AuthToken instance AuthToken `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"` }
UpdateAuthTokenResponse wrapper for the UpdateAuthToken operation
func (UpdateAuthTokenResponse) HTTPResponse ¶ added in v1.6.0
func (response UpdateAuthTokenResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAuthTokenResponse) String ¶ added in v1.6.0
func (response UpdateAuthTokenResponse) String() string
type UpdateAuthenticationPolicyDetails ¶
type UpdateAuthenticationPolicyDetails struct { // Password policy. PasswordPolicy *PasswordPolicy `mandatory:"false" json:"passwordPolicy"` }
UpdateAuthenticationPolicyDetails Update request for authentication policy, describes set of validation rules and their parameters to be updated.
func (UpdateAuthenticationPolicyDetails) String ¶
func (m UpdateAuthenticationPolicyDetails) String() string
type UpdateAuthenticationPolicyRequest ¶
type UpdateAuthenticationPolicyRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" name:"compartmentId"` // Request object for updating the authentication policy. UpdateAuthenticationPolicyDetails `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"` // 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 }
UpdateAuthenticationPolicyRequest wrapper for the UpdateAuthenticationPolicy operation
func (UpdateAuthenticationPolicyRequest) HTTPRequest ¶
func (request UpdateAuthenticationPolicyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateAuthenticationPolicyRequest) RetryPolicy ¶
func (request UpdateAuthenticationPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateAuthenticationPolicyRequest) String ¶
func (request UpdateAuthenticationPolicyRequest) String() string
type UpdateAuthenticationPolicyResponse ¶
type UpdateAuthenticationPolicyResponse struct { // The underlying http response RawResponse *http.Response // The AuthenticationPolicy instance AuthenticationPolicy `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"` }
UpdateAuthenticationPolicyResponse wrapper for the UpdateAuthenticationPolicy operation
func (UpdateAuthenticationPolicyResponse) HTTPResponse ¶
func (response UpdateAuthenticationPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAuthenticationPolicyResponse) String ¶
func (response UpdateAuthenticationPolicyResponse) String() string
type UpdateCompartmentDetails ¶
type UpdateCompartmentDetails struct { // The description you assign to the compartment. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // The new name you assign to the compartment. The name must be unique across all compartments in the parent compartment. // Avoid entering confidential information. Name *string `mandatory:"false" json:"name"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateCompartmentDetails The representation of UpdateCompartmentDetails
func (UpdateCompartmentDetails) String ¶
func (m UpdateCompartmentDetails) String() string
type UpdateCompartmentRequest ¶
type UpdateCompartmentRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"path" name:"compartmentId"` // Request object for updating a compartment. UpdateCompartmentDetails `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"` // 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 }
UpdateCompartmentRequest wrapper for the UpdateCompartment operation
func (UpdateCompartmentRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateCompartmentRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateCompartmentRequest) String ¶
func (request UpdateCompartmentRequest) String() string
type UpdateCompartmentResponse ¶
type UpdateCompartmentResponse struct { // The underlying http response RawResponse *http.Response // The Compartment instance Compartment `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"` }
UpdateCompartmentResponse wrapper for the UpdateCompartment operation
func (UpdateCompartmentResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateCompartmentResponse) String ¶
func (response UpdateCompartmentResponse) String() string
type UpdateCustomerSecretKeyDetails ¶
type UpdateCustomerSecretKeyDetails struct { // The description you assign to the secret key. Does not have to be unique, and it's changeable. DisplayName *string `mandatory:"false" json:"displayName"` }
UpdateCustomerSecretKeyDetails The representation of UpdateCustomerSecretKeyDetails
func (UpdateCustomerSecretKeyDetails) String ¶
func (m UpdateCustomerSecretKeyDetails) String() string
type UpdateCustomerSecretKeyRequest ¶
type UpdateCustomerSecretKeyRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the secret key. CustomerSecretKeyId *string `mandatory:"true" contributesTo:"path" name:"customerSecretKeyId"` // Request object for updating a secret key. UpdateCustomerSecretKeyDetails `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"` // 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 }
UpdateCustomerSecretKeyRequest wrapper for the UpdateCustomerSecretKey operation
func (UpdateCustomerSecretKeyRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateCustomerSecretKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateCustomerSecretKeyRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateCustomerSecretKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateCustomerSecretKeyRequest) String ¶
func (request UpdateCustomerSecretKeyRequest) String() string
type UpdateCustomerSecretKeyResponse ¶
type UpdateCustomerSecretKeyResponse struct { // The underlying http response RawResponse *http.Response // The CustomerSecretKeySummary instance CustomerSecretKeySummary `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"` }
UpdateCustomerSecretKeyResponse wrapper for the UpdateCustomerSecretKey operation
func (UpdateCustomerSecretKeyResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateCustomerSecretKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateCustomerSecretKeyResponse) String ¶
func (response UpdateCustomerSecretKeyResponse) String() string
type UpdateDynamicGroupDetails ¶ added in v1.1.0
type UpdateDynamicGroupDetails struct { // The description you assign to the dynamic group. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // The matching rule to dynamically match an instance certificate to this dynamic group. // For rule syntax, see Managing Dynamic Groups (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingdynamicgroups.htm). MatchingRule *string `mandatory:"false" json:"matchingRule"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateDynamicGroupDetails Properties for updating a dynamic group.
func (UpdateDynamicGroupDetails) String ¶ added in v1.1.0
func (m UpdateDynamicGroupDetails) String() string
type UpdateDynamicGroupRequest ¶ added in v1.1.0
type UpdateDynamicGroupRequest struct { // The OCID of the dynamic group. DynamicGroupId *string `mandatory:"true" contributesTo:"path" name:"dynamicGroupId"` // Request object for updating an dynamic group. UpdateDynamicGroupDetails `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"` // 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 }
UpdateDynamicGroupRequest wrapper for the UpdateDynamicGroup operation
func (UpdateDynamicGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateDynamicGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDynamicGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateDynamicGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDynamicGroupRequest) String ¶ added in v1.1.0
func (request UpdateDynamicGroupRequest) String() string
type UpdateDynamicGroupResponse ¶ added in v1.1.0
type UpdateDynamicGroupResponse struct { // The underlying http response RawResponse *http.Response // The DynamicGroup instance DynamicGroup `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"` }
UpdateDynamicGroupResponse wrapper for the UpdateDynamicGroup operation
func (UpdateDynamicGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateDynamicGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDynamicGroupResponse) String ¶ added in v1.1.0
func (response UpdateDynamicGroupResponse) String() string
type UpdateGroupDetails ¶
type UpdateGroupDetails struct { // The description you assign to the group. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateGroupDetails The representation of UpdateGroupDetails
func (UpdateGroupDetails) String ¶
func (m UpdateGroupDetails) String() string
type UpdateGroupRequest ¶
type UpdateGroupRequest struct { // The OCID of the group. GroupId *string `mandatory:"true" contributesTo:"path" name:"groupId"` // Request object for updating a group. UpdateGroupDetails `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"` // 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 }
UpdateGroupRequest wrapper for the UpdateGroup operation
func (UpdateGroupRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateGroupRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateGroupRequest) String ¶
func (request UpdateGroupRequest) String() string
type UpdateGroupResponse ¶
type UpdateGroupResponse struct { // The underlying http response RawResponse *http.Response // The Group instance Group `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"` }
UpdateGroupResponse wrapper for the UpdateGroup operation
func (UpdateGroupResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateGroupResponse) String ¶
func (response UpdateGroupResponse) String() string
type UpdateIdentityProviderDetails ¶
type UpdateIdentityProviderDetails interface { // The description you assign to the `IdentityProvider`. Does not have to // be unique, and it's changeable. GetDescription() *string // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} }
UpdateIdentityProviderDetails The representation of UpdateIdentityProviderDetails
type UpdateIdentityProviderDetailsProtocolEnum ¶
type UpdateIdentityProviderDetailsProtocolEnum string
UpdateIdentityProviderDetailsProtocolEnum Enum with underlying type: string
const (
UpdateIdentityProviderDetailsProtocolSaml2 UpdateIdentityProviderDetailsProtocolEnum = "SAML2"
)
Set of constants representing the allowable values for UpdateIdentityProviderDetailsProtocolEnum
func GetUpdateIdentityProviderDetailsProtocolEnumValues ¶
func GetUpdateIdentityProviderDetailsProtocolEnumValues() []UpdateIdentityProviderDetailsProtocolEnum
GetUpdateIdentityProviderDetailsProtocolEnumValues Enumerates the set of values for UpdateIdentityProviderDetailsProtocolEnum
type UpdateIdentityProviderRequest ¶
type UpdateIdentityProviderRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // Request object for updating a identity provider. UpdateIdentityProviderDetails `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"` // 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 }
UpdateIdentityProviderRequest wrapper for the UpdateIdentityProvider operation
func (UpdateIdentityProviderRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateIdentityProviderRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateIdentityProviderRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateIdentityProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateIdentityProviderRequest) String ¶
func (request UpdateIdentityProviderRequest) String() string
type UpdateIdentityProviderResponse ¶
type UpdateIdentityProviderResponse struct { // The underlying http response RawResponse *http.Response // The IdentityProvider instance IdentityProvider `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"` }
UpdateIdentityProviderResponse wrapper for the UpdateIdentityProvider operation
func (UpdateIdentityProviderResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateIdentityProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateIdentityProviderResponse) String ¶
func (response UpdateIdentityProviderResponse) String() string
type UpdateIdpGroupMappingDetails ¶
type UpdateIdpGroupMappingDetails struct { // The idp group name. IdpGroupName *string `mandatory:"false" json:"idpGroupName"` // The OCID of the group. GroupId *string `mandatory:"false" json:"groupId"` }
UpdateIdpGroupMappingDetails The representation of UpdateIdpGroupMappingDetails
func (UpdateIdpGroupMappingDetails) String ¶
func (m UpdateIdpGroupMappingDetails) String() string
type UpdateIdpGroupMappingRequest ¶
type UpdateIdpGroupMappingRequest struct { // The OCID of the identity provider. IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"` // The OCID of the group mapping. MappingId *string `mandatory:"true" contributesTo:"path" name:"mappingId"` // Request object for updating an identity provider group mapping UpdateIdpGroupMappingDetails `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"` // 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 }
UpdateIdpGroupMappingRequest wrapper for the UpdateIdpGroupMapping operation
func (UpdateIdpGroupMappingRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateIdpGroupMappingRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateIdpGroupMappingRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateIdpGroupMappingRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateIdpGroupMappingRequest) String ¶
func (request UpdateIdpGroupMappingRequest) String() string
type UpdateIdpGroupMappingResponse ¶
type UpdateIdpGroupMappingResponse struct { // The underlying http response RawResponse *http.Response // The IdpGroupMapping instance IdpGroupMapping `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"` }
UpdateIdpGroupMappingResponse wrapper for the UpdateIdpGroupMapping operation
func (UpdateIdpGroupMappingResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateIdpGroupMappingResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateIdpGroupMappingResponse) String ¶
func (response UpdateIdpGroupMappingResponse) String() string
type UpdateNetworkSourceDetails ¶
type UpdateNetworkSourceDetails struct { // The description you assign to the network source. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // A list of allowed public IP addresses and CIDR ranges. PublicSourceList []string `mandatory:"false" json:"publicSourceList"` // A list of allowed VCN OCID and IP range pairs. // Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` VirtualSourceList []NetworkSourcesVirtualSourceList `mandatory:"false" json:"virtualSourceList"` // A list of services allowed to make on-behalf-of requests. These requests can have different source IPs than // those specified in the network source. Currently, only `all` and `none` are supported. The default is `all`. Services []string `mandatory:"false" json:"services"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateNetworkSourceDetails The representation of UpdateNetworkSourceDetails
func (UpdateNetworkSourceDetails) String ¶
func (m UpdateNetworkSourceDetails) String() string
type UpdateNetworkSourceRequest ¶
type UpdateNetworkSourceRequest struct { // The OCID of the network source. NetworkSourceId *string `mandatory:"true" contributesTo:"path" name:"networkSourceId"` // Request object for updating a network source. UpdateNetworkSourceDetails `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"` // 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 }
UpdateNetworkSourceRequest wrapper for the UpdateNetworkSource operation
func (UpdateNetworkSourceRequest) HTTPRequest ¶
func (request UpdateNetworkSourceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateNetworkSourceRequest) RetryPolicy ¶
func (request UpdateNetworkSourceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateNetworkSourceRequest) String ¶
func (request UpdateNetworkSourceRequest) String() string
type UpdateNetworkSourceResponse ¶
type UpdateNetworkSourceResponse struct { // The underlying http response RawResponse *http.Response // The NetworkSources instance NetworkSources `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"` }
UpdateNetworkSourceResponse wrapper for the UpdateNetworkSource operation
func (UpdateNetworkSourceResponse) HTTPResponse ¶
func (response UpdateNetworkSourceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateNetworkSourceResponse) String ¶
func (response UpdateNetworkSourceResponse) String() string
type UpdateOAuth2ClientCredentialDetails ¶
type UpdateOAuth2ClientCredentialDetails struct { // Description of the oauth credential to help user differentiate them. Description *string `mandatory:"true" json:"description"` // Allowed scopes for the given oauth credential. Scopes []FullyQualifiedScope `mandatory:"true" json:"scopes"` // Indicate if the password to be reset or not in the update. IsResetPassword *bool `mandatory:"false" json:"isResetPassword"` }
UpdateOAuth2ClientCredentialDetails The representation of UpdateOAuth2ClientCredentialDetails
func (UpdateOAuth2ClientCredentialDetails) String ¶
func (m UpdateOAuth2ClientCredentialDetails) String() string
type UpdateOAuthClientCredentialRequest ¶
type UpdateOAuthClientCredentialRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The ID of the Oauth credential. Oauth2ClientCredentialId *string `mandatory:"true" contributesTo:"path" name:"oauth2ClientCredentialId"` // Request object containing the information required to generate an Oauth token. UpdateOAuth2ClientCredentialDetails `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"` // 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 }
UpdateOAuthClientCredentialRequest wrapper for the UpdateOAuthClientCredential operation
func (UpdateOAuthClientCredentialRequest) HTTPRequest ¶
func (request UpdateOAuthClientCredentialRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateOAuthClientCredentialRequest) RetryPolicy ¶
func (request UpdateOAuthClientCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateOAuthClientCredentialRequest) String ¶
func (request UpdateOAuthClientCredentialRequest) String() string
type UpdateOAuthClientCredentialResponse ¶
type UpdateOAuthClientCredentialResponse struct { // The underlying http response RawResponse *http.Response // The OAuth2ClientCredential instance OAuth2ClientCredential `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"` }
UpdateOAuthClientCredentialResponse wrapper for the UpdateOAuthClientCredential operation
func (UpdateOAuthClientCredentialResponse) HTTPResponse ¶
func (response UpdateOAuthClientCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateOAuthClientCredentialResponse) String ¶
func (response UpdateOAuthClientCredentialResponse) String() string
type UpdatePolicyDetails ¶
type UpdatePolicyDetails struct { // The description you assign to the policy. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // An array of policy statements written in the policy language. See // How Policies Work (https://docs.cloud.oracle.com/Content/Identity/Concepts/policies.htm) and // Common Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm). Statements []string `mandatory:"false" json:"statements"` // The version of the policy. If null or set to an empty string, when a request comes in for authorization, the // policy will be evaluated according to the current behavior of the services at that moment. If set to a particular // date (YYYY-MM-DD), the policy will be evaluated according to the behavior of the services on that date. VersionDate *common.SDKDate `mandatory:"false" json:"versionDate"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdatePolicyDetails The representation of UpdatePolicyDetails
func (UpdatePolicyDetails) String ¶
func (m UpdatePolicyDetails) String() string
type UpdatePolicyRequest ¶
type UpdatePolicyRequest struct { // The OCID of the policy. PolicyId *string `mandatory:"true" contributesTo:"path" name:"policyId"` // Request object for updating a policy. UpdatePolicyDetails `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"` // 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 }
UpdatePolicyRequest wrapper for the UpdatePolicy operation
func (UpdatePolicyRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdatePolicyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdatePolicyRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdatePolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdatePolicyRequest) String ¶
func (request UpdatePolicyRequest) String() string
type UpdatePolicyResponse ¶
type UpdatePolicyResponse struct { // The underlying http response RawResponse *http.Response // The Policy instance Policy `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"` }
UpdatePolicyResponse wrapper for the UpdatePolicy operation
func (UpdatePolicyResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdatePolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdatePolicyResponse) String ¶
func (response UpdatePolicyResponse) String() string
type UpdateSaml2IdentityProviderDetails ¶
type UpdateSaml2IdentityProviderDetails struct { // The description you assign to the `IdentityProvider`. Does not have to // be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The URL for retrieving the identity provider's metadata, // which contains information required for federating. MetadataUrl *string `mandatory:"false" json:"metadataUrl"` // The XML that contains the information required for federating. Metadata *string `mandatory:"false" json:"metadata"` // Extra name value pairs associated with this identity provider. // Example: `{"clientId": "app_sf3kdjf3"}` FreeformAttributes map[string]string `mandatory:"false" json:"freeformAttributes"` }
UpdateSaml2IdentityProviderDetails The representation of UpdateSaml2IdentityProviderDetails
func (UpdateSaml2IdentityProviderDetails) GetDefinedTags ¶ added in v1.1.0
func (m UpdateSaml2IdentityProviderDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (UpdateSaml2IdentityProviderDetails) GetDescription ¶
func (m UpdateSaml2IdentityProviderDetails) GetDescription() *string
GetDescription returns Description
func (UpdateSaml2IdentityProviderDetails) GetFreeformTags ¶ added in v1.1.0
func (m UpdateSaml2IdentityProviderDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (UpdateSaml2IdentityProviderDetails) MarshalJSON ¶
func (m UpdateSaml2IdentityProviderDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (UpdateSaml2IdentityProviderDetails) String ¶
func (m UpdateSaml2IdentityProviderDetails) String() string
type UpdateSmtpCredentialDetails ¶ added in v1.2.0
type UpdateSmtpCredentialDetails struct { // The description you assign to the SMTP credential. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` }
UpdateSmtpCredentialDetails The representation of UpdateSmtpCredentialDetails
func (UpdateSmtpCredentialDetails) String ¶ added in v1.2.0
func (m UpdateSmtpCredentialDetails) String() string
type UpdateSmtpCredentialRequest ¶ added in v1.2.0
type UpdateSmtpCredentialRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the SMTP credential. SmtpCredentialId *string `mandatory:"true" contributesTo:"path" name:"smtpCredentialId"` // Request object for updating a SMTP credential. UpdateSmtpCredentialDetails `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"` // 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 }
UpdateSmtpCredentialRequest wrapper for the UpdateSmtpCredential operation
func (UpdateSmtpCredentialRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateSmtpCredentialRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateSmtpCredentialRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateSmtpCredentialRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateSmtpCredentialRequest) String ¶ added in v1.2.0
func (request UpdateSmtpCredentialRequest) String() string
type UpdateSmtpCredentialResponse ¶ added in v1.2.0
type UpdateSmtpCredentialResponse struct { // The underlying http response RawResponse *http.Response // The SmtpCredentialSummary instance SmtpCredentialSummary `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"` }
UpdateSmtpCredentialResponse wrapper for the UpdateSmtpCredential operation
func (UpdateSmtpCredentialResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateSmtpCredentialResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateSmtpCredentialResponse) String ¶ added in v1.2.0
func (response UpdateSmtpCredentialResponse) String() string
type UpdateStateDetails ¶
type UpdateStateDetails struct { // Update state to blocked or unblocked. Only "false" is supported (for changing the state to unblocked). Blocked *bool `mandatory:"false" json:"blocked"` }
UpdateStateDetails The representation of UpdateStateDetails
func (UpdateStateDetails) String ¶
func (m UpdateStateDetails) String() string
type UpdateSwiftPasswordDetails ¶
type UpdateSwiftPasswordDetails struct { // The description you assign to the Swift password. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` }
UpdateSwiftPasswordDetails The representation of UpdateSwiftPasswordDetails
func (UpdateSwiftPasswordDetails) String ¶
func (m UpdateSwiftPasswordDetails) String() string
type UpdateSwiftPasswordRequest ¶
type UpdateSwiftPasswordRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // The OCID of the Swift password. SwiftPasswordId *string `mandatory:"true" contributesTo:"path" name:"swiftPasswordId"` // Request object for updating a Swift password. UpdateSwiftPasswordDetails `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"` // 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 }
UpdateSwiftPasswordRequest wrapper for the UpdateSwiftPassword operation
func (UpdateSwiftPasswordRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateSwiftPasswordRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateSwiftPasswordRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateSwiftPasswordRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateSwiftPasswordRequest) String ¶
func (request UpdateSwiftPasswordRequest) String() string
type UpdateSwiftPasswordResponse ¶
type UpdateSwiftPasswordResponse struct { // The underlying http response RawResponse *http.Response // The SwiftPassword instance SwiftPassword `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"` }
UpdateSwiftPasswordResponse wrapper for the UpdateSwiftPassword operation
func (UpdateSwiftPasswordResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateSwiftPasswordResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateSwiftPasswordResponse) String ¶
func (response UpdateSwiftPasswordResponse) String() string
type UpdateTagDefaultDetails ¶
type UpdateTagDefaultDetails struct { // The default value for the tag definition. This will be applied to all resources created in the Compartment. Value *string `mandatory:"true" json:"value"` // If you specify that a value is required, a value is set during resource creation (either by // the user creating the resource or another tag defualt). If no value is set, resource // creation is blocked. // * If the `isRequired` flag is set to "true", the value is set during resource creation. // * If the `isRequired` flag is set to "false", the value you enter is set during resource creation. // Example: `false` IsRequired *bool `mandatory:"false" json:"isRequired"` }
UpdateTagDefaultDetails The representation of UpdateTagDefaultDetails
func (UpdateTagDefaultDetails) String ¶
func (m UpdateTagDefaultDetails) String() string
type UpdateTagDefaultRequest ¶
type UpdateTagDefaultRequest struct { // The OCID of the tag default. TagDefaultId *string `mandatory:"true" contributesTo:"path" name:"tagDefaultId"` // Request object for updating a tag default. UpdateTagDefaultDetails `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"` // 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 }
UpdateTagDefaultRequest wrapper for the UpdateTagDefault operation
func (UpdateTagDefaultRequest) HTTPRequest ¶
func (request UpdateTagDefaultRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateTagDefaultRequest) RetryPolicy ¶
func (request UpdateTagDefaultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateTagDefaultRequest) String ¶
func (request UpdateTagDefaultRequest) String() string
type UpdateTagDefaultResponse ¶
type UpdateTagDefaultResponse struct { // The underlying http response RawResponse *http.Response // The TagDefault instance TagDefault `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"` }
UpdateTagDefaultResponse wrapper for the UpdateTagDefault operation
func (UpdateTagDefaultResponse) HTTPResponse ¶
func (response UpdateTagDefaultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateTagDefaultResponse) String ¶
func (response UpdateTagDefaultResponse) String() string
type UpdateTagDetails ¶ added in v1.1.0
type UpdateTagDetails struct { // The description you assign to the tag during creation. Description *string `mandatory:"false" json:"description"` // Whether the tag is retired. // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring). IsRetired *bool `mandatory:"false" json:"isRetired"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Indicates whether the tag is enabled for cost tracking. IsCostTracking *bool `mandatory:"false" json:"isCostTracking"` // The tag must have a value type, which is specified with a validator. Tags can use either a // static value or a list of possible values. Static values are entered by a user applying the tag // to a resource. Lists are created by you and the user must apply a value from the list. Lists // are validiated. // If you use the default validiator (or don't define a validator), the user applying the tag // enters a value. No additional validation is performed. // To clear the validator, call UpdateTag with // DefaultTagDefinitionValidator (https://docs.cloud.oracle.com/api/#/en/identity/latest/datatypes/DefaultTagDefinitionValidator). Validator BaseTagDefinitionValidator `mandatory:"false" json:"validator"` }
UpdateTagDetails The representation of UpdateTagDetails
func (UpdateTagDetails) String ¶ added in v1.1.0
func (m UpdateTagDetails) String() string
func (*UpdateTagDetails) UnmarshalJSON ¶
func (m *UpdateTagDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type UpdateTagNamespaceDetails ¶ added in v1.1.0
type UpdateTagNamespaceDetails struct { // The description you assign to the tag namespace. Description *string `mandatory:"false" json:"description"` // Whether the tag namespace is retired. // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring). IsRetired *bool `mandatory:"false" json:"isRetired"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateTagNamespaceDetails The representation of UpdateTagNamespaceDetails
func (UpdateTagNamespaceDetails) String ¶ added in v1.1.0
func (m UpdateTagNamespaceDetails) String() string
type UpdateTagNamespaceRequest ¶ added in v1.1.0
type UpdateTagNamespaceRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // Request object for updating a namespace. UpdateTagNamespaceDetails `contributesTo:"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 `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 }
UpdateTagNamespaceRequest wrapper for the UpdateTagNamespace operation
func (UpdateTagNamespaceRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateTagNamespaceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateTagNamespaceRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateTagNamespaceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateTagNamespaceRequest) String ¶ added in v1.1.0
func (request UpdateTagNamespaceRequest) String() string
type UpdateTagNamespaceResponse ¶ added in v1.1.0
type UpdateTagNamespaceResponse struct { // The underlying http response RawResponse *http.Response // The TagNamespace instance TagNamespace `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"` }
UpdateTagNamespaceResponse wrapper for the UpdateTagNamespace operation
func (UpdateTagNamespaceResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateTagNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateTagNamespaceResponse) String ¶ added in v1.1.0
func (response UpdateTagNamespaceResponse) String() string
type UpdateTagRequest ¶ added in v1.1.0
type UpdateTagRequest struct { // The OCID of the tag namespace. TagNamespaceId *string `mandatory:"true" contributesTo:"path" name:"tagNamespaceId"` // The name of the tag. TagName *string `mandatory:"true" contributesTo:"path" name:"tagName"` // Request object for updating a tag. UpdateTagDetails `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"` // 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 }
UpdateTagRequest wrapper for the UpdateTag operation
func (UpdateTagRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateTagRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateTagRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateTagRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateTagRequest) String ¶ added in v1.1.0
func (request UpdateTagRequest) String() string
type UpdateTagResponse ¶ added in v1.1.0
type UpdateTagResponse struct { // The underlying http response RawResponse *http.Response // The Tag instance Tag `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"` }
UpdateTagResponse wrapper for the UpdateTag operation
func (UpdateTagResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateTagResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateTagResponse) String ¶ added in v1.1.0
func (response UpdateTagResponse) String() string
type UpdateUserCapabilitiesDetails ¶
type UpdateUserCapabilitiesDetails struct { // Indicates if the user can log in to the console. CanUseConsolePassword *bool `mandatory:"false" json:"canUseConsolePassword"` // Indicates if the user can use API keys. CanUseApiKeys *bool `mandatory:"false" json:"canUseApiKeys"` // Indicates if the user can use SWIFT passwords / auth tokens. CanUseAuthTokens *bool `mandatory:"false" json:"canUseAuthTokens"` // Indicates if the user can use SMTP passwords. CanUseSmtpCredentials *bool `mandatory:"false" json:"canUseSmtpCredentials"` // Indicates if the user can use SigV4 symmetric keys. CanUseCustomerSecretKeys *bool `mandatory:"false" json:"canUseCustomerSecretKeys"` // Indicates if the user can use OAuth2 credentials and tokens. CanUseOAuth2ClientCredentials *bool `mandatory:"false" json:"canUseOAuth2ClientCredentials"` }
UpdateUserCapabilitiesDetails The representation of UpdateUserCapabilitiesDetails
func (UpdateUserCapabilitiesDetails) String ¶
func (m UpdateUserCapabilitiesDetails) String() string
type UpdateUserCapabilitiesRequest ¶
type UpdateUserCapabilitiesRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // Request object for updating user capabilities. UpdateUserCapabilitiesDetails `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"` // 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 }
UpdateUserCapabilitiesRequest wrapper for the UpdateUserCapabilities operation
func (UpdateUserCapabilitiesRequest) HTTPRequest ¶
func (request UpdateUserCapabilitiesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateUserCapabilitiesRequest) RetryPolicy ¶
func (request UpdateUserCapabilitiesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateUserCapabilitiesRequest) String ¶
func (request UpdateUserCapabilitiesRequest) String() string
type UpdateUserCapabilitiesResponse ¶
type UpdateUserCapabilitiesResponse struct { // The underlying http response RawResponse *http.Response // The User instance User `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"` }
UpdateUserCapabilitiesResponse wrapper for the UpdateUserCapabilities operation
func (UpdateUserCapabilitiesResponse) HTTPResponse ¶
func (response UpdateUserCapabilitiesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateUserCapabilitiesResponse) String ¶
func (response UpdateUserCapabilitiesResponse) String() string
type UpdateUserDetails ¶
type UpdateUserDetails struct { // The description you assign to the user. Does not have to be unique, and it's changeable. Description *string `mandatory:"false" json:"description"` // The email address you assign to the user. Has to be unique across the tenancy. Email *string `mandatory:"false" json:"email"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateUserDetails The representation of UpdateUserDetails
func (UpdateUserDetails) String ¶
func (m UpdateUserDetails) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // Request object for updating a user. UpdateUserDetails `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"` // 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 }
UpdateUserRequest wrapper for the UpdateUser operation
func (UpdateUserRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateUserRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateUserRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateUserRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateUserRequest) String ¶
func (request UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct { // The underlying http response RawResponse *http.Response // The User instance User `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"` }
UpdateUserResponse wrapper for the UpdateUser operation
func (UpdateUserResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateUserResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateUserResponse) String ¶
func (response UpdateUserResponse) String() string
type UpdateUserStateRequest ¶
type UpdateUserStateRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // Request object for updating a user state. UpdateStateDetails `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"` // 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 }
UpdateUserStateRequest wrapper for the UpdateUserState operation
func (UpdateUserStateRequest) HTTPRequest ¶ added in v1.3.0
func (request UpdateUserStateRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateUserStateRequest) RetryPolicy ¶ added in v1.3.0
func (request UpdateUserStateRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateUserStateRequest) String ¶
func (request UpdateUserStateRequest) String() string
type UpdateUserStateResponse ¶
type UpdateUserStateResponse struct { // The underlying http response RawResponse *http.Response // The User instance User `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"` }
UpdateUserStateResponse wrapper for the UpdateUserState operation
func (UpdateUserStateResponse) HTTPResponse ¶ added in v1.3.0
func (response UpdateUserStateResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateUserStateResponse) String ¶
func (response UpdateUserStateResponse) String() string
type UploadApiKeyRequest ¶
type UploadApiKeyRequest struct { // The OCID of the user. UserId *string `mandatory:"true" contributesTo:"path" name:"userId"` // Request object for uploading an API key for a user. CreateApiKeyDetails `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 (e.g., if a resource // has been deleted and purged from the system, then a retry of the original creation request // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 }
UploadApiKeyRequest wrapper for the UploadApiKey operation
func (UploadApiKeyRequest) HTTPRequest ¶ added in v1.3.0
func (request UploadApiKeyRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UploadApiKeyRequest) RetryPolicy ¶ added in v1.3.0
func (request UploadApiKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UploadApiKeyRequest) String ¶
func (request UploadApiKeyRequest) String() string
type UploadApiKeyResponse ¶
type UploadApiKeyResponse struct { // The underlying http response RawResponse *http.Response // The ApiKey instance ApiKey `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"` }
UploadApiKeyResponse wrapper for the UploadApiKey operation
func (UploadApiKeyResponse) HTTPResponse ¶ added in v1.3.0
func (response UploadApiKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UploadApiKeyResponse) String ¶
func (response UploadApiKeyResponse) String() string
type User ¶
type User struct { // The OCID of the user. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the user. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name you assign to the user during creation. This is the user's login for the Console. // The name must be unique across all users in the tenancy and cannot be changed. Name *string `mandatory:"true" json:"name"` // The description you assign to the user. Does not have to be unique, and it's changeable. Description *string `mandatory:"true" json:"description"` // Date and time the user was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The user's current state. After creating a user, make sure its `lifecycleState` changes from CREATING to // ACTIVE before using it. LifecycleState UserLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Flag indicates if MFA has been activated for the user. IsMfaActivated *bool `mandatory:"true" json:"isMfaActivated"` // The email address you assign to the user. // The email address must be unique across all users in the tenancy. Email *string `mandatory:"false" json:"email"` // Whether the email address has been validated. EmailVerified *bool `mandatory:"false" json:"emailVerified"` // The OCID of the `IdentityProvider` this user belongs to. IdentityProviderId *string `mandatory:"false" json:"identityProviderId"` // Identifier of the user in the identity provider ExternalIdentifier *string `mandatory:"false" json:"externalIdentifier"` // Returned only if the user's `lifecycleState` is INACTIVE. A 16-bit value showing the reason why the user // is inactive: // - bit 0: SUSPENDED (reserved for future use) // - bit 1: DISABLED (reserved for future use) // - bit 2: BLOCKED (the user has exceeded the maximum number of failed login attempts for the Console) InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Properties indicating how the user is allowed to authenticate. Capabilities *UserCapabilities `mandatory:"false" json:"capabilities"` }
User An individual employee or system that needs to manage or use your company's Oracle Cloud Infrastructure resources. Users might need to launch instances, manage remote disks, work with your cloud network, etc. Users have one or more IAM Service credentials (ApiKey, UIPassword, SwiftPassword and AuthToken). For more information, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm)). End users of your application are not typically IAM Service users. For conceptual information about users and other IAM Service components, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). These users are created directly within the Oracle Cloud Infrastructure system, via the IAM service. They are different from *federated users*, who authenticate themselves to the Oracle Cloud Infrastructure Console via an identity provider. For more information, see Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
type UserCapabilities ¶
type UserCapabilities struct { // Indicates if the user can log in to the console. CanUseConsolePassword *bool `mandatory:"false" json:"canUseConsolePassword"` // Indicates if the user can use API keys. CanUseApiKeys *bool `mandatory:"false" json:"canUseApiKeys"` // Indicates if the user can use SWIFT passwords / auth tokens. CanUseAuthTokens *bool `mandatory:"false" json:"canUseAuthTokens"` // Indicates if the user can use SMTP passwords. CanUseSmtpCredentials *bool `mandatory:"false" json:"canUseSmtpCredentials"` // Indicates if the user can use SigV4 symmetric keys. CanUseCustomerSecretKeys *bool `mandatory:"false" json:"canUseCustomerSecretKeys"` // Indicates if the user can use OAuth2 credentials and tokens. CanUseOAuth2ClientCredentials *bool `mandatory:"false" json:"canUseOAuth2ClientCredentials"` }
UserCapabilities Properties indicating how the user is allowed to authenticate.
func (UserCapabilities) String ¶
func (m UserCapabilities) String() string
type UserGroupMembership ¶
type UserGroupMembership struct { // The OCID of the membership. Id *string `mandatory:"true" json:"id"` // The OCID of the tenancy containing the user, group, and membership object. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the group. GroupId *string `mandatory:"true" json:"groupId"` // The OCID of the user. UserId *string `mandatory:"true" json:"userId"` // Date and time the membership was created, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The membership's current state. After creating a membership object, make sure its `lifecycleState` changes // from CREATING to ACTIVE before using it. LifecycleState UserGroupMembershipLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // The detailed status of INACTIVE lifecycleState. InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` }
UserGroupMembership An object that represents the membership of a user in a group. When you add a user to a group, the result is a `UserGroupMembership` with its own OCID. To remove a user from a group, you delete the `UserGroupMembership` object.
func (UserGroupMembership) String ¶
func (m UserGroupMembership) String() string
type UserGroupMembershipLifecycleStateEnum ¶
type UserGroupMembershipLifecycleStateEnum string
UserGroupMembershipLifecycleStateEnum Enum with underlying type: string
const ( UserGroupMembershipLifecycleStateCreating UserGroupMembershipLifecycleStateEnum = "CREATING" UserGroupMembershipLifecycleStateActive UserGroupMembershipLifecycleStateEnum = "ACTIVE" UserGroupMembershipLifecycleStateInactive UserGroupMembershipLifecycleStateEnum = "INACTIVE" UserGroupMembershipLifecycleStateDeleting UserGroupMembershipLifecycleStateEnum = "DELETING" UserGroupMembershipLifecycleStateDeleted UserGroupMembershipLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for UserGroupMembershipLifecycleStateEnum
func GetUserGroupMembershipLifecycleStateEnumValues ¶
func GetUserGroupMembershipLifecycleStateEnumValues() []UserGroupMembershipLifecycleStateEnum
GetUserGroupMembershipLifecycleStateEnumValues Enumerates the set of values for UserGroupMembershipLifecycleStateEnum
type UserLifecycleStateEnum ¶
type UserLifecycleStateEnum string
UserLifecycleStateEnum Enum with underlying type: string
const ( UserLifecycleStateCreating UserLifecycleStateEnum = "CREATING" UserLifecycleStateActive UserLifecycleStateEnum = "ACTIVE" UserLifecycleStateInactive UserLifecycleStateEnum = "INACTIVE" UserLifecycleStateDeleting UserLifecycleStateEnum = "DELETING" UserLifecycleStateDeleted UserLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for UserLifecycleStateEnum
func GetUserLifecycleStateEnumValues ¶
func GetUserLifecycleStateEnumValues() []UserLifecycleStateEnum
GetUserLifecycleStateEnumValues Enumerates the set of values for UserLifecycleStateEnum
type WorkRequest ¶
type WorkRequest struct { // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // An enum-like description of the type of work the work request is doing. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The resources this work request affects. Resources []WorkRequestResource `mandatory:"false" json:"resources"` // The errors for work request. Errors []WorkRequestError `mandatory:"false" json:"errors"` // The logs for work request. Logs []WorkRequestLogEntry `mandatory:"false" json:"logs"` // Date and time the work was accepted, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"` // Date and time the work started, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Date and time the work completed, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` }
WorkRequest The asynchronous API request does not take effect immediately. This request spawns an asynchronous workflow to fulfill the request. WorkRequest objects provide visibility for in-progress workflows.
func (WorkRequest) String ¶
func (m WorkRequest) String() string
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // Date and time the error happened, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
WorkRequestError The error entity.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
type WorkRequestLogEntry ¶
type WorkRequestLogEntry struct { // A human-readable error string. Message *string `mandatory:"true" json:"message"` // Date and time the log was written, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
WorkRequestLogEntry The log entity.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
type WorkRequestOperationTypeEnum ¶
type WorkRequestOperationTypeEnum string
WorkRequestOperationTypeEnum Enum with underlying type: string
const ( WorkRequestOperationTypeCompartment WorkRequestOperationTypeEnum = "DELETE_COMPARTMENT" WorkRequestOperationTypeTagDefinition WorkRequestOperationTypeEnum = "DELETE_TAG_DEFINITION" )
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
func GetWorkRequestOperationTypeEnumValues ¶
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
type WorkRequestResource ¶
type WorkRequestResource struct { // The resource identifier the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The resource type the work request is affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource was affected by the work tracked by the work request. ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // The URI path that the user can do a GET on to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
WorkRequestResource The resource entity.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
type WorkRequestResourceActionTypeEnum ¶
type WorkRequestResourceActionTypeEnum string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeRelated WorkRequestResourceActionTypeEnum = "RELATED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
func GetWorkRequestResourceActionTypeEnumValues ¶
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum ¶
type WorkRequestStatusEnum string
WorkRequestStatusEnum Enum with underlying type: string
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkRequestStatusEnum
func GetWorkRequestStatusEnumValues ¶
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
type WorkRequestSummary ¶
type WorkRequestSummary struct { // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // An enum-like description of the type of work the work request is doing. OperationType WorkRequestSummaryOperationTypeEnum `mandatory:"true" json:"operationType"` // The current status of the work request. Status WorkRequestSummaryStatusEnum `mandatory:"true" json:"status"` // The OCID of the compartment that contains the work request. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The resources this work request affects. Resources []WorkRequestResource `mandatory:"false" json:"resources"` // The errors for work request. Errors []WorkRequestError `mandatory:"false" json:"errors"` // Date and time the work was accepted, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"` // Date and time the work started, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Date and time the work completed, in the format defined by RFC3339. // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // How much progress the operation has made. PercentComplete *float32 `mandatory:"false" json:"percentComplete"` }
WorkRequestSummary The work request summary. Tracks the status of the asynchronous operation.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
type WorkRequestSummaryOperationTypeEnum ¶
type WorkRequestSummaryOperationTypeEnum string
WorkRequestSummaryOperationTypeEnum Enum with underlying type: string
const ( WorkRequestSummaryOperationTypeCompartment WorkRequestSummaryOperationTypeEnum = "DELETE_COMPARTMENT" WorkRequestSummaryOperationTypeTagDefinition WorkRequestSummaryOperationTypeEnum = "DELETE_TAG_DEFINITION" )
Set of constants representing the allowable values for WorkRequestSummaryOperationTypeEnum
func GetWorkRequestSummaryOperationTypeEnumValues ¶
func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum
GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum
type WorkRequestSummaryStatusEnum ¶
type WorkRequestSummaryStatusEnum string
WorkRequestSummaryStatusEnum Enum with underlying type: string
const ( WorkRequestSummaryStatusAccepted WorkRequestSummaryStatusEnum = "ACCEPTED" WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS" WorkRequestSummaryStatusFailed WorkRequestSummaryStatusEnum = "FAILED" WorkRequestSummaryStatusSucceeded WorkRequestSummaryStatusEnum = "SUCCEEDED" WorkRequestSummaryStatusCanceling WorkRequestSummaryStatusEnum = "CANCELING" WorkRequestSummaryStatusCanceled WorkRequestSummaryStatusEnum = "CANCELED" )
Set of constants representing the allowable values for WorkRequestSummaryStatusEnum
func GetWorkRequestSummaryStatusEnumValues ¶
func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum
GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum
Source Files ¶
- activate_mfa_totp_device_request_response.go
- add_user_to_group_details.go
- add_user_to_group_request_response.go
- api_key.go
- assemble_effective_tag_set_request_response.go
- auth_token.go
- authentication_policy.go
- availability_domain.go
- base_tag_definition_validator.go
- bulk_action_resource.go
- bulk_action_resource_type.go
- bulk_action_resource_type_collection.go
- bulk_delete_resources_details.go
- bulk_delete_resources_request_response.go
- bulk_delete_tags_details.go
- bulk_delete_tags_request_response.go
- bulk_move_resources_details.go
- bulk_move_resources_request_response.go
- cascade_delete_tag_namespace_request_response.go
- change_tag_namespace_compartment_detail.go
- change_tag_namespace_compartment_request_response.go
- compartment.go
- create_api_key_details.go
- create_auth_token_details.go
- create_auth_token_request_response.go
- create_compartment_details.go
- create_compartment_request_response.go
- create_customer_secret_key_details.go
- create_customer_secret_key_request_response.go
- create_dynamic_group_details.go
- create_dynamic_group_request_response.go
- create_group_details.go
- create_group_request_response.go
- create_identity_provider_details.go
- create_identity_provider_request_response.go
- create_idp_group_mapping_details.go
- create_idp_group_mapping_request_response.go
- create_mfa_totp_device_request_response.go
- create_network_source_details.go
- create_network_source_request_response.go
- create_o_auth2_client_credential_details.go
- create_o_auth_client_credential_request_response.go
- create_or_reset_u_i_password_request_response.go
- create_policy_details.go
- create_policy_request_response.go
- create_region_subscription_details.go
- create_region_subscription_request_response.go
- create_saml2_identity_provider_details.go
- create_smtp_credential_details.go
- create_smtp_credential_request_response.go
- create_swift_password_details.go
- create_swift_password_request_response.go
- create_tag_default_details.go
- create_tag_default_request_response.go
- create_tag_details.go
- create_tag_namespace_details.go
- create_tag_namespace_request_response.go
- create_tag_request_response.go
- create_user_details.go
- create_user_request_response.go
- customer_secret_key.go
- customer_secret_key_summary.go
- default_tag_definition_validator.go
- delete_api_key_request_response.go
- delete_auth_token_request_response.go
- delete_compartment_request_response.go
- delete_customer_secret_key_request_response.go
- delete_dynamic_group_request_response.go
- delete_group_request_response.go
- delete_identity_provider_request_response.go
- delete_idp_group_mapping_request_response.go
- delete_mfa_totp_device_request_response.go
- delete_network_source_request_response.go
- delete_o_auth_client_credential_request_response.go
- delete_policy_request_response.go
- delete_smtp_credential_request_response.go
- delete_swift_password_request_response.go
- delete_tag_default_request_response.go
- delete_tag_namespace_request_response.go
- delete_tag_request_response.go
- delete_user_request_response.go
- dynamic_group.go
- enum_tag_definition_validator.go
- fault_domain.go
- fully_qualified_scope.go
- generate_totp_seed_request_response.go
- get_authentication_policy_request_response.go
- get_compartment_request_response.go
- get_dynamic_group_request_response.go
- get_group_request_response.go
- get_identity_provider_request_response.go
- get_idp_group_mapping_request_response.go
- get_mfa_totp_device_request_response.go
- get_network_source_request_response.go
- get_policy_request_response.go
- get_tag_default_request_response.go
- get_tag_namespace_request_response.go
- get_tag_request_response.go
- get_tagging_work_request_request_response.go
- get_tenancy_request_response.go
- get_user_group_membership_request_response.go
- get_user_request_response.go
- get_user_u_i_password_information_request_response.go
- get_work_request_request_response.go
- group.go
- identity_client.go
- identity_provider.go
- identity_provider_group_summary.go
- idp_group_mapping.go
- list_api_keys_request_response.go
- list_auth_tokens_request_response.go
- list_availability_domains_request_response.go
- list_bulk_action_resource_types_request_response.go
- list_compartments_request_response.go
- list_cost_tracking_tags_request_response.go
- list_customer_secret_keys_request_response.go
- list_dynamic_groups_request_response.go
- list_fault_domains_request_response.go
- list_groups_request_response.go
- list_identity_provider_groups_request_response.go
- list_identity_providers_request_response.go
- list_idp_group_mappings_request_response.go
- list_mfa_totp_devices_request_response.go
- list_network_sources_request_response.go
- list_o_auth_client_credentials_request_response.go
- list_policies_request_response.go
- list_region_subscriptions_request_response.go
- list_regions_request_response.go
- list_smtp_credentials_request_response.go
- list_swift_passwords_request_response.go
- list_tag_defaults_request_response.go
- list_tag_namespaces_request_response.go
- list_tagging_work_request_errors_request_response.go
- list_tagging_work_request_logs_request_response.go
- list_tagging_work_requests_request_response.go
- list_tags_request_response.go
- list_user_group_memberships_request_response.go
- list_users_request_response.go
- list_work_requests_request_response.go
- mfa_totp_device.go
- mfa_totp_device_summary.go
- mfa_totp_token.go
- move_compartment_details.go
- move_compartment_request_response.go
- network_sources.go
- network_sources_summary.go
- network_sources_virtual_source_list.go
- o_auth2_client_credential.go
- o_auth2_client_credential_summary.go
- password_policy.go
- policy.go
- recover_compartment_request_response.go
- region.go
- region_subscription.go
- remove_user_from_group_request_response.go
- reset_idp_scim_client_request_response.go
- saml2_identity_provider.go
- scim_client_credentials.go
- smtp_credential.go
- smtp_credential_summary.go
- swift_password.go
- tag.go
- tag_default.go
- tag_default_summary.go
- tag_namespace.go
- tag_namespace_summary.go
- tag_summary.go
- tagging_work_request.go
- tagging_work_request_error_summary.go
- tagging_work_request_log_summary.go
- tagging_work_request_summary.go
- tenancy.go
- ui_password.go
- ui_password_information.go
- update_auth_token_details.go
- update_auth_token_request_response.go
- update_authentication_policy_details.go
- update_authentication_policy_request_response.go
- update_compartment_details.go
- update_compartment_request_response.go
- update_customer_secret_key_details.go
- update_customer_secret_key_request_response.go
- update_dynamic_group_details.go
- update_dynamic_group_request_response.go
- update_group_details.go
- update_group_request_response.go
- update_identity_provider_details.go
- update_identity_provider_request_response.go
- update_idp_group_mapping_details.go
- update_idp_group_mapping_request_response.go
- update_network_source_details.go
- update_network_source_request_response.go
- update_o_auth2_client_credential_details.go
- update_o_auth_client_credential_request_response.go
- update_policy_details.go
- update_policy_request_response.go
- update_saml2_identity_provider_details.go
- update_smtp_credential_details.go
- update_smtp_credential_request_response.go
- update_state_details.go
- update_swift_password_details.go
- update_swift_password_request_response.go
- update_tag_default_details.go
- update_tag_default_request_response.go
- update_tag_details.go
- update_tag_namespace_details.go
- update_tag_namespace_request_response.go
- update_tag_request_response.go
- update_user_capabilities_details.go
- update_user_capabilities_request_response.go
- update_user_details.go
- update_user_request_response.go
- update_user_state_request_response.go
- upload_api_key_request_response.go
- user.go
- user_capabilities.go
- user_group_membership.go
- work_request.go
- work_request_error.go
- work_request_log_entry.go
- work_request_resource.go
- work_request_summary.go