Documentation ¶
Index ¶
- type HashicorpCloudResourcemanagerOrganization
- type HashicorpCloudResourcemanagerOrganizationCreateRequest
- type HashicorpCloudResourcemanagerOrganizationCreateResponse
- func (m *HashicorpCloudResourcemanagerOrganizationCreateResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationCreateResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationCreateResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse
- func (m *HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationGetResponse
- type HashicorpCloudResourcemanagerOrganizationGetRoleResponse
- func (m *HashicorpCloudResourcemanagerOrganizationGetRoleResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationGetRoleResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationGetRoleResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationListResponse
- type HashicorpCloudResourcemanagerOrganizationListRolesResponse
- func (m *HashicorpCloudResourcemanagerOrganizationListRolesResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationListRolesResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationListRolesResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationOrganizationState
- type HashicorpCloudResourcemanagerOrganizationOwner
- type HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest
- func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse
- func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationSetNameRequest
- func (m *HashicorpCloudResourcemanagerOrganizationSetNameRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationSetNameRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationSetNameRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationSetNameResponse
- func (m *HashicorpCloudResourcemanagerOrganizationSetNameResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationSetNameResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationSetNameResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest
- func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse
- func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudResourcemanagerPolicy
- type HashicorpCloudResourcemanagerPolicyBinding
- type HashicorpCloudResourcemanagerPolicyBindingMember
- type HashicorpCloudResourcemanagerPolicyBindingMemberType
- type HashicorpCloudResourcemanagerProject
- type HashicorpCloudResourcemanagerProjectCreateRequest
- type HashicorpCloudResourcemanagerProjectCreateResponse
- type HashicorpCloudResourcemanagerProjectGetResponse
- type HashicorpCloudResourcemanagerProjectListResponse
- type HashicorpCloudResourcemanagerProjectProjectState
- type HashicorpCloudResourcemanagerResource
- type HashicorpCloudResourcemanagerResourceID
- type HashicorpCloudResourcemanagerResourceIDResourceType
- type HashicorpCloudResourcemanagerResourceListResponse
- type HashicorpCloudResourcemanagerRole
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashicorpCloudResourcemanagerOrganization ¶
type HashicorpCloudResourcemanagerOrganization struct { // CreatedAt is the time the organization was created at. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // ID is an UUID identifying the Organization object. ID string `json:"id,omitempty"` // Name is the user settable name of the organization. Name string `json:"name,omitempty"` // Owner is the contact for support issue that may occur at the // organization level. Further, if the organization owner is // deleted, the organization itself will be deleted. Owner *HashicorpCloudResourcemanagerOrganizationOwner `json:"owner,omitempty"` // State is the state of the organization. State HashicorpCloudResourcemanagerOrganizationOrganizationState `json:"state,omitempty"` }
HashicorpCloudResourcemanagerOrganization Organization is the root node in the resource hierarchy. All resources for an entity reside under the organization.
swagger:model hashicorp.cloud.resourcemanager.Organization
func (*HashicorpCloudResourcemanagerOrganization) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganization) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationCreateRequest ¶
type HashicorpCloudResourcemanagerOrganizationCreateRequest struct { // Name is the user settable name of the organization. Will default to // "<Principal's name>'s Organization" if unset. Name string `json:"name,omitempty"` }
HashicorpCloudResourcemanagerOrganizationCreateRequest see OrganizationService.Create
swagger:model hashicorp.cloud.resourcemanager.OrganizationCreateRequest
func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationCreateResponse ¶
type HashicorpCloudResourcemanagerOrganizationCreateResponse struct { // Organization is the newly created organization. Organization *HashicorpCloudResourcemanagerOrganization `json:"organization,omitempty"` }
HashicorpCloudResourcemanagerOrganizationCreateResponse see OrganizationService.Create
swagger:model hashicorp.cloud.resourcemanager.OrganizationCreateResponse
func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationCreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationCreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse ¶
type HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse struct { // Policy is the IAM policy for the organization. Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"` }
HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse see OrganizationService.GetIamPolicy
swagger:model hashicorp.cloud.resourcemanager.OrganizationGetIamPolicyResponse
func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationGetResponse ¶
type HashicorpCloudResourcemanagerOrganizationGetResponse struct { // Organization is the specified organization. Organization *HashicorpCloudResourcemanagerOrganization `json:"organization,omitempty"` }
HashicorpCloudResourcemanagerOrganizationGetResponse see OrganizationService.Get
swagger:model hashicorp.cloud.resourcemanager.OrganizationGetResponse
func (*HashicorpCloudResourcemanagerOrganizationGetResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationGetResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationGetRoleResponse ¶ added in v0.18.0
type HashicorpCloudResourcemanagerOrganizationGetRoleResponse struct { // Role is the requested role. Role *HashicorpCloudResourcemanagerRole `json:"role,omitempty"` }
HashicorpCloudResourcemanagerOrganizationGetRoleResponse OrganizationGetRoleResponse see OrganizationService.GetRole
swagger:model hashicorp.cloud.resourcemanager.OrganizationGetRoleResponse
func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) MarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerOrganizationGetRoleResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) UnmarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerOrganizationGetRoleResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationListResponse ¶
type HashicorpCloudResourcemanagerOrganizationListResponse struct { // Organizations is the organizations the caller has access to. Organizations []*HashicorpCloudResourcemanagerOrganization `json:"organizations"` // Pagination contains the pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudResourcemanagerOrganizationListResponse see OrganizationService.List
swagger:model hashicorp.cloud.resourcemanager.OrganizationListResponse
func (*HashicorpCloudResourcemanagerOrganizationListResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationListResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationListRolesResponse ¶ added in v0.18.0
type HashicorpCloudResourcemanagerOrganizationListRolesResponse struct { // Pagination contains the pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // Roles contains a page of the provisioned roles for the requested organization. Roles []*HashicorpCloudResourcemanagerRole `json:"roles"` }
HashicorpCloudResourcemanagerOrganizationListRolesResponse OrganizationListRolesResponse see OrganizationService.ListRoles
swagger:model hashicorp.cloud.resourcemanager.OrganizationListRolesResponse
func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) MarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerOrganizationListRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) UnmarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerOrganizationListRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationOrganizationState ¶
type HashicorpCloudResourcemanagerOrganizationOrganizationState string
HashicorpCloudResourcemanagerOrganizationOrganizationState OrganizationState is the states the organization can be in.
swagger:model hashicorp.cloud.resourcemanager.Organization.OrganizationState
const ( // HashicorpCloudResourcemanagerOrganizationOrganizationStateUNKNOWN captures enum value "UNKNOWN" HashicorpCloudResourcemanagerOrganizationOrganizationStateUNKNOWN HashicorpCloudResourcemanagerOrganizationOrganizationState = "UNKNOWN" // HashicorpCloudResourcemanagerOrganizationOrganizationStateACTIVE captures enum value "ACTIVE" HashicorpCloudResourcemanagerOrganizationOrganizationStateACTIVE HashicorpCloudResourcemanagerOrganizationOrganizationState = "ACTIVE" // HashicorpCloudResourcemanagerOrganizationOrganizationStatePENDINGDELETE captures enum value "PENDING_DELETE" HashicorpCloudResourcemanagerOrganizationOrganizationStatePENDINGDELETE HashicorpCloudResourcemanagerOrganizationOrganizationState = "PENDING_DELETE" )
type HashicorpCloudResourcemanagerOrganizationOwner ¶
type HashicorpCloudResourcemanagerOrganizationOwner struct { // User is the email of the user who is the owner. User string `json:"user,omitempty"` }
HashicorpCloudResourcemanagerOrganizationOwner OrganizationOwner identifies the user who owns the organization.
swagger:model hashicorp.cloud.resourcemanager.OrganizationOwner
func (*HashicorpCloudResourcemanagerOrganizationOwner) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationOwner) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationOwner) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationOwner) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest ¶
type HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest struct { // ID is the identifier of the organization. ID string `json:"id,omitempty"` // Policy is the updated IAM policy for the organization. The policy // will be completely replaced and therefore Policy.Etag must be specified // in order to prevent concurrent updates. Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"` }
HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest see OrganizationService.SetIamPolicy
swagger:model hashicorp.cloud.resourcemanager.OrganizationSetIamPolicyRequest
func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse ¶
type HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse struct { // Policy is the updated IAM policy for the organization. Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"` }
HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse see OrganizationService.SetIamPolicy
swagger:model hashicorp.cloud.resourcemanager.OrganizationSetIamPolicyResponse
func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationSetNameRequest ¶ added in v0.18.0
type HashicorpCloudResourcemanagerOrganizationSetNameRequest struct { // ID is the identifier of the organization. ID string `json:"id,omitempty"` // Name is the new name of the organization. Name string `json:"name,omitempty"` }
HashicorpCloudResourcemanagerOrganizationSetNameRequest see OrganizationService.SetName
swagger:model hashicorp.cloud.resourcemanager.OrganizationSetNameRequest
func (*HashicorpCloudResourcemanagerOrganizationSetNameRequest) MarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerOrganizationSetNameRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationSetNameRequest) UnmarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerOrganizationSetNameRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationSetNameResponse ¶ added in v0.18.0
type HashicorpCloudResourcemanagerOrganizationSetNameResponse struct { // Organization is the specified organization with an updated name. Organization *HashicorpCloudResourcemanagerOrganization `json:"organization,omitempty"` }
HashicorpCloudResourcemanagerOrganizationSetNameResponse see OrganizationService.SetName
swagger:model hashicorp.cloud.resourcemanager.OrganizationSetNameResponse
func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) MarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerOrganizationSetNameResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) UnmarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerOrganizationSetNameResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest ¶
type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest struct { // ID is the identifier of the organization. ID string `json:"id,omitempty"` // Permissions to test. Permissions []string `json:"permissions"` }
HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest see OrganizationService.TestIamPermissions
swagger:model hashicorp.cloud.resourcemanager.OrganizationTestIamPermissionsRequest
func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) Validate ¶
func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) Validate(formats strfmt.Registry) error
Validate validates this hashicorp cloud resourcemanager organization test iam permissions request
type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse ¶
type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse struct { // AllowedPermissions are a subset of the request permissions the calling principal has for the organization. AllowedPermissions []string `json:"allowed_permissions"` }
HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse see OrganizationService.TestIamPermissions
swagger:model hashicorp.cloud.resourcemanager.OrganizationTestIamPermissionsResponse
func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) Validate ¶
func (m *HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) Validate(formats strfmt.Registry) error
Validate validates this hashicorp cloud resourcemanager organization test iam permissions response
type HashicorpCloudResourcemanagerPolicy ¶
type HashicorpCloudResourcemanagerPolicy struct { // Bindings is a list of role to members for this policy. Bindings []*HashicorpCloudResourcemanagerPolicyBinding `json:"bindings"` // Etag identifies this version of the policy. Etag string `json:"etag,omitempty"` }
HashicorpCloudResourcemanagerPolicy Policy binds many instances of roles to member lists in the resource hierarchy. For example:
An organization policy which has a single owner and many contributors.
"policy": { "bindings": [{ "role_id": "roles/owner", "members": [ { "member_type": "USER", "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93" } ] }, { "role_id": "roles/contributor", "members": [ { "member_type": "USER", "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080" }, { "member_type": "USER", "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e" }, { "member_type": "GROUP", "member_id": "356120ef-3014-404c-b574-c1c9e804663a" } ] }], "etag": "afd123" }
swagger:model hashicorp.cloud.resourcemanager.Policy
func (*HashicorpCloudResourcemanagerPolicy) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerPolicy) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerPolicyBinding ¶
type HashicorpCloudResourcemanagerPolicyBinding struct { // Members is a set of identities that are associated with the role. Members []*HashicorpCloudResourcemanagerPolicyBindingMember `json:"members"` // RoleId is the globally unique identifier for the role. // e.g. projects/30788e25-a942-470a-9a75-128cc7b97fde/roles/my-custom-project-role RoleID string `json:"role_id,omitempty"` }
HashicorpCloudResourcemanagerPolicyBinding PolicyBinding binds a list of members to a role.
swagger:model hashicorp.cloud.resourcemanager.PolicyBinding
func (*HashicorpCloudResourcemanagerPolicyBinding) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerPolicyBinding) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerPolicyBinding) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerPolicyBinding) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerPolicyBindingMember ¶
type HashicorpCloudResourcemanagerPolicyBindingMember struct { // MemberId is the unique identifier for the member. MemberID string `json:"member_id,omitempty"` // MemberType is the type of the member. MemberType HashicorpCloudResourcemanagerPolicyBindingMemberType `json:"member_type,omitempty"` }
HashicorpCloudResourcemanagerPolicyBindingMember PolicyBindingMember represents an identity associated with a policy binding.
swagger:model hashicorp.cloud.resourcemanager.PolicyBindingMember
func (*HashicorpCloudResourcemanagerPolicyBindingMember) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerPolicyBindingMember) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerPolicyBindingMember) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerPolicyBindingMember) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerPolicyBindingMemberType ¶
type HashicorpCloudResourcemanagerPolicyBindingMemberType string
HashicorpCloudResourcemanagerPolicyBindingMemberType PolicyBindingMemberType is the type of the policy binding member.
swagger:model hashicorp.cloud.resourcemanager.PolicyBindingMemberType
const ( // HashicorpCloudResourcemanagerPolicyBindingMemberTypeUNSET captures enum value "UNSET" HashicorpCloudResourcemanagerPolicyBindingMemberTypeUNSET HashicorpCloudResourcemanagerPolicyBindingMemberType = "UNSET" // HashicorpCloudResourcemanagerPolicyBindingMemberTypeUSER captures enum value "USER" HashicorpCloudResourcemanagerPolicyBindingMemberTypeUSER HashicorpCloudResourcemanagerPolicyBindingMemberType = "USER" // HashicorpCloudResourcemanagerPolicyBindingMemberTypeGROUP captures enum value "GROUP" HashicorpCloudResourcemanagerPolicyBindingMemberTypeGROUP HashicorpCloudResourcemanagerPolicyBindingMemberType = "GROUP" // HashicorpCloudResourcemanagerPolicyBindingMemberTypeSERVICEPRINCIPAL captures enum value "SERVICE_PRINCIPAL" HashicorpCloudResourcemanagerPolicyBindingMemberTypeSERVICEPRINCIPAL HashicorpCloudResourcemanagerPolicyBindingMemberType = "SERVICE_PRINCIPAL" )
type HashicorpCloudResourcemanagerProject ¶
type HashicorpCloudResourcemanagerProject struct { // CreatedAt is the time the project was created at. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // ID is an UUID identifying the project object. ID string `json:"id,omitempty"` // Name is the user settable name of the project. Name string `json:"name,omitempty"` // Parent is the parent resource of the project. Parent *HashicorpCloudResourcemanagerResourceID `json:"parent,omitempty"` // State is the state of the project. State HashicorpCloudResourcemanagerProjectProjectState `json:"state,omitempty"` }
HashicorpCloudResourcemanagerProject Project is a container for resources.
swagger:model hashicorp.cloud.resourcemanager.Project
func (*HashicorpCloudResourcemanagerProject) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerProject) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerProjectCreateRequest ¶
type HashicorpCloudResourcemanagerProjectCreateRequest struct { // Name is the user settable name of the project. Name string `json:"name,omitempty"` // Parent is the parent resource to nest the new project under. Parent *HashicorpCloudResourcemanagerResourceID `json:"parent,omitempty"` }
HashicorpCloudResourcemanagerProjectCreateRequest see ProjectService.Create
swagger:model hashicorp.cloud.resourcemanager.ProjectCreateRequest
func (*HashicorpCloudResourcemanagerProjectCreateRequest) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProjectCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerProjectCreateRequest) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProjectCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerProjectCreateResponse ¶
type HashicorpCloudResourcemanagerProjectCreateResponse struct { // Project is the newly created project. Project *HashicorpCloudResourcemanagerProject `json:"project,omitempty"` }
HashicorpCloudResourcemanagerProjectCreateResponse see ProjectService.Create
swagger:model hashicorp.cloud.resourcemanager.ProjectCreateResponse
func (*HashicorpCloudResourcemanagerProjectCreateResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProjectCreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerProjectCreateResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProjectCreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerProjectGetResponse ¶
type HashicorpCloudResourcemanagerProjectGetResponse struct { // Project is the specified project. Project *HashicorpCloudResourcemanagerProject `json:"project,omitempty"` }
HashicorpCloudResourcemanagerProjectGetResponse see ProjectService.Get
swagger:model hashicorp.cloud.resourcemanager.ProjectGetResponse
func (*HashicorpCloudResourcemanagerProjectGetResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProjectGetResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerProjectGetResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProjectGetResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerProjectListResponse ¶
type HashicorpCloudResourcemanagerProjectListResponse struct { // Pagination contains the pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // Projects is the projects the caller has access to at the requested scope. Projects []*HashicorpCloudResourcemanagerProject `json:"projects"` }
HashicorpCloudResourcemanagerProjectListResponse see ProjectService.List
swagger:model hashicorp.cloud.resourcemanager.ProjectListResponse
func (*HashicorpCloudResourcemanagerProjectListResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProjectListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerProjectListResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerProjectListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerProjectProjectState ¶
type HashicorpCloudResourcemanagerProjectProjectState string
HashicorpCloudResourcemanagerProjectProjectState ProjectState is the states the project can be in.
swagger:model hashicorp.cloud.resourcemanager.Project.ProjectState
const ( // HashicorpCloudResourcemanagerProjectProjectStateUNKNOWN captures enum value "UNKNOWN" HashicorpCloudResourcemanagerProjectProjectStateUNKNOWN HashicorpCloudResourcemanagerProjectProjectState = "UNKNOWN" // HashicorpCloudResourcemanagerProjectProjectStateACTIVE captures enum value "ACTIVE" HashicorpCloudResourcemanagerProjectProjectStateACTIVE HashicorpCloudResourcemanagerProjectProjectState = "ACTIVE" // HashicorpCloudResourcemanagerProjectProjectStateDELETING captures enum value "DELETING" HashicorpCloudResourcemanagerProjectProjectStateDELETING HashicorpCloudResourcemanagerProjectProjectState = "DELETING" )
type HashicorpCloudResourcemanagerResource ¶
type HashicorpCloudResourcemanagerResource struct { // Link is a link to the resource. This includes the organization // and project ID as well as the ID of the resource itself. Link *cloud.HashicorpCloudLocationLink `json:"link,omitempty"` }
HashicorpCloudResourcemanagerResource hashicorp cloud resourcemanager resource
swagger:model hashicorp.cloud.resourcemanager.Resource
func (*HashicorpCloudResourcemanagerResource) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerResource) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerResourceID ¶
type HashicorpCloudResourcemanagerResourceID struct { // id is the id of the object being referenced. ID string `json:"id,omitempty"` // ResourceType is the type of object being referenced. Type HashicorpCloudResourcemanagerResourceIDResourceType `json:"type,omitempty"` }
HashicorpCloudResourcemanagerResourceID ResourceID is a reference to an object in the resource hierarchy.
swagger:model hashicorp.cloud.resourcemanager.ResourceID
func (*HashicorpCloudResourcemanagerResourceID) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerResourceID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerResourceID) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerResourceID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerResourceIDResourceType ¶
type HashicorpCloudResourcemanagerResourceIDResourceType string
HashicorpCloudResourcemanagerResourceIDResourceType hashicorp cloud resourcemanager resource ID resource type
swagger:model hashicorp.cloud.resourcemanager.ResourceID.ResourceType
const ( // HashicorpCloudResourcemanagerResourceIDResourceTypeUNKNOWN captures enum value "UNKNOWN" HashicorpCloudResourcemanagerResourceIDResourceTypeUNKNOWN HashicorpCloudResourcemanagerResourceIDResourceType = "UNKNOWN" // HashicorpCloudResourcemanagerResourceIDResourceTypeORGANIZATION captures enum value "ORGANIZATION" HashicorpCloudResourcemanagerResourceIDResourceTypeORGANIZATION HashicorpCloudResourcemanagerResourceIDResourceType = "ORGANIZATION" // HashicorpCloudResourcemanagerResourceIDResourceTypePROJECT captures enum value "PROJECT" HashicorpCloudResourcemanagerResourceIDResourceTypePROJECT HashicorpCloudResourcemanagerResourceIDResourceType = "PROJECT" )
type HashicorpCloudResourcemanagerResourceListResponse ¶
type HashicorpCloudResourcemanagerResourceListResponse struct { // Pagination contains the pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // Resources is the resources the caller has access to at the requested scope. Resources []*HashicorpCloudResourcemanagerResource `json:"resources"` }
HashicorpCloudResourcemanagerResourceListResponse hashicorp cloud resourcemanager resource list response
swagger:model hashicorp.cloud.resourcemanager.ResourceListResponse
func (*HashicorpCloudResourcemanagerResourceListResponse) MarshalBinary ¶
func (m *HashicorpCloudResourcemanagerResourceListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerResourceListResponse) UnmarshalBinary ¶
func (m *HashicorpCloudResourcemanagerResourceListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudResourcemanagerRole ¶ added in v0.18.0
type HashicorpCloudResourcemanagerRole struct { // Description provides information regarding the purpose of this role. Description string `json:"description,omitempty"` // ID is the globally unique identifier for this role. // Examples: // * roles/contributor // * organizations/30788e25-a942-470a-9a75-128cc7b97fde/roles/my-custom-role (custom role scoped to an organization) // * projects/30788e25-a942-470a-9a75-128cc7b97fde/roles/my-custom-project-role // // Builtin roles are prefixed with "roles/" ID string `json:"id,omitempty"` // Permissions is a set of allowed permissions in the format: <service>.<noun>.<action> // Examples: // * network.hvns.create // * network.hvns.read // * consul.clusters.create Permissions []string `json:"permissions"` // Title is a display name for this role. Title string `json:"title,omitempty"` // Version is the instance of this role - version is incremented when a // permission is added or removed and when other metadata is changed. Version int32 `json:"version,omitempty"` }
HashicorpCloudResourcemanagerRole Role binds a name to a set of permissions.
swagger:model hashicorp.cloud.resourcemanager.Role
func (*HashicorpCloudResourcemanagerRole) MarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudResourcemanagerRole) UnmarshalBinary ¶ added in v0.18.0
func (m *HashicorpCloudResourcemanagerRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- hashicorp_cloud_resourcemanager_organization.go
- hashicorp_cloud_resourcemanager_organization_create_request.go
- hashicorp_cloud_resourcemanager_organization_create_response.go
- hashicorp_cloud_resourcemanager_organization_get_iam_policy_response.go
- hashicorp_cloud_resourcemanager_organization_get_response.go
- hashicorp_cloud_resourcemanager_organization_get_role_response.go
- hashicorp_cloud_resourcemanager_organization_list_response.go
- hashicorp_cloud_resourcemanager_organization_list_roles_response.go
- hashicorp_cloud_resourcemanager_organization_organization_state.go
- hashicorp_cloud_resourcemanager_organization_owner.go
- hashicorp_cloud_resourcemanager_organization_set_iam_policy_request.go
- hashicorp_cloud_resourcemanager_organization_set_iam_policy_response.go
- hashicorp_cloud_resourcemanager_organization_set_name_request.go
- hashicorp_cloud_resourcemanager_organization_set_name_response.go
- hashicorp_cloud_resourcemanager_organization_test_iam_permissions_request.go
- hashicorp_cloud_resourcemanager_organization_test_iam_permissions_response.go
- hashicorp_cloud_resourcemanager_policy.go
- hashicorp_cloud_resourcemanager_policy_binding.go
- hashicorp_cloud_resourcemanager_policy_binding_member.go
- hashicorp_cloud_resourcemanager_policy_binding_member_type.go
- hashicorp_cloud_resourcemanager_project.go
- hashicorp_cloud_resourcemanager_project_create_request.go
- hashicorp_cloud_resourcemanager_project_create_response.go
- hashicorp_cloud_resourcemanager_project_get_response.go
- hashicorp_cloud_resourcemanager_project_list_response.go
- hashicorp_cloud_resourcemanager_project_project_state.go
- hashicorp_cloud_resourcemanager_resource.go
- hashicorp_cloud_resourcemanager_resource_id.go
- hashicorp_cloud_resourcemanager_resource_id_resource_type.go
- hashicorp_cloud_resourcemanager_resource_list_response.go
- hashicorp_cloud_resourcemanager_role.go