import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; /** * 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. */ export declare class AuthorizedOrgsDesc extends pulumi.CustomResource { /** * Get an existing AuthorizedOrgsDesc resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AuthorizedOrgsDesc; /** * Returns true if the given object is an instance of AuthorizedOrgsDesc. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AuthorizedOrgsDesc; readonly accessPolicyId: pulumi.Output; /** * The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. */ readonly assetType: pulumi.Output; /** * 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. */ readonly authorizationDirection: pulumi.Output; /** * A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. */ readonly authorizationType: pulumi.Output; /** * 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`. */ readonly name: pulumi.Output; /** * The list of organization ids in this AuthorizedOrgsDesc. Format: `organizations/` Example: `organizations/123456` */ readonly orgs: pulumi.Output; /** * Create a AuthorizedOrgsDesc resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AuthorizedOrgsDescArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AuthorizedOrgsDesc resource. */ export interface AuthorizedOrgsDescArgs { accessPolicyId: pulumi.Input; /** * The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. */ assetType?: pulumi.Input; /** * 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. */ authorizationDirection?: pulumi.Input; /** * A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. */ authorizationType?: pulumi.Input; /** * 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`. */ name?: pulumi.Input; /** * The list of organization ids in this AuthorizedOrgsDesc. Format: `organizations/` Example: `organizations/123456` */ orgs?: pulumi.Input[]>; }