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 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:
- Organization
Id 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.
- Seat
Count string - Optional. Number of seats in the subscription.
- Organization
Id string - Sku
Subscription
Sku - SKU of subscription.
- Type
Subscription
Type - Type of subscription.
- Location string
- Name string
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- Seat
Count string - Optional. Number of seats in the subscription.
- organization
Id String - sku
Subscription
Sku - SKU of subscription.
- type
Subscription
Type - Type of subscription.
- location String
- name String
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seat
Count String - Optional. Number of seats in the subscription.
- organization
Id string - sku
Subscription
Sku - SKU of subscription.
- type
Subscription
Type - Type of subscription.
- location string
- name string
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seat
Count string - Optional. Number of seats in the subscription.
- organization_
id str - sku
Subscription
Sku - SKU of subscription.
- type
Subscription
Type - 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.
- organization
Id 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.
- seat
Count 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:
- Auto
Renew boolEnabled - Represents that, if subscription will renew or end when the term ends.
- Create
Time string - Create time of the subscription.
- End
Time string - End time of the subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Start
Time 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 string - Create time of the subscription.
- End
Time string - End time of the subscription.
- Id string
- The provider-assigned unique ID for this managed resource.
- Start
Time string - Start time of the subscription.
- State string
- The current state of the subscription.
- auto
Renew BooleanEnabled - Represents that, if subscription will renew or end when the term ends.
- create
Time String - Create time of the subscription.
- end
Time String - End time of the subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- start
Time String - Start time of the subscription.
- state String
- The current state of the subscription.
- auto
Renew booleanEnabled - Represents that, if subscription will renew or end when the term ends.
- create
Time string - Create time of the subscription.
- end
Time string - End time of the subscription.
- id string
- The provider-assigned unique ID for this managed resource.
- start
Time 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.
- auto
Renew BooleanEnabled - Represents that, if subscription will renew or end when the term ends.
- create
Time String - Create time of the subscription.
- end
Time String - End time of the subscription.
- id String
- The provider-assigned unique ID for this managed resource.
- start
Time String - Start time of the subscription.
- state String
- The current state of the subscription.
Supporting Types
SubscriptionSku, SubscriptionSkuArgs
- Sku
Unspecified - SKU_UNSPECIFIEDDefault value. This value is unused.
- Bce
Standard Sku - BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
- Subscription
Sku Sku Unspecified - SKU_UNSPECIFIEDDefault value. This value is unused.
- Subscription
Sku 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.
- 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.
- "SKU_UNSPECIFIED"
- SKU_UNSPECIFIEDDefault value. This value is unused.
- "BCE_STANDARD_SKU"
- BCE_STANDARD_SKURepresents BeyondCorp Standard SKU.
SubscriptionType, SubscriptionTypeArgs
- Type
Unspecified - TYPE_UNSPECIFIEDDefault value. This value is unused.
- Trial
- TRIALRepresents a trial subscription.
- Paid
- PAIDRepresents a paid subscription.
- Allowlist
- ALLOWLISTReresents an allowlisted subscription.
- Subscription
Type Type Unspecified - TYPE_UNSPECIFIEDDefault value. This value is unused.
- Subscription
Type Trial - TRIALRepresents a trial subscription.
- Subscription
Type Paid - PAIDRepresents a paid subscription.
- Subscription
Type 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.
- 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.