1. Packages
  2. Google Cloud Native
  3. API Docs
  4. accesscontextmanager
  5. accesscontextmanager/v1
  6. AuthorizedOrgsDesc

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.accesscontextmanager/v1.AuthorizedOrgsDesc

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this AuthorizedOrgsDesc will be assigned during creation.

    Create AuthorizedOrgsDesc Resource

    new AuthorizedOrgsDesc(name: string, args: AuthorizedOrgsDescArgs, opts?: CustomResourceOptions);
    @overload
    def AuthorizedOrgsDesc(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           access_policy_id: Optional[str] = None,
                           asset_type: Optional[AuthorizedOrgsDescAssetType] = None,
                           authorization_direction: Optional[AuthorizedOrgsDescAuthorizationDirection] = None,
                           authorization_type: Optional[AuthorizedOrgsDescAuthorizationType] = None,
                           name: Optional[str] = None,
                           orgs: Optional[Sequence[str]] = None)
    @overload
    def AuthorizedOrgsDesc(resource_name: str,
                           args: AuthorizedOrgsDescArgs,
                           opts: Optional[ResourceOptions] = None)
    func NewAuthorizedOrgsDesc(ctx *Context, name string, args AuthorizedOrgsDescArgs, opts ...ResourceOption) (*AuthorizedOrgsDesc, error)
    public AuthorizedOrgsDesc(string name, AuthorizedOrgsDescArgs args, CustomResourceOptions? opts = null)
    public AuthorizedOrgsDesc(String name, AuthorizedOrgsDescArgs args)
    public AuthorizedOrgsDesc(String name, AuthorizedOrgsDescArgs args, CustomResourceOptions options)
    
    type: google-native:accesscontextmanager/v1:AuthorizedOrgsDesc
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AuthorizedOrgsDescArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AuthorizedOrgsDescArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AuthorizedOrgsDescArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuthorizedOrgsDescArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuthorizedOrgsDescArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AuthorizedOrgsDesc Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AuthorizedOrgsDesc resource accepts the following input properties:

    AccessPolicyId string
    AssetType Pulumi.GoogleNative.AccessContextManager.V1.AuthorizedOrgsDescAssetType

    The asset type of this authorized orgs desc. Valid values are ASSET_TYPE_DEVICE, and ASSET_TYPE_CREDENTIAL_STRENGTH.

    AuthorizationDirection Pulumi.GoogleNative.AccessContextManager.V1.AuthorizedOrgsDescAuthorizationDirection

    The direction of the authorization relationship between this organization and the organizations listed in the orgs field. The valid values for this field include the following: AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic in the organizations listed in the orgs field. AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the orgs field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying AUTHORIZATION_DIRECTION_TO as the authorization direction, organizations B and C must specify AUTHORIZATION_DIRECTION_FROM as the authorization direction in their AuthorizedOrgsDesc resource.

    AuthorizationType Pulumi.GoogleNative.AccessContextManager.V1.AuthorizedOrgsDescAuthorizationType

    A granular control type for authorization levels. Valid value is AUTHORIZATION_TYPE_TRUST.

    Name string

    Resource name for the AuthorizedOrgsDesc. Format: accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}. The authorized_orgs_desc component must begin with a letter, followed by alphanumeric characters or _. After you create an AuthorizedOrgsDesc, you cannot change its name.

    Orgs List<string>

    The list of organization ids in this AuthorizedOrgsDesc. Format: organizations/ Example: organizations/123456

    AccessPolicyId string
    AssetType AuthorizedOrgsDescAssetType

    The asset type of this authorized orgs desc. Valid values are ASSET_TYPE_DEVICE, and ASSET_TYPE_CREDENTIAL_STRENGTH.

    AuthorizationDirection AuthorizedOrgsDescAuthorizationDirection

    The direction of the authorization relationship between this organization and the organizations listed in the orgs field. The valid values for this field include the following: AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic in the organizations listed in the orgs field. AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the orgs field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying AUTHORIZATION_DIRECTION_TO as the authorization direction, organizations B and C must specify AUTHORIZATION_DIRECTION_FROM as the authorization direction in their AuthorizedOrgsDesc resource.

    AuthorizationType AuthorizedOrgsDescAuthorizationType

    A granular control type for authorization levels. Valid value is AUTHORIZATION_TYPE_TRUST.

    Name string

    Resource name for the AuthorizedOrgsDesc. Format: accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}. The authorized_orgs_desc component must begin with a letter, followed by alphanumeric characters or _. After you create an AuthorizedOrgsDesc, you cannot change its name.

    Orgs []string

    The list of organization ids in this AuthorizedOrgsDesc. Format: organizations/ Example: organizations/123456

    accessPolicyId String
    assetType AuthorizedOrgsDescAssetType

    The asset type of this authorized orgs desc. Valid values are ASSET_TYPE_DEVICE, and ASSET_TYPE_CREDENTIAL_STRENGTH.

    authorizationDirection AuthorizedOrgsDescAuthorizationDirection

    The direction of the authorization relationship between this organization and the organizations listed in the orgs field. The valid values for this field include the following: AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic in the organizations listed in the orgs field. AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the orgs field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying AUTHORIZATION_DIRECTION_TO as the authorization direction, organizations B and C must specify AUTHORIZATION_DIRECTION_FROM as the authorization direction in their AuthorizedOrgsDesc resource.

    authorizationType AuthorizedOrgsDescAuthorizationType

    A granular control type for authorization levels. Valid value is AUTHORIZATION_TYPE_TRUST.

    name String

    Resource name for the AuthorizedOrgsDesc. Format: accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}. The authorized_orgs_desc component must begin with a letter, followed by alphanumeric characters or _. After you create an AuthorizedOrgsDesc, you cannot change its name.

    orgs List<String>

    The list of organization ids in this AuthorizedOrgsDesc. Format: organizations/ Example: organizations/123456

    accessPolicyId string
    assetType AuthorizedOrgsDescAssetType

    The asset type of this authorized orgs desc. Valid values are ASSET_TYPE_DEVICE, and ASSET_TYPE_CREDENTIAL_STRENGTH.

    authorizationDirection AuthorizedOrgsDescAuthorizationDirection

    The direction of the authorization relationship between this organization and the organizations listed in the orgs field. The valid values for this field include the following: AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic in the organizations listed in the orgs field. AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the orgs field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying AUTHORIZATION_DIRECTION_TO as the authorization direction, organizations B and C must specify AUTHORIZATION_DIRECTION_FROM as the authorization direction in their AuthorizedOrgsDesc resource.

    authorizationType AuthorizedOrgsDescAuthorizationType

    A granular control type for authorization levels. Valid value is AUTHORIZATION_TYPE_TRUST.

    name string

    Resource name for the AuthorizedOrgsDesc. Format: accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}. The authorized_orgs_desc component must begin with a letter, followed by alphanumeric characters or _. After you create an AuthorizedOrgsDesc, you cannot change its name.

    orgs string[]

    The list of organization ids in this AuthorizedOrgsDesc. Format: organizations/ Example: organizations/123456

    access_policy_id str
    asset_type AuthorizedOrgsDescAssetType

    The asset type of this authorized orgs desc. Valid values are ASSET_TYPE_DEVICE, and ASSET_TYPE_CREDENTIAL_STRENGTH.

    authorization_direction AuthorizedOrgsDescAuthorizationDirection

    The direction of the authorization relationship between this organization and the organizations listed in the orgs field. The valid values for this field include the following: AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic in the organizations listed in the orgs field. AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the orgs field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying AUTHORIZATION_DIRECTION_TO as the authorization direction, organizations B and C must specify AUTHORIZATION_DIRECTION_FROM as the authorization direction in their AuthorizedOrgsDesc resource.

    authorization_type AuthorizedOrgsDescAuthorizationType

    A granular control type for authorization levels. Valid value is AUTHORIZATION_TYPE_TRUST.

    name str

    Resource name for the AuthorizedOrgsDesc. Format: accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}. The authorized_orgs_desc component must begin with a letter, followed by alphanumeric characters or _. After you create an AuthorizedOrgsDesc, you cannot change its name.

    orgs Sequence[str]

    The list of organization ids in this AuthorizedOrgsDesc. Format: organizations/ Example: organizations/123456

    accessPolicyId String
    assetType "ASSET_TYPE_UNSPECIFIED" | "ASSET_TYPE_DEVICE" | "ASSET_TYPE_CREDENTIAL_STRENGTH"

    The asset type of this authorized orgs desc. Valid values are ASSET_TYPE_DEVICE, and ASSET_TYPE_CREDENTIAL_STRENGTH.

    authorizationDirection "AUTHORIZATION_DIRECTION_UNSPECIFIED" | "AUTHORIZATION_DIRECTION_TO" | "AUTHORIZATION_DIRECTION_FROM"

    The direction of the authorization relationship between this organization and the organizations listed in the orgs field. The valid values for this field include the following: AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic in the organizations listed in the orgs field. AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the orgs field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying AUTHORIZATION_DIRECTION_TO as the authorization direction, organizations B and C must specify AUTHORIZATION_DIRECTION_FROM as the authorization direction in their AuthorizedOrgsDesc resource.

    authorizationType "AUTHORIZATION_TYPE_UNSPECIFIED" | "AUTHORIZATION_TYPE_TRUST"

    A granular control type for authorization levels. Valid value is AUTHORIZATION_TYPE_TRUST.

    name String

    Resource name for the AuthorizedOrgsDesc. Format: accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}. The authorized_orgs_desc component must begin with a letter, followed by alphanumeric characters or _. After you create an AuthorizedOrgsDesc, you cannot change its name.

    orgs List<String>

    The list of organization ids in this AuthorizedOrgsDesc. Format: organizations/ Example: organizations/123456

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AuthorizedOrgsDesc resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Supporting Types

    AuthorizedOrgsDescAssetType, AuthorizedOrgsDescAssetTypeArgs

    AssetTypeUnspecified
    ASSET_TYPE_UNSPECIFIED

    No asset type specified.

    AssetTypeDevice
    ASSET_TYPE_DEVICE

    Device asset type.

    AssetTypeCredentialStrength
    ASSET_TYPE_CREDENTIAL_STRENGTH

    Credential strength asset type.

    AuthorizedOrgsDescAssetTypeAssetTypeUnspecified
    ASSET_TYPE_UNSPECIFIED

    No asset type specified.

    AuthorizedOrgsDescAssetTypeAssetTypeDevice
    ASSET_TYPE_DEVICE

    Device asset type.

    AuthorizedOrgsDescAssetTypeAssetTypeCredentialStrength
    ASSET_TYPE_CREDENTIAL_STRENGTH

    Credential strength asset type.

    AssetTypeUnspecified
    ASSET_TYPE_UNSPECIFIED

    No asset type specified.

    AssetTypeDevice
    ASSET_TYPE_DEVICE

    Device asset type.

    AssetTypeCredentialStrength
    ASSET_TYPE_CREDENTIAL_STRENGTH

    Credential strength asset type.

    AssetTypeUnspecified
    ASSET_TYPE_UNSPECIFIED

    No asset type specified.

    AssetTypeDevice
    ASSET_TYPE_DEVICE

    Device asset type.

    AssetTypeCredentialStrength
    ASSET_TYPE_CREDENTIAL_STRENGTH

    Credential strength asset type.

    ASSET_TYPE_UNSPECIFIED
    ASSET_TYPE_UNSPECIFIED

    No asset type specified.

    ASSET_TYPE_DEVICE
    ASSET_TYPE_DEVICE

    Device asset type.

    ASSET_TYPE_CREDENTIAL_STRENGTH
    ASSET_TYPE_CREDENTIAL_STRENGTH

    Credential strength asset type.

    "ASSET_TYPE_UNSPECIFIED"
    ASSET_TYPE_UNSPECIFIED

    No asset type specified.

    "ASSET_TYPE_DEVICE"
    ASSET_TYPE_DEVICE

    Device asset type.

    "ASSET_TYPE_CREDENTIAL_STRENGTH"
    ASSET_TYPE_CREDENTIAL_STRENGTH

    Credential strength asset type.

    AuthorizedOrgsDescAuthorizationDirection, AuthorizedOrgsDescAuthorizationDirectionArgs

    AuthorizationDirectionUnspecified
    AUTHORIZATION_DIRECTION_UNSPECIFIED

    No direction specified.

    AuthorizationDirectionTo
    AUTHORIZATION_DIRECTION_TO

    The specified organizations are authorized to evaluate traffic in this organization.

    AuthorizationDirectionFrom
    AUTHORIZATION_DIRECTION_FROM

    The traffic of the specified organizations can be evaluated by this organization.

    AuthorizedOrgsDescAuthorizationDirectionAuthorizationDirectionUnspecified
    AUTHORIZATION_DIRECTION_UNSPECIFIED

    No direction specified.

    AuthorizedOrgsDescAuthorizationDirectionAuthorizationDirectionTo
    AUTHORIZATION_DIRECTION_TO

    The specified organizations are authorized to evaluate traffic in this organization.

    AuthorizedOrgsDescAuthorizationDirectionAuthorizationDirectionFrom
    AUTHORIZATION_DIRECTION_FROM

    The traffic of the specified organizations can be evaluated by this organization.

    AuthorizationDirectionUnspecified
    AUTHORIZATION_DIRECTION_UNSPECIFIED

    No direction specified.

    AuthorizationDirectionTo
    AUTHORIZATION_DIRECTION_TO

    The specified organizations are authorized to evaluate traffic in this organization.

    AuthorizationDirectionFrom
    AUTHORIZATION_DIRECTION_FROM

    The traffic of the specified organizations can be evaluated by this organization.

    AuthorizationDirectionUnspecified
    AUTHORIZATION_DIRECTION_UNSPECIFIED

    No direction specified.

    AuthorizationDirectionTo
    AUTHORIZATION_DIRECTION_TO

    The specified organizations are authorized to evaluate traffic in this organization.

    AuthorizationDirectionFrom
    AUTHORIZATION_DIRECTION_FROM

    The traffic of the specified organizations can be evaluated by this organization.

    AUTHORIZATION_DIRECTION_UNSPECIFIED
    AUTHORIZATION_DIRECTION_UNSPECIFIED

    No direction specified.

    AUTHORIZATION_DIRECTION_TO
    AUTHORIZATION_DIRECTION_TO

    The specified organizations are authorized to evaluate traffic in this organization.

    AUTHORIZATION_DIRECTION_FROM
    AUTHORIZATION_DIRECTION_FROM

    The traffic of the specified organizations can be evaluated by this organization.

    "AUTHORIZATION_DIRECTION_UNSPECIFIED"
    AUTHORIZATION_DIRECTION_UNSPECIFIED

    No direction specified.

    "AUTHORIZATION_DIRECTION_TO"
    AUTHORIZATION_DIRECTION_TO

    The specified organizations are authorized to evaluate traffic in this organization.

    "AUTHORIZATION_DIRECTION_FROM"
    AUTHORIZATION_DIRECTION_FROM

    The traffic of the specified organizations can be evaluated by this organization.

    AuthorizedOrgsDescAuthorizationType, AuthorizedOrgsDescAuthorizationTypeArgs

    AuthorizationTypeUnspecified
    AUTHORIZATION_TYPE_UNSPECIFIED

    No authorization type specified.

    AuthorizationTypeTrust
    AUTHORIZATION_TYPE_TRUST

    This authorization relationship is "trust".

    AuthorizedOrgsDescAuthorizationTypeAuthorizationTypeUnspecified
    AUTHORIZATION_TYPE_UNSPECIFIED

    No authorization type specified.

    AuthorizedOrgsDescAuthorizationTypeAuthorizationTypeTrust
    AUTHORIZATION_TYPE_TRUST

    This authorization relationship is "trust".

    AuthorizationTypeUnspecified
    AUTHORIZATION_TYPE_UNSPECIFIED

    No authorization type specified.

    AuthorizationTypeTrust
    AUTHORIZATION_TYPE_TRUST

    This authorization relationship is "trust".

    AuthorizationTypeUnspecified
    AUTHORIZATION_TYPE_UNSPECIFIED

    No authorization type specified.

    AuthorizationTypeTrust
    AUTHORIZATION_TYPE_TRUST

    This authorization relationship is "trust".

    AUTHORIZATION_TYPE_UNSPECIFIED
    AUTHORIZATION_TYPE_UNSPECIFIED

    No authorization type specified.

    AUTHORIZATION_TYPE_TRUST
    AUTHORIZATION_TYPE_TRUST

    This authorization relationship is "trust".

    "AUTHORIZATION_TYPE_UNSPECIFIED"
    AUTHORIZATION_TYPE_UNSPECIFIED

    No authorization type specified.

    "AUTHORIZATION_TYPE_TRUST"
    AUTHORIZATION_TYPE_TRUST

    This authorization relationship is "trust".

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi