Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.accesscontextmanager/v1.AuthorizedOrgsDesc
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthorizedOrgsDesc(name: string, args: AuthorizedOrgsDescArgs, opts?: CustomResourceOptions);
@overload
def AuthorizedOrgsDesc(resource_name: str,
args: AuthorizedOrgsDescArgs,
opts: Optional[ResourceOptions] = None)
@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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var authorizedOrgsDescResource = new GoogleNative.AccessContextManager.V1.AuthorizedOrgsDesc("authorizedOrgsDescResource", new()
{
AccessPolicyId = "string",
AssetType = GoogleNative.AccessContextManager.V1.AuthorizedOrgsDescAssetType.AssetTypeUnspecified,
AuthorizationDirection = GoogleNative.AccessContextManager.V1.AuthorizedOrgsDescAuthorizationDirection.AuthorizationDirectionUnspecified,
AuthorizationType = GoogleNative.AccessContextManager.V1.AuthorizedOrgsDescAuthorizationType.AuthorizationTypeUnspecified,
Name = "string",
Orgs = new[]
{
"string",
},
});
example, err := accesscontextmanager.NewAuthorizedOrgsDesc(ctx, "authorizedOrgsDescResource", &accesscontextmanager.AuthorizedOrgsDescArgs{
AccessPolicyId: pulumi.String("string"),
AssetType: accesscontextmanager.AuthorizedOrgsDescAssetTypeAssetTypeUnspecified,
AuthorizationDirection: accesscontextmanager.AuthorizedOrgsDescAuthorizationDirectionAuthorizationDirectionUnspecified,
AuthorizationType: accesscontextmanager.AuthorizedOrgsDescAuthorizationTypeAuthorizationTypeUnspecified,
Name: pulumi.String("string"),
Orgs: pulumi.StringArray{
pulumi.String("string"),
},
})
var authorizedOrgsDescResource = new AuthorizedOrgsDesc("authorizedOrgsDescResource", AuthorizedOrgsDescArgs.builder()
.accessPolicyId("string")
.assetType("ASSET_TYPE_UNSPECIFIED")
.authorizationDirection("AUTHORIZATION_DIRECTION_UNSPECIFIED")
.authorizationType("AUTHORIZATION_TYPE_UNSPECIFIED")
.name("string")
.orgs("string")
.build());
authorized_orgs_desc_resource = google_native.accesscontextmanager.v1.AuthorizedOrgsDesc("authorizedOrgsDescResource",
access_policy_id="string",
asset_type=google_native.accesscontextmanager.v1.AuthorizedOrgsDescAssetType.ASSET_TYPE_UNSPECIFIED,
authorization_direction=google_native.accesscontextmanager.v1.AuthorizedOrgsDescAuthorizationDirection.AUTHORIZATION_DIRECTION_UNSPECIFIED,
authorization_type=google_native.accesscontextmanager.v1.AuthorizedOrgsDescAuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED,
name="string",
orgs=["string"])
const authorizedOrgsDescResource = new google_native.accesscontextmanager.v1.AuthorizedOrgsDesc("authorizedOrgsDescResource", {
accessPolicyId: "string",
assetType: google_native.accesscontextmanager.v1.AuthorizedOrgsDescAssetType.AssetTypeUnspecified,
authorizationDirection: google_native.accesscontextmanager.v1.AuthorizedOrgsDescAuthorizationDirection.AuthorizationDirectionUnspecified,
authorizationType: google_native.accesscontextmanager.v1.AuthorizedOrgsDescAuthorizationType.AuthorizationTypeUnspecified,
name: "string",
orgs: ["string"],
});
type: google-native:accesscontextmanager/v1:AuthorizedOrgsDesc
properties:
accessPolicyId: string
assetType: ASSET_TYPE_UNSPECIFIED
authorizationDirection: AUTHORIZATION_DIRECTION_UNSPECIFIED
authorizationType: AUTHORIZATION_TYPE_UNSPECIFIED
name: string
orgs:
- string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AuthorizedOrgsDesc resource accepts the following input properties:
- Access
Policy stringId - Asset
Type Pulumi.Google Native. Access Context Manager. V1. Authorized Orgs Desc Asset Type - The asset type of this authorized orgs desc. Valid values are
ASSET_TYPE_DEVICE
, andASSET_TYPE_CREDENTIAL_STRENGTH
. - Pulumi.
Google Native. Access Context Manager. V1. Authorized Orgs Desc Authorization Direction - 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 theorgs
field.AUTHORIZATION_DIRECTION_TO
: Allows the organizations listed in theorgs
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 specifyingAUTHORIZATION_DIRECTION_TO
as the authorization direction, organizations B and C must specifyAUTHORIZATION_DIRECTION_FROM
as the authorization direction in theirAuthorizedOrgsDesc
resource. - Pulumi.
Google Native. Access Context Manager. V1. Authorized Orgs Desc Authorization Type - 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}
. Theauthorized_orgs_desc
component must begin with a letter, followed by alphanumeric characters or_
. After you create anAuthorizedOrgsDesc
, you cannot change itsname
. - Orgs List<string>
- The list of organization ids in this AuthorizedOrgsDesc. Format:
organizations/
Example:organizations/123456
- Access
Policy stringId - Asset
Type AuthorizedOrgs Desc Asset Type - The asset type of this authorized orgs desc. Valid values are
ASSET_TYPE_DEVICE
, andASSET_TYPE_CREDENTIAL_STRENGTH
. - Authorized
Orgs Desc Authorization Direction - 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 theorgs
field.AUTHORIZATION_DIRECTION_TO
: Allows the organizations listed in theorgs
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 specifyingAUTHORIZATION_DIRECTION_TO
as the authorization direction, organizations B and C must specifyAUTHORIZATION_DIRECTION_FROM
as the authorization direction in theirAuthorizedOrgsDesc
resource. - Authorized
Orgs Desc Authorization Type - 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}
. Theauthorized_orgs_desc
component must begin with a letter, followed by alphanumeric characters or_
. After you create anAuthorizedOrgsDesc
, you cannot change itsname
. - Orgs []string
- The list of organization ids in this AuthorizedOrgsDesc. Format:
organizations/
Example:organizations/123456
- access
Policy StringId - asset
Type AuthorizedOrgs Desc Asset Type - The asset type of this authorized orgs desc. Valid values are
ASSET_TYPE_DEVICE
, andASSET_TYPE_CREDENTIAL_STRENGTH
. - Authorized
Orgs Desc Authorization Direction - 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 theorgs
field.AUTHORIZATION_DIRECTION_TO
: Allows the organizations listed in theorgs
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 specifyingAUTHORIZATION_DIRECTION_TO
as the authorization direction, organizations B and C must specifyAUTHORIZATION_DIRECTION_FROM
as the authorization direction in theirAuthorizedOrgsDesc
resource. - Authorized
Orgs Desc Authorization Type - 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}
. Theauthorized_orgs_desc
component must begin with a letter, followed by alphanumeric characters or_
. After you create anAuthorizedOrgsDesc
, you cannot change itsname
. - orgs List<String>
- The list of organization ids in this AuthorizedOrgsDesc. Format:
organizations/
Example:organizations/123456
- access
Policy stringId - asset
Type AuthorizedOrgs Desc Asset Type - The asset type of this authorized orgs desc. Valid values are
ASSET_TYPE_DEVICE
, andASSET_TYPE_CREDENTIAL_STRENGTH
. - Authorized
Orgs Desc Authorization Direction - 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 theorgs
field.AUTHORIZATION_DIRECTION_TO
: Allows the organizations listed in theorgs
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 specifyingAUTHORIZATION_DIRECTION_TO
as the authorization direction, organizations B and C must specifyAUTHORIZATION_DIRECTION_FROM
as the authorization direction in theirAuthorizedOrgsDesc
resource. - Authorized
Orgs Desc Authorization Type - 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}
. Theauthorized_orgs_desc
component must begin with a letter, followed by alphanumeric characters or_
. After you create anAuthorizedOrgsDesc
, you cannot change itsname
. - orgs string[]
- The list of organization ids in this AuthorizedOrgsDesc. Format:
organizations/
Example:organizations/123456
- access_
policy_ strid - asset_
type AuthorizedOrgs Desc Asset Type - The asset type of this authorized orgs desc. Valid values are
ASSET_TYPE_DEVICE
, andASSET_TYPE_CREDENTIAL_STRENGTH
. - Authorized
Orgs Desc Authorization Direction - 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 theorgs
field.AUTHORIZATION_DIRECTION_TO
: Allows the organizations listed in theorgs
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 specifyingAUTHORIZATION_DIRECTION_TO
as the authorization direction, organizations B and C must specifyAUTHORIZATION_DIRECTION_FROM
as the authorization direction in theirAuthorizedOrgsDesc
resource. - Authorized
Orgs Desc Authorization Type - 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}
. Theauthorized_orgs_desc
component must begin with a letter, followed by alphanumeric characters or_
. After you create anAuthorizedOrgsDesc
, you cannot change itsname
. - orgs Sequence[str]
- The list of organization ids in this AuthorizedOrgsDesc. Format:
organizations/
Example:organizations/123456
- access
Policy StringId - asset
Type "ASSET_TYPE_UNSPECIFIED" | "ASSET_TYPE_DEVICE" | "ASSET_TYPE_CREDENTIAL_STRENGTH" - The asset type of this authorized orgs desc. Valid values are
ASSET_TYPE_DEVICE
, andASSET_TYPE_CREDENTIAL_STRENGTH
. - "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 theorgs
field.AUTHORIZATION_DIRECTION_TO
: Allows the organizations listed in theorgs
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 specifyingAUTHORIZATION_DIRECTION_TO
as the authorization direction, organizations B and C must specifyAUTHORIZATION_DIRECTION_FROM
as the authorization direction in theirAuthorizedOrgsDesc
resource. - "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}
. Theauthorized_orgs_desc
component must begin with a letter, followed by alphanumeric characters or_
. After you create anAuthorizedOrgsDesc
, you cannot change itsname
. - 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
- Asset
Type Unspecified - ASSET_TYPE_UNSPECIFIEDNo asset type specified.
- Asset
Type Device - ASSET_TYPE_DEVICEDevice asset type.
- Asset
Type Credential Strength - ASSET_TYPE_CREDENTIAL_STRENGTHCredential strength asset type.
- Authorized
Orgs Desc Asset Type Asset Type Unspecified - ASSET_TYPE_UNSPECIFIEDNo asset type specified.
- Authorized
Orgs Desc Asset Type Asset Type Device - ASSET_TYPE_DEVICEDevice asset type.
- Authorized
Orgs Desc Asset Type Asset Type Credential Strength - ASSET_TYPE_CREDENTIAL_STRENGTHCredential strength asset type.
- Asset
Type Unspecified - ASSET_TYPE_UNSPECIFIEDNo asset type specified.
- Asset
Type Device - ASSET_TYPE_DEVICEDevice asset type.
- Asset
Type Credential Strength - ASSET_TYPE_CREDENTIAL_STRENGTHCredential strength asset type.
- Asset
Type Unspecified - ASSET_TYPE_UNSPECIFIEDNo asset type specified.
- Asset
Type Device - ASSET_TYPE_DEVICEDevice asset type.
- Asset
Type Credential Strength - ASSET_TYPE_CREDENTIAL_STRENGTHCredential strength asset type.
- ASSET_TYPE_UNSPECIFIED
- ASSET_TYPE_UNSPECIFIEDNo asset type specified.
- ASSET_TYPE_DEVICE
- ASSET_TYPE_DEVICEDevice asset type.
- ASSET_TYPE_CREDENTIAL_STRENGTH
- ASSET_TYPE_CREDENTIAL_STRENGTHCredential strength asset type.
- "ASSET_TYPE_UNSPECIFIED"
- ASSET_TYPE_UNSPECIFIEDNo asset type specified.
- "ASSET_TYPE_DEVICE"
- ASSET_TYPE_DEVICEDevice asset type.
- "ASSET_TYPE_CREDENTIAL_STRENGTH"
- ASSET_TYPE_CREDENTIAL_STRENGTHCredential strength asset type.
AuthorizedOrgsDescAuthorizationDirection, AuthorizedOrgsDescAuthorizationDirectionArgs
- Authorization
Direction Unspecified - AUTHORIZATION_DIRECTION_UNSPECIFIEDNo direction specified.
- Authorization
Direction To - AUTHORIZATION_DIRECTION_TOThe specified organizations are authorized to evaluate traffic in this organization.
- Authorization
Direction From - AUTHORIZATION_DIRECTION_FROMThe traffic of the specified organizations can be evaluated by this organization.
- Authorized
Orgs Desc Authorization Direction Authorization Direction Unspecified - AUTHORIZATION_DIRECTION_UNSPECIFIEDNo direction specified.
- Authorized
Orgs Desc Authorization Direction Authorization Direction To - AUTHORIZATION_DIRECTION_TOThe specified organizations are authorized to evaluate traffic in this organization.
- Authorized
Orgs Desc Authorization Direction Authorization Direction From - AUTHORIZATION_DIRECTION_FROMThe traffic of the specified organizations can be evaluated by this organization.
- Authorization
Direction Unspecified - AUTHORIZATION_DIRECTION_UNSPECIFIEDNo direction specified.
- Authorization
Direction To - AUTHORIZATION_DIRECTION_TOThe specified organizations are authorized to evaluate traffic in this organization.
- Authorization
Direction From - AUTHORIZATION_DIRECTION_FROMThe traffic of the specified organizations can be evaluated by this organization.
- Authorization
Direction Unspecified - AUTHORIZATION_DIRECTION_UNSPECIFIEDNo direction specified.
- Authorization
Direction To - AUTHORIZATION_DIRECTION_TOThe specified organizations are authorized to evaluate traffic in this organization.
- Authorization
Direction From - AUTHORIZATION_DIRECTION_FROMThe traffic of the specified organizations can be evaluated by this organization.
- AUTHORIZATION_DIRECTION_UNSPECIFIED
- AUTHORIZATION_DIRECTION_UNSPECIFIEDNo direction specified.
- AUTHORIZATION_DIRECTION_TO
- AUTHORIZATION_DIRECTION_TOThe specified organizations are authorized to evaluate traffic in this organization.
- AUTHORIZATION_DIRECTION_FROM
- AUTHORIZATION_DIRECTION_FROMThe traffic of the specified organizations can be evaluated by this organization.
- "AUTHORIZATION_DIRECTION_UNSPECIFIED"
- AUTHORIZATION_DIRECTION_UNSPECIFIEDNo direction specified.
- "AUTHORIZATION_DIRECTION_TO"
- AUTHORIZATION_DIRECTION_TOThe specified organizations are authorized to evaluate traffic in this organization.
- "AUTHORIZATION_DIRECTION_FROM"
- AUTHORIZATION_DIRECTION_FROMThe traffic of the specified organizations can be evaluated by this organization.
AuthorizedOrgsDescAuthorizationType, AuthorizedOrgsDescAuthorizationTypeArgs
- Authorization
Type Unspecified - AUTHORIZATION_TYPE_UNSPECIFIEDNo authorization type specified.
- Authorization
Type Trust - AUTHORIZATION_TYPE_TRUSTThis authorization relationship is "trust".
- Authorized
Orgs Desc Authorization Type Authorization Type Unspecified - AUTHORIZATION_TYPE_UNSPECIFIEDNo authorization type specified.
- Authorized
Orgs Desc Authorization Type Authorization Type Trust - AUTHORIZATION_TYPE_TRUSTThis authorization relationship is "trust".
- Authorization
Type Unspecified - AUTHORIZATION_TYPE_UNSPECIFIEDNo authorization type specified.
- Authorization
Type Trust - AUTHORIZATION_TYPE_TRUSTThis authorization relationship is "trust".
- Authorization
Type Unspecified - AUTHORIZATION_TYPE_UNSPECIFIEDNo authorization type specified.
- Authorization
Type Trust - AUTHORIZATION_TYPE_TRUSTThis authorization relationship is "trust".
- AUTHORIZATION_TYPE_UNSPECIFIED
- AUTHORIZATION_TYPE_UNSPECIFIEDNo authorization type specified.
- AUTHORIZATION_TYPE_TRUST
- AUTHORIZATION_TYPE_TRUSTThis authorization relationship is "trust".
- "AUTHORIZATION_TYPE_UNSPECIFIED"
- AUTHORIZATION_TYPE_UNSPECIFIEDNo authorization type specified.
- "AUTHORIZATION_TYPE_TRUST"
- AUTHORIZATION_TYPE_TRUSTThis authorization relationship is "trust".
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.