Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.beyondcorp/v1alpha.Subscription
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 com.pulumi.googlenative.beyondcorp_v1alpha.Subscription("google-nativeSubscriptionResource", com.pulumi.googlenative.beyondcorp_v1alpha.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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Subscription resource accepts the following input properties:
- OrganizationId string
- Sku
Pulumi.Google Native. Beyond Corp. V1Alpha. Subscription Sku 
- SKU of subscription.
- Type
Pulumi.Google Native. Beyond Corp. V1Alpha. Subscription Type 
- 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:
- AutoRenew boolEnabled 
- 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.
- AutoRenew boolEnabled 
- 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.
- autoRenew BooleanEnabled 
- 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.
- autoRenew booleanEnabled 
- 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_ boolenabled 
- 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.
- autoRenew BooleanEnabled 
- 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.
- BceStandard Sku 
- BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
- SubscriptionSku Sku Unspecified 
- SKU_UNSPECIFIEDDefault value. This value is unused.
- SubscriptionSku Bce Standard Sku 
- BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
- SkuUnspecified 
- SKU_UNSPECIFIEDDefault value. This value is unused.
- BceStandard Sku 
- BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
- SkuUnspecified 
- SKU_UNSPECIFIEDDefault value. This value is unused.
- BceStandard 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.
- "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.
- SubscriptionType Type Unspecified 
- TYPE_UNSPECIFIEDDefault value. This value is unused.
- SubscriptionType Trial 
- TRIALRepresents a trial subscription.
- SubscriptionType Paid 
- PAIDRepresents a paid subscription.
- SubscriptionType 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.
- 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 Cloud Native is in preview. Google Cloud Classic is fully supported.