1. Packages
  2. Google Cloud Native
  3. API Docs
  4. beyondcorp
  5. beyondcorp/v1alpha
  6. Subscription

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.beyondcorp/v1alpha.Subscription

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 a new BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

    Create Subscription Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Subscription(name: string, args: SubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def Subscription(resource_name: str,
                     args: SubscriptionArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Subscription(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     organization_id: Optional[str] = None,
                     sku: Optional[SubscriptionSku] = None,
                     type: Optional[SubscriptionType] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     seat_count: Optional[str] = None)
    func NewSubscription(ctx *Context, name string, args SubscriptionArgs, opts ...ResourceOption) (*Subscription, error)
    public Subscription(string name, SubscriptionArgs args, CustomResourceOptions? opts = null)
    public Subscription(String name, SubscriptionArgs args)
    public Subscription(String name, SubscriptionArgs args, CustomResourceOptions options)
    
    type: google-native:beyondcorp/v1alpha:Subscription
    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 SubscriptionArgs
    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 SubscriptionArgs
    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 SubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SubscriptionArgs
    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 google_nativeSubscriptionResource = new GoogleNative.BeyondCorp.V1Alpha.Subscription("google-nativeSubscriptionResource", new()
    {
        OrganizationId = "string",
        Sku = GoogleNative.BeyondCorp.V1Alpha.SubscriptionSku.SkuUnspecified,
        Type = GoogleNative.BeyondCorp.V1Alpha.SubscriptionType.TypeUnspecified,
        Location = "string",
        Name = "string",
        SeatCount = "string",
    });
    
    example, err := beyondcorpv1alpha.NewSubscription(ctx, "google-nativeSubscriptionResource", &beyondcorpv1alpha.SubscriptionArgs{
    	OrganizationId: pulumi.String("string"),
    	Sku:            beyondcorpv1alpha.SubscriptionSkuSkuUnspecified,
    	Type:           beyondcorpv1alpha.SubscriptionTypeTypeUnspecified,
    	Location:       pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	SeatCount:      pulumi.String("string"),
    })
    
    var google_nativeSubscriptionResource = new Subscription("google-nativeSubscriptionResource", SubscriptionArgs.builder()
        .organizationId("string")
        .sku("SKU_UNSPECIFIED")
        .type("TYPE_UNSPECIFIED")
        .location("string")
        .name("string")
        .seatCount("string")
        .build());
    
    google_native_subscription_resource = google_native.beyondcorp.v1alpha.Subscription("google-nativeSubscriptionResource",
        organization_id="string",
        sku=google_native.beyondcorp.v1alpha.SubscriptionSku.SKU_UNSPECIFIED,
        type=google_native.beyondcorp.v1alpha.SubscriptionType.TYPE_UNSPECIFIED,
        location="string",
        name="string",
        seat_count="string")
    
    const google_nativeSubscriptionResource = new google_native.beyondcorp.v1alpha.Subscription("google-nativeSubscriptionResource", {
        organizationId: "string",
        sku: google_native.beyondcorp.v1alpha.SubscriptionSku.SkuUnspecified,
        type: google_native.beyondcorp.v1alpha.SubscriptionType.TypeUnspecified,
        location: "string",
        name: "string",
        seatCount: "string",
    });
    
    type: google-native:beyondcorp/v1alpha:Subscription
    properties:
        location: string
        name: string
        organizationId: string
        seatCount: string
        sku: SKU_UNSPECIFIED
        type: TYPE_UNSPECIFIED
    

    Subscription 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 Subscription resource accepts the following input properties:

    OrganizationId string
    Sku Pulumi.GoogleNative.BeyondCorp.V1Alpha.SubscriptionSku
    SKU of subscription.
    Type Pulumi.GoogleNative.BeyondCorp.V1Alpha.SubscriptionType
    Type of subscription.
    Location string
    Name string
    Unique resource name of the Subscription. The name is ignored when creating a subscription.
    SeatCount string
    Optional. Number of seats in the subscription.
    OrganizationId string
    Sku SubscriptionSku
    SKU of subscription.
    Type SubscriptionType
    Type of subscription.
    Location string
    Name string
    Unique resource name of the Subscription. The name is ignored when creating a subscription.
    SeatCount string
    Optional. Number of seats in the subscription.
    organizationId String
    sku SubscriptionSku
    SKU of subscription.
    type SubscriptionType
    Type of subscription.
    location String
    name String
    Unique resource name of the Subscription. The name is ignored when creating a subscription.
    seatCount String
    Optional. Number of seats in the subscription.
    organizationId string
    sku SubscriptionSku
    SKU of subscription.
    type SubscriptionType
    Type of subscription.
    location string
    name string
    Unique resource name of the Subscription. The name is ignored when creating a subscription.
    seatCount string
    Optional. Number of seats in the subscription.
    organization_id str
    sku SubscriptionSku
    SKU of subscription.
    type SubscriptionType
    Type of subscription.
    location str
    name str
    Unique resource name of the Subscription. The name is ignored when creating a subscription.
    seat_count str
    Optional. Number of seats in the subscription.
    organizationId String
    sku "SKU_UNSPECIFIED" | "BCE_STANDARD_SKU"
    SKU of subscription.
    type "TYPE_UNSPECIFIED" | "TRIAL" | "PAID" | "ALLOWLIST"
    Type of subscription.
    location String
    name String
    Unique resource name of the Subscription. The name is ignored when creating a subscription.
    seatCount String
    Optional. Number of seats in the subscription.

    Outputs

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

    AutoRenewEnabled bool
    Represents that, if subscription will renew or end when the term ends.
    CreateTime string
    Create time of the subscription.
    EndTime string
    End time of the subscription.
    Id string
    The provider-assigned unique ID for this managed resource.
    StartTime string
    Start time of the subscription.
    State string
    The current state of the subscription.
    AutoRenewEnabled bool
    Represents that, if subscription will renew or end when the term ends.
    CreateTime string
    Create time of the subscription.
    EndTime string
    End time of the subscription.
    Id string
    The provider-assigned unique ID for this managed resource.
    StartTime string
    Start time of the subscription.
    State string
    The current state of the subscription.
    autoRenewEnabled Boolean
    Represents that, if subscription will renew or end when the term ends.
    createTime String
    Create time of the subscription.
    endTime String
    End time of the subscription.
    id String
    The provider-assigned unique ID for this managed resource.
    startTime String
    Start time of the subscription.
    state String
    The current state of the subscription.
    autoRenewEnabled boolean
    Represents that, if subscription will renew or end when the term ends.
    createTime string
    Create time of the subscription.
    endTime string
    End time of the subscription.
    id string
    The provider-assigned unique ID for this managed resource.
    startTime string
    Start time of the subscription.
    state string
    The current state of the subscription.
    auto_renew_enabled bool
    Represents that, if subscription will renew or end when the term ends.
    create_time str
    Create time of the subscription.
    end_time str
    End time of the subscription.
    id str
    The provider-assigned unique ID for this managed resource.
    start_time str
    Start time of the subscription.
    state str
    The current state of the subscription.
    autoRenewEnabled Boolean
    Represents that, if subscription will renew or end when the term ends.
    createTime String
    Create time of the subscription.
    endTime String
    End time of the subscription.
    id String
    The provider-assigned unique ID for this managed resource.
    startTime String
    Start time of the subscription.
    state String
    The current state of the subscription.

    Supporting Types

    SubscriptionSku, SubscriptionSkuArgs

    SkuUnspecified
    SKU_UNSPECIFIEDDefault value. This value is unused.
    BceStandardSku
    BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
    SubscriptionSkuSkuUnspecified
    SKU_UNSPECIFIEDDefault value. This value is unused.
    SubscriptionSkuBceStandardSku
    BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
    SkuUnspecified
    SKU_UNSPECIFIEDDefault value. This value is unused.
    BceStandardSku
    BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
    SkuUnspecified
    SKU_UNSPECIFIEDDefault value. This value is unused.
    BceStandardSku
    BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
    SKU_UNSPECIFIED
    SKU_UNSPECIFIEDDefault value. This value is unused.
    BCE_STANDARD_SKU
    BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
    "SKU_UNSPECIFIED"
    SKU_UNSPECIFIEDDefault value. This value is unused.
    "BCE_STANDARD_SKU"
    BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.

    SubscriptionType, SubscriptionTypeArgs

    TypeUnspecified
    TYPE_UNSPECIFIEDDefault value. This value is unused.
    Trial
    TRIALRepresents a trial subscription.
    Paid
    PAIDRepresents a paid subscription.
    Allowlist
    ALLOWLISTReresents an allowlisted subscription.
    SubscriptionTypeTypeUnspecified
    TYPE_UNSPECIFIEDDefault value. This value is unused.
    SubscriptionTypeTrial
    TRIALRepresents a trial subscription.
    SubscriptionTypePaid
    PAIDRepresents a paid subscription.
    SubscriptionTypeAllowlist
    ALLOWLISTReresents an allowlisted subscription.
    TypeUnspecified
    TYPE_UNSPECIFIEDDefault value. This value is unused.
    Trial
    TRIALRepresents a trial subscription.
    Paid
    PAIDRepresents a paid subscription.
    Allowlist
    ALLOWLISTReresents an allowlisted subscription.
    TypeUnspecified
    TYPE_UNSPECIFIEDDefault value. This value is unused.
    Trial
    TRIALRepresents a trial subscription.
    Paid
    PAIDRepresents a paid subscription.
    Allowlist
    ALLOWLISTReresents an allowlisted subscription.
    TYPE_UNSPECIFIED
    TYPE_UNSPECIFIEDDefault value. This value is unused.
    TRIAL
    TRIALRepresents a trial subscription.
    PAID
    PAIDRepresents a paid subscription.
    ALLOWLIST
    ALLOWLISTReresents an allowlisted subscription.
    "TYPE_UNSPECIFIED"
    TYPE_UNSPECIFIEDDefault value. This value is unused.
    "TRIAL"
    TRIALRepresents a trial subscription.
    "PAID"
    PAIDRepresents a paid subscription.
    "ALLOWLIST"
    ALLOWLISTReresents an allowlisted subscription.

    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