models

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization based on the context it is used

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

func (*HashicorpCloudResourcemanagerOrganization) Validate

Validate validates this hashicorp cloud resourcemanager organization

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) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager organization create request based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) Validate

Validate validates this hashicorp cloud resourcemanager organization create request

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization create response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization create response

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization get iam policy response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization get iam policy response

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization get response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization get response

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization get role response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) MarshalBinary added in v0.18.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) UnmarshalBinary added in v0.18.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) Validate added in v0.18.0

Validate validates this hashicorp cloud resourcemanager organization get role response

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization list response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationListResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization list response

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization list roles response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) MarshalBinary added in v0.18.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) UnmarshalBinary added in v0.18.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) Validate added in v0.18.0

Validate validates this hashicorp cloud resourcemanager organization list roles response

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"
)

func (HashicorpCloudResourcemanagerOrganizationOrganizationState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager organization organization state based on context it is used

func (HashicorpCloudResourcemanagerOrganizationOrganizationState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerOrganizationOrganizationState.

func (HashicorpCloudResourcemanagerOrganizationOrganizationState) Validate

Validate validates this hashicorp cloud resourcemanager organization organization state

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) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager organization owner based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationOwner) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwner) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwner) Validate

Validate validates this hashicorp cloud resourcemanager organization owner

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization set iam policy request based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyRequest) Validate

Validate validates this hashicorp cloud resourcemanager organization set iam policy request

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization set iam policy response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization set iam policy response

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) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager organization set name request based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationSetNameRequest) MarshalBinary added in v0.18.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetNameRequest) UnmarshalBinary added in v0.18.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetNameRequest) Validate added in v0.18.0

Validate validates this hashicorp cloud resourcemanager organization set name request

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager organization set name response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) MarshalBinary added in v0.18.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) UnmarshalBinary added in v0.18.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) Validate added in v0.18.0

Validate validates this hashicorp cloud resourcemanager organization set name response

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) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager organization test iam permissions request based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsRequest) Validate

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) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager organization test iam permissions response based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) Validate

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) ContextValidate added in v0.23.0

func (m *HashicorpCloudResourcemanagerPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud resourcemanager policy based on the context it is used

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

func (*HashicorpCloudResourcemanagerPolicy) Validate

Validate validates this hashicorp cloud resourcemanager policy

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager policy binding based on the context it is used

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

func (*HashicorpCloudResourcemanagerPolicyBinding) Validate

Validate validates this hashicorp cloud resourcemanager policy binding

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager policy binding member based on the context it is used

func (*HashicorpCloudResourcemanagerPolicyBindingMember) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBindingMember) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBindingMember) Validate

Validate validates this hashicorp cloud resourcemanager policy binding member

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"
)

func (HashicorpCloudResourcemanagerPolicyBindingMemberType) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager policy binding member type based on context it is used

func (HashicorpCloudResourcemanagerPolicyBindingMemberType) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerPolicyBindingMemberType.

func (HashicorpCloudResourcemanagerPolicyBindingMemberType) Validate

Validate validates this hashicorp cloud resourcemanager policy binding member type

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) ContextValidate added in v0.23.0

func (m *HashicorpCloudResourcemanagerProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud resourcemanager project based on the context it is used

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

func (*HashicorpCloudResourcemanagerProject) Validate

Validate validates this hashicorp cloud resourcemanager project

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager project create request based on the context it is used

func (*HashicorpCloudResourcemanagerProjectCreateRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateRequest) Validate

Validate validates this hashicorp cloud resourcemanager project create request

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager project create response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectCreateResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateResponse) Validate

Validate validates this hashicorp cloud resourcemanager project create response

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager project get response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectGetResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetResponse) Validate

Validate validates this hashicorp cloud resourcemanager project get response

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager project list response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectListResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectListResponse) Validate

Validate validates this hashicorp cloud resourcemanager project list response

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"
)

func (HashicorpCloudResourcemanagerProjectProjectState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager project project state based on context it is used

func (HashicorpCloudResourcemanagerProjectProjectState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerProjectProjectState.

func (HashicorpCloudResourcemanagerProjectProjectState) Validate

Validate validates this hashicorp cloud resourcemanager project project state

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) ContextValidate added in v0.23.0

func (m *HashicorpCloudResourcemanagerResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud resourcemanager resource based on the context it is used

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

func (*HashicorpCloudResourcemanagerResource) Validate

Validate validates this hashicorp cloud resourcemanager resource

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager resource ID based on the context it is used

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

func (*HashicorpCloudResourcemanagerResourceID) Validate

Validate validates this hashicorp cloud resourcemanager resource ID

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"
)

func (HashicorpCloudResourcemanagerResourceIDResourceType) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud resourcemanager resource ID resource type based on context it is used

func (HashicorpCloudResourcemanagerResourceIDResourceType) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerResourceIDResourceType.

func (HashicorpCloudResourcemanagerResourceIDResourceType) Validate

Validate validates this hashicorp cloud resourcemanager resource ID resource type

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) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud resourcemanager resource list response based on the context it is used

func (*HashicorpCloudResourcemanagerResourceListResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceListResponse) Validate

Validate validates this hashicorp cloud resourcemanager resource list response

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) ContextValidate added in v0.23.0

func (m *HashicorpCloudResourcemanagerRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hashicorp cloud resourcemanager role based on context it is used

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

func (*HashicorpCloudResourcemanagerRole) Validate added in v0.18.0

Validate validates this hashicorp cloud resourcemanager role

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL