Google Native
Reservation
Creates a new reservation.
Create a Reservation Resource
new Reservation(name: string, args: ReservationArgs, opts?: CustomResourceOptions);
@overload
def Reservation(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
reservation_id: Optional[str] = None,
throughput_capacity: Optional[str] = None)
@overload
def Reservation(resource_name: str,
args: ReservationArgs,
opts: Optional[ResourceOptions] = None)
func NewReservation(ctx *Context, name string, args ReservationArgs, opts ...ResourceOption) (*Reservation, error)
public Reservation(string name, ReservationArgs args, CustomResourceOptions? opts = null)
public Reservation(String name, ReservationArgs args)
public Reservation(String name, ReservationArgs args, CustomResourceOptions options)
type: google-native:pubsublite/v1:Reservation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReservationArgs
- 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 ReservationArgs
- 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 ReservationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReservationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReservationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Reservation 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 Reservation resource accepts the following input properties:
- Reservation
Id string Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like:
my-reservation-name
.- Location string
- Name string
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- Project string
- Throughput
Capacity string The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
- Reservation
Id string Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like:
my-reservation-name
.- Location string
- Name string
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- Project string
- Throughput
Capacity string The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
- reservation
Id String Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like:
my-reservation-name
.- location String
- name String
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- project String
- throughput
Capacity String The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
- reservation
Id string Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like:
my-reservation-name
.- location string
- name string
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- project string
- throughput
Capacity string The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
- reservation_
id str Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like:
my-reservation-name
.- location str
- name str
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- project str
- throughput_
capacity str The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
- reservation
Id String Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like:
my-reservation-name
.- location String
- name String
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
- project String
- throughput
Capacity String The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
Outputs
All input properties are implicitly available as output properties. Additionally, the Reservation 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0