Documentation ¶
Overview ¶
Generated by PMS #114
Generated by PMS #209
Index ¶
- func DataSourceIamIdentityProviders() *schema.Resource
- func DataSourceIamIdentityVirtualMfaDevices() *schema.Resource
- func DataSourceIdentityAgencies() *schema.Resource
- func DataSourceIdentityCustomRole() *schema.Resource
- func DataSourceIdentityGroup() *schema.Resource
- func DataSourceIdentityGroupRead(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func DataSourceIdentityPermissions() *schema.Resource
- func DataSourceIdentityProjects() *schema.Resource
- func DataSourceIdentityRole() *schema.Resource
- func DataSourceIdentityUsers() *schema.Resource
- func GetGroupRoleAssignmentWithDomainID(identityClient *golangsdk.ServiceClient, groupID, roleID, domainID string) (roles.RoleAssignment, error)
- func GetGroupRoleAssignmentWithEpsID(iamClient *golangsdk.ServiceClient, ...) (eps_permissions.Role, error)
- func GetGroupRoleAssignmentWithProjectID(identityClient *golangsdk.ServiceClient, groupID, roleID, projectID string) (roles.RoleAssignment, error)
- func GetUserRoleAssignmentWithEpsID(client *golangsdk.ServiceClient, userID, roleID, enterpriseProjectID string) (eps_permissions.Role, error)
- func ResourceIAMAgencyV3() *schema.Resource
- func ResourceIAMProviderConversion() *schema.Resource
- func ResourceIAMServiceAgency() *schema.Resource
- func ResourceIAMTrustAgency() *schema.Resource
- func ResourceIdentityACL() *schema.Resource
- func ResourceIdentityGroup() *schema.Resource
- func ResourceIdentityGroupMembership() *schema.Resource
- func ResourceIdentityGroupRoleAssignment() *schema.Resource
- func ResourceIdentityKey() *schema.Resource
- func ResourceIdentityLoginPolicy() *schema.Resource
- func ResourceIdentityPasswordPolicy() *schema.Resource
- func ResourceIdentityProject() *schema.Resource
- func ResourceIdentityProtectionPolicy() *schema.Resource
- func ResourceIdentityProvider() *schema.Resource
- func ResourceIdentityRole() *schema.Resource
- func ResourceIdentityUser() *schema.Resource
- func ResourceIdentityUserRoleAssignment() *schema.Resource
- func ResourceIdentityUserToken() *schema.Resource
- func ResourceIdentityVirtualMFADevice() *schema.Resource
- type IdentityProvidersDSWrapper
- type IdentityVirtualMfaDevicesDSWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceIamIdentityProviders ¶ added in v1.63.2
func DataSourceIamIdentityVirtualMfaDevices ¶ added in v1.65.1
func DataSourceIdentityAgencies ¶ added in v1.58.0
@API IAM GET /v3.0/OS-AGENCY/agencies
func DataSourceIdentityCustomRole ¶
@API IAM GET /v3.0/OS-ROLE/roles
func DataSourceIdentityGroup ¶
@API IAM GET /v3/groups @API IAM GET /v3/groups/{group_id}/users
func DataSourceIdentityGroupRead ¶ added in v1.53.0
func DataSourceIdentityGroupRead(_ context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
func DataSourceIdentityPermissions ¶ added in v1.54.0
@API IAM GET /v3/roles
func DataSourceIdentityProjects ¶ added in v1.37.0
@API IAM GET /v3/projects
func DataSourceIdentityRole ¶ added in v1.54.0
@API IAM GET /v3/roles
func DataSourceIdentityUsers ¶ added in v1.39.0
@API IAM GET /v3/users @API IAM GET /v3/users/{user_id}/groups DataSourceIdentityUsers is the impl of data/huaweicloud_identity_users
func GetGroupRoleAssignmentWithDomainID ¶ added in v1.48.0
func GetGroupRoleAssignmentWithDomainID(identityClient *golangsdk.ServiceClient, groupID, roleID, domainID string) (roles.RoleAssignment, error)
func GetGroupRoleAssignmentWithEpsID ¶ added in v1.48.0
func GetGroupRoleAssignmentWithEpsID(iamClient *golangsdk.ServiceClient, groupID, roleID, enterpriseProjectID string) (eps_permissions.Role, error)
func GetGroupRoleAssignmentWithProjectID ¶ added in v1.48.0
func GetGroupRoleAssignmentWithProjectID(identityClient *golangsdk.ServiceClient, groupID, roleID, projectID string) (roles.RoleAssignment, error)
func GetUserRoleAssignmentWithEpsID ¶ added in v1.48.0
func GetUserRoleAssignmentWithEpsID(client *golangsdk.ServiceClient, userID, roleID, enterpriseProjectID string) (eps_permissions.Role, error)
func ResourceIAMAgencyV3 ¶
@API IAM POST /v3.0/OS-AGENCY/agencies @API IAM GET /v3.0/OS-AGENCY/agencies/{agency_id} @API IAM PUT /v3.0/OS-AGENCY/agencies/{agency_id} @API IAM DELETE /v3.0/OS-AGENCY/agencies/{agency_id} @API IAM GET /v3.0/OS-AGENCY/domains/{domain_id}/agencies/{agency_id}/roles @API IAM PUT /v3.0/OS-AGENCY/domains/{domain_id}/agencies/{agency_id}/roles/{role_id} @API IAM DELETE /v3.0/OS-AGENCY/domains/{domain_id}/agencies/{agency_id}/roles/{role_id} @API IAM GET /v3.0/OS-INHERIT/domains/{domain_id}/agencies/{agency_id}/roles/inherited_to_projects @API IAM PUT /v3.0/OS-INHERIT/domains/{domain_id}/agencies/{agency_id}/roles/{role_id}/inherited_to_projects @API IAM DELETE /v3.0/OS-INHERIT/domains/{domain_id}/agencies/{agency_id}/roles/{role_id}/inherited_to_projects @API IAM GET /v3.0/OS-AGENCY/projects/{projectID}/agencies/{agency_id}/roles @API IAM PUT /v3.0/OS-AGENCY/projects/{projectID}/agencies/{agency_id}/roles/{role_id} @API IAM DELETE /v3.0/OS-AGENCY/projects/{projectID}/agencies/{agency_id}/roles/{role_id} @API IAM GET /v3/projects @API IAM GET /v3/roles
func ResourceIAMProviderConversion ¶ added in v1.31.1
@API IAM PUT /v3/OS-FEDERATION/mappings/{id} @API IAM PATCH /v3/OS-FEDERATION/mappings/{id} @API IAM GET /v3/OS-FEDERATION/mappings @API IAM GET /v3/OS-FEDERATION/mappings/{id} @API IAM GET /v3/OS-FEDERATION/identity_providers/{id}
func ResourceIAMServiceAgency ¶ added in v1.63.0
@API IAM POST /v5/agencies @API IAM GET /v5/agencies/{agency_id} @API IAM PUT /v5/agencies/{agency_id} @API IAM DELETE /v5/agencies/{agency_id} @API IAM GET /v5/policies @API IAM POST /v5/policies/{policy_id}/attach-agency @API IAM POST /v5/policies/{policy_id}/detach-agency @API IAM GET /v5/agencies/{agency_id}/attached-policies @API IAM POST /v5/{resource_type}/{resource_id}/tags/create @API IAM POST /v5/{resource_type}/{resource_id}/tags/delete
func ResourceIAMTrustAgency ¶ added in v1.64.2
@API IAM POST /v5/agencies @API IAM GET /v5/agencies/{agency_id} @API IAM PUT /v5/agencies/{agency_id} @API IAM DELETE /v5/agencies/{agency_id} @API IAM GET /v5/policies @API IAM POST /v5/policies/{policy_id}/attach-agency @API IAM POST /v5/policies/{policy_id}/detach-agency @API IAM GET /v5/agencies/{agency_id}/attached-policies @API IAM POST /v5/{resource_type}/{resource_id}/tags/create @API IAM POST /v5/{resource_type}/{resource_id}/tags/delete
func ResourceIdentityACL ¶
@API IAM GET /v3.0/OS-SECURITYPOLICY/domains/{domain_id}/api-acl-policy @API IAM PUT /v3.0/OS-SECURITYPOLICY/domains/{domain_id}/api-acl-policy @API IAM GET /v3.0/OS-SECURITYPOLICY/domains/{domain_id}/console-acl-policy @API IAM PUT /v3.0/OS-SECURITYPOLICY/domains/{domain_id}/console-acl-policy
func ResourceIdentityGroup ¶ added in v1.53.0
@API IAM POST /v3/groups @API IAM GET /v3/groups/{group_id} @API IAM PATCH /v3/groups/{group_id} @API IAM DELETE /v3/groups/{group_id}
func ResourceIdentityGroupMembership ¶ added in v1.53.0
@API IAM PUT /v3/groups/{group_id}/users/{user_id} @API IAM DELETE /v3/groups/{group_id}/users/{user_id} @API IAM GET /v3/groups/{group_id}/users @API IAM GET /v3/groups/{group_id}
func ResourceIdentityGroupRoleAssignment ¶ added in v1.48.0
@API IAM DELETE /v3/projects/{project_id}/groups/{group_id}/roles/{role_id} @API IAM PUT /v3/projects/{project_id}/groups/{group_id}/roles/{role_id} @API IAM GET /v3/projects/{project_id}/groups/{group_id}/roles @API IAM DELETE /v3/OS-INHERIT/domains/{domain_id}/groups/{group_id}/roles/{role_id}/inherited_to_projects @API IAM PUT /v3/OS-INHERIT/domains/{domain_id}/groups/{group_id}/roles/{role_id}/inherited_to_projects @API IAM GET /v3/OS-INHERIT/domains/{domain_id}/groups/{group_id}/roles/inherited_to_projects @API IAM DELETE /v3.0/OS-PERMISSION/enterprise-projects/{enterpriseProjectID}/groups/{group_id}/roles/{role_id} @API IAM PUT /v3.0/OS-PERMISSION/enterprise-projects/{enterpriseProjectID}/groups/{group_id}/roles/{role_id} @API IAM GET /v3.0/OS-PERMISSION/enterprise-projects/{enterpriseProjectID}/groups/{group_id}/roles @API IAM DELETE /v3/domains/{domain_id}/groups/{group_id}/roles/{role_id} @API IAM PUT /v3/domains/{domain_id}/groups/{group_id}/roles/{role_id} @API IAM GET /v3/domains/{domain_id}/groups/{group_id}/roles
func ResourceIdentityKey ¶
@API IAM POST /v3.0/OS-CREDENTIAL/credentials @API IAM PUT /v3.0/OS-CREDENTIAL/credentials/{access_key} @API IAM DELETE /v3.0/OS-CREDENTIAL/credentials/{access_key} @API IAM GET /v3.0/OS-CREDENTIAL/credentials/{access_key} @API IAM GET /v3.0/OS-USER/users/{user_id}
func ResourceIdentityLoginPolicy ¶ added in v1.63.2
@API IAM PUT /v3.0/OS-SECURITYPOLICY/domains/{domain_id}/login-policy @API IAM GET /v3.0/OS-SECURITYPOLICY/domains/{domain_id}/login-policy
func ResourceIdentityPasswordPolicy ¶ added in v1.45.0
@API IAM PUT /v3.0/OS-SECURITYPOLICY/domains/{domainID}/password-policy @API IAM GET /v3.0/OS-SECURITYPOLICY/domains/{domainID}/password-policy
func ResourceIdentityProject ¶ added in v1.54.0
@API IAM POST /v3/projects @API IAM PATCH /v3/projects/{project_id} @API IAM PUT /v3-ext/projects/{project_id} @API IAM GET /v3-ext/projects/{project_id} @API IAM DELETE /v3/projects/{project_id}
func ResourceIdentityProtectionPolicy ¶ added in v1.53.0
@API IAM GET /v3.0/OS-SECURITYPOLICY/domains/{domainID}/protect-policy @API IAM PUT /v3.0/OS-SECURITYPOLICY/domains/{domainID}/protect-policy
func ResourceIdentityProvider ¶ added in v1.31.1
@API IAM PUT /v3/OS-FEDERATION/identity_providers/{id} @API IAM PATCH /v3/OS-FEDERATION/identity_providers/{id} @API IAM GET /v3/OS-FEDERATION/identity_providers/{id} @API IAM DELETE /v3/OS-FEDERATION/identity_providers/{id} @API IAM GET /v3.0/OS-FEDERATION/identity-providers/{idp_id}/openid-connect-config @API IAM POST /v3.0/OS-FEDERATION/identity-providers/{idp_id}/openid-connect-config @API IAM PUT /v3.0/OS-FEDERATION/identity-providers/{idp_id}/openid-connect-config @API IAM PUT /v3/OS-FEDERATION/mappings/{id} @API IAM GET /v3/OS-FEDERATION/mappings/{id} @API IAM DELETE /v3/OS-FEDERATION/mappings/{id} @API IAM GET /v3/OS-FEDERATION/identity_providers/{idp_id}/protocols @API IAM PUT /v3/OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id} @API IAM GET /v3-ext/OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id}/metadata @API IAM POST /v3-ext/OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id}/metadata
func ResourceIdentityRole ¶
@API IAM POST /v3.0/OS-ROLE/roles @API IAM GET /v3.0/OS-ROLE/roles/{role_id} @API IAM PATCH /v3.0/OS-ROLE/roles/{role_id} @API IAM DELETE /v3.0/OS-ROLE/roles/{role_id}
func ResourceIdentityUser ¶ added in v1.53.0
@API IAM POST /v3.0/OS-USER/users @API IAM GET /v3.0/OS-USER/users/{user_id} @API IAM PUT /v3.0/OS-USER/users/{user_id} @API IAM DELETE /v3/users/{user_id} @API IAM PUT /v3.0/OS-USER/users/{user_id}/login-protect @API IAM GET /v3.0/OS-USER/users/{user_id}/login-protect
func ResourceIdentityUserRoleAssignment ¶ added in v1.48.0
@API IAM PUT /v3.0/OS-PERMISSION/enterprise-projects/{enterpriseProjectID}/users/{user_id}/roles/{role_id} @API IAM DELETE /v3.0/OS-PERMISSION/enterprise-projects/{enterpriseProjectID}/users/{user_id}/roles/{role_id} @API IAM GET /v3.0/OS-PERMISSION/enterprise-projects/{enterpriseProjectID}/users/{user_id}/roles
func ResourceIdentityUserToken ¶ added in v1.62.0
@API IAM POST /v3/auth/tokens
func ResourceIdentityVirtualMFADevice ¶ added in v1.61.0
@API IAM POST /v3.0/OS-MFA/virtual-mfa-devices @API IAM DELETE /v3.0/OS-MFA/virtual-mfa-devices @API IAM GET /v3.0/OS-MFA/users/{user_id}/virtual-mfa-device @API IAM GET /v3.0/OS-USER/users/{user_id} @API IAM GET /v3/auth/domains
Types ¶
type IdentityProvidersDSWrapper ¶ added in v1.63.2
type IdentityProvidersDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*IdentityProvidersDSWrapper) KeystoneListIdentityProviders ¶ added in v1.63.2
func (w *IdentityProvidersDSWrapper) KeystoneListIdentityProviders() (*gjson.Result, error)
@API IAM GET /v3/OS-FEDERATION/identity_providers
type IdentityVirtualMfaDevicesDSWrapper ¶ added in v1.65.1
type IdentityVirtualMfaDevicesDSWrapper struct { *schemas.ResourceDataWrapper Config *config.Config }
func (*IdentityVirtualMfaDevicesDSWrapper) ListUserMfaDevices ¶ added in v1.65.1
func (w *IdentityVirtualMfaDevicesDSWrapper) ListUserMfaDevices() (*gjson.Result, error)
@API IAM GET /v3.0/OS-MFA/virtual-mfa-devices
Source Files ¶
- data_source_huaweicloud_identity_agencies.go
- data_source_huaweicloud_identity_custom_role.go
- data_source_huaweicloud_identity_group.go
- data_source_huaweicloud_identity_permissions.go
- data_source_huaweicloud_identity_projects.go
- data_source_huaweicloud_identity_providers.go
- data_source_huaweicloud_identity_role.go
- data_source_huaweicloud_identity_users.go
- data_source_huaweicloud_identity_virtual_mfa_devices.go
- resource_huaweicloud_identity_access_key.go
- resource_huaweicloud_identity_acl.go
- resource_huaweicloud_identity_agency.go
- resource_huaweicloud_identity_group.go
- resource_huaweicloud_identity_group_membership.go
- resource_huaweicloud_identity_group_role_assignment.go
- resource_huaweicloud_identity_login_policy.go
- resource_huaweicloud_identity_password_policy.go
- resource_huaweicloud_identity_project.go
- resource_huaweicloud_identity_protection_policy.go
- resource_huaweicloud_identity_provider.go
- resource_huaweicloud_identity_provider_conversion.go
- resource_huaweicloud_identity_role.go
- resource_huaweicloud_identity_service_agency.go
- resource_huaweicloud_identity_trust_agency.go
- resource_huaweicloud_identity_user.go
- resource_huaweicloud_identity_user_role_assignment.go
- resource_huaweicloud_identity_user_token.go
- resource_huaweicloud_identity_virtual_mfa_device.go