Documentation ¶
Index ¶
- type BackupVault
- type BackupVaultArgs
- type BackupVaultArray
- type BackupVaultArrayInput
- type BackupVaultArrayOutput
- func (BackupVaultArrayOutput) ElementType() reflect.Type
- func (o BackupVaultArrayOutput) Index(i pulumi.IntInput) BackupVaultOutput
- func (o BackupVaultArrayOutput) ToBackupVaultArrayOutput() BackupVaultArrayOutput
- func (o BackupVaultArrayOutput) ToBackupVaultArrayOutputWithContext(ctx context.Context) BackupVaultArrayOutput
- type BackupVaultInput
- type BackupVaultMap
- type BackupVaultMapInput
- type BackupVaultMapOutput
- func (BackupVaultMapOutput) ElementType() reflect.Type
- func (o BackupVaultMapOutput) MapIndex(k pulumi.StringInput) BackupVaultOutput
- func (o BackupVaultMapOutput) ToBackupVaultMapOutput() BackupVaultMapOutput
- func (o BackupVaultMapOutput) ToBackupVaultMapOutputWithContext(ctx context.Context) BackupVaultMapOutput
- type BackupVaultOutput
- func (o BackupVaultOutput) AllowMissing() pulumi.BoolPtrOutput
- func (o BackupVaultOutput) Annotations() pulumi.StringMapOutput
- func (o BackupVaultOutput) BackupCount() pulumi.StringOutput
- func (o BackupVaultOutput) BackupMinimumEnforcedRetentionDuration() pulumi.StringOutput
- func (o BackupVaultOutput) BackupVaultId() pulumi.StringOutput
- func (o BackupVaultOutput) CreateTime() pulumi.StringOutput
- func (o BackupVaultOutput) Deletable() pulumi.BoolOutput
- func (o BackupVaultOutput) Description() pulumi.StringPtrOutput
- func (o BackupVaultOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o BackupVaultOutput) EffectiveLabels() pulumi.StringMapOutput
- func (o BackupVaultOutput) EffectiveTime() pulumi.StringPtrOutput
- func (BackupVaultOutput) ElementType() reflect.Type
- func (o BackupVaultOutput) Etag() pulumi.StringOutput
- func (o BackupVaultOutput) ForceDelete() pulumi.BoolPtrOutput
- func (o BackupVaultOutput) ForceUpdate() pulumi.BoolPtrOutput
- func (o BackupVaultOutput) Labels() pulumi.StringMapOutput
- func (o BackupVaultOutput) Location() pulumi.StringOutput
- func (o BackupVaultOutput) Name() pulumi.StringOutput
- func (o BackupVaultOutput) Project() pulumi.StringOutput
- func (o BackupVaultOutput) PulumiLabels() pulumi.StringMapOutput
- func (o BackupVaultOutput) ServiceAccount() pulumi.StringOutput
- func (o BackupVaultOutput) State() pulumi.StringOutput
- func (o BackupVaultOutput) ToBackupVaultOutput() BackupVaultOutput
- func (o BackupVaultOutput) ToBackupVaultOutputWithContext(ctx context.Context) BackupVaultOutput
- func (o BackupVaultOutput) TotalStoredBytes() pulumi.StringOutput
- func (o BackupVaultOutput) Uid() pulumi.StringOutput
- func (o BackupVaultOutput) UpdateTime() pulumi.StringOutput
- type BackupVaultState
- type GetManagementServerManagementUri
- type GetManagementServerManagementUriArgs
- func (GetManagementServerManagementUriArgs) ElementType() reflect.Type
- func (i GetManagementServerManagementUriArgs) ToGetManagementServerManagementUriOutput() GetManagementServerManagementUriOutput
- func (i GetManagementServerManagementUriArgs) ToGetManagementServerManagementUriOutputWithContext(ctx context.Context) GetManagementServerManagementUriOutput
- type GetManagementServerManagementUriArray
- func (GetManagementServerManagementUriArray) ElementType() reflect.Type
- func (i GetManagementServerManagementUriArray) ToGetManagementServerManagementUriArrayOutput() GetManagementServerManagementUriArrayOutput
- func (i GetManagementServerManagementUriArray) ToGetManagementServerManagementUriArrayOutputWithContext(ctx context.Context) GetManagementServerManagementUriArrayOutput
- type GetManagementServerManagementUriArrayInput
- type GetManagementServerManagementUriArrayOutput
- func (GetManagementServerManagementUriArrayOutput) ElementType() reflect.Type
- func (o GetManagementServerManagementUriArrayOutput) Index(i pulumi.IntInput) GetManagementServerManagementUriOutput
- func (o GetManagementServerManagementUriArrayOutput) ToGetManagementServerManagementUriArrayOutput() GetManagementServerManagementUriArrayOutput
- func (o GetManagementServerManagementUriArrayOutput) ToGetManagementServerManagementUriArrayOutputWithContext(ctx context.Context) GetManagementServerManagementUriArrayOutput
- type GetManagementServerManagementUriInput
- type GetManagementServerManagementUriOutput
- func (o GetManagementServerManagementUriOutput) Api() pulumi.StringOutput
- func (GetManagementServerManagementUriOutput) ElementType() reflect.Type
- func (o GetManagementServerManagementUriOutput) ToGetManagementServerManagementUriOutput() GetManagementServerManagementUriOutput
- func (o GetManagementServerManagementUriOutput) ToGetManagementServerManagementUriOutputWithContext(ctx context.Context) GetManagementServerManagementUriOutput
- func (o GetManagementServerManagementUriOutput) WebUi() pulumi.StringOutput
- type GetManagementServerNetwork
- type GetManagementServerNetworkArgs
- func (GetManagementServerNetworkArgs) ElementType() reflect.Type
- func (i GetManagementServerNetworkArgs) ToGetManagementServerNetworkOutput() GetManagementServerNetworkOutput
- func (i GetManagementServerNetworkArgs) ToGetManagementServerNetworkOutputWithContext(ctx context.Context) GetManagementServerNetworkOutput
- type GetManagementServerNetworkArray
- func (GetManagementServerNetworkArray) ElementType() reflect.Type
- func (i GetManagementServerNetworkArray) ToGetManagementServerNetworkArrayOutput() GetManagementServerNetworkArrayOutput
- func (i GetManagementServerNetworkArray) ToGetManagementServerNetworkArrayOutputWithContext(ctx context.Context) GetManagementServerNetworkArrayOutput
- type GetManagementServerNetworkArrayInput
- type GetManagementServerNetworkArrayOutput
- func (GetManagementServerNetworkArrayOutput) ElementType() reflect.Type
- func (o GetManagementServerNetworkArrayOutput) Index(i pulumi.IntInput) GetManagementServerNetworkOutput
- func (o GetManagementServerNetworkArrayOutput) ToGetManagementServerNetworkArrayOutput() GetManagementServerNetworkArrayOutput
- func (o GetManagementServerNetworkArrayOutput) ToGetManagementServerNetworkArrayOutputWithContext(ctx context.Context) GetManagementServerNetworkArrayOutput
- type GetManagementServerNetworkInput
- type GetManagementServerNetworkOutput
- func (GetManagementServerNetworkOutput) ElementType() reflect.Type
- func (o GetManagementServerNetworkOutput) Network() pulumi.StringOutput
- func (o GetManagementServerNetworkOutput) PeeringMode() pulumi.StringOutput
- func (o GetManagementServerNetworkOutput) ToGetManagementServerNetworkOutput() GetManagementServerNetworkOutput
- func (o GetManagementServerNetworkOutput) ToGetManagementServerNetworkOutputWithContext(ctx context.Context) GetManagementServerNetworkOutput
- type LookupManagementServerArgs
- type LookupManagementServerOutputArgs
- type LookupManagementServerResult
- type LookupManagementServerResultOutput
- func (LookupManagementServerResultOutput) ElementType() reflect.Type
- func (o LookupManagementServerResultOutput) Id() pulumi.StringOutput
- func (o LookupManagementServerResultOutput) Location() pulumi.StringOutput
- func (o LookupManagementServerResultOutput) ManagementUris() GetManagementServerManagementUriArrayOutput
- func (o LookupManagementServerResultOutput) Name() pulumi.StringOutput
- func (o LookupManagementServerResultOutput) Networks() GetManagementServerNetworkArrayOutput
- func (o LookupManagementServerResultOutput) Oauth2ClientId() pulumi.StringOutput
- func (o LookupManagementServerResultOutput) Project() pulumi.StringOutput
- func (o LookupManagementServerResultOutput) ToLookupManagementServerResultOutput() LookupManagementServerResultOutput
- func (o LookupManagementServerResultOutput) ToLookupManagementServerResultOutputWithContext(ctx context.Context) LookupManagementServerResultOutput
- func (o LookupManagementServerResultOutput) Type() pulumi.StringOutput
- type ManagementServer
- type ManagementServerArgs
- type ManagementServerArray
- type ManagementServerArrayInput
- type ManagementServerArrayOutput
- func (ManagementServerArrayOutput) ElementType() reflect.Type
- func (o ManagementServerArrayOutput) Index(i pulumi.IntInput) ManagementServerOutput
- func (o ManagementServerArrayOutput) ToManagementServerArrayOutput() ManagementServerArrayOutput
- func (o ManagementServerArrayOutput) ToManagementServerArrayOutputWithContext(ctx context.Context) ManagementServerArrayOutput
- type ManagementServerInput
- type ManagementServerManagementUri
- type ManagementServerManagementUriArgs
- func (ManagementServerManagementUriArgs) ElementType() reflect.Type
- func (i ManagementServerManagementUriArgs) ToManagementServerManagementUriOutput() ManagementServerManagementUriOutput
- func (i ManagementServerManagementUriArgs) ToManagementServerManagementUriOutputWithContext(ctx context.Context) ManagementServerManagementUriOutput
- type ManagementServerManagementUriArray
- func (ManagementServerManagementUriArray) ElementType() reflect.Type
- func (i ManagementServerManagementUriArray) ToManagementServerManagementUriArrayOutput() ManagementServerManagementUriArrayOutput
- func (i ManagementServerManagementUriArray) ToManagementServerManagementUriArrayOutputWithContext(ctx context.Context) ManagementServerManagementUriArrayOutput
- type ManagementServerManagementUriArrayInput
- type ManagementServerManagementUriArrayOutput
- func (ManagementServerManagementUriArrayOutput) ElementType() reflect.Type
- func (o ManagementServerManagementUriArrayOutput) Index(i pulumi.IntInput) ManagementServerManagementUriOutput
- func (o ManagementServerManagementUriArrayOutput) ToManagementServerManagementUriArrayOutput() ManagementServerManagementUriArrayOutput
- func (o ManagementServerManagementUriArrayOutput) ToManagementServerManagementUriArrayOutputWithContext(ctx context.Context) ManagementServerManagementUriArrayOutput
- type ManagementServerManagementUriInput
- type ManagementServerManagementUriOutput
- func (o ManagementServerManagementUriOutput) Api() pulumi.StringPtrOutput
- func (ManagementServerManagementUriOutput) ElementType() reflect.Type
- func (o ManagementServerManagementUriOutput) ToManagementServerManagementUriOutput() ManagementServerManagementUriOutput
- func (o ManagementServerManagementUriOutput) ToManagementServerManagementUriOutputWithContext(ctx context.Context) ManagementServerManagementUriOutput
- func (o ManagementServerManagementUriOutput) WebUi() pulumi.StringPtrOutput
- type ManagementServerMap
- type ManagementServerMapInput
- type ManagementServerMapOutput
- func (ManagementServerMapOutput) ElementType() reflect.Type
- func (o ManagementServerMapOutput) MapIndex(k pulumi.StringInput) ManagementServerOutput
- func (o ManagementServerMapOutput) ToManagementServerMapOutput() ManagementServerMapOutput
- func (o ManagementServerMapOutput) ToManagementServerMapOutputWithContext(ctx context.Context) ManagementServerMapOutput
- type ManagementServerNetwork
- type ManagementServerNetworkArgs
- type ManagementServerNetworkArray
- func (ManagementServerNetworkArray) ElementType() reflect.Type
- func (i ManagementServerNetworkArray) ToManagementServerNetworkArrayOutput() ManagementServerNetworkArrayOutput
- func (i ManagementServerNetworkArray) ToManagementServerNetworkArrayOutputWithContext(ctx context.Context) ManagementServerNetworkArrayOutput
- type ManagementServerNetworkArrayInput
- type ManagementServerNetworkArrayOutput
- func (ManagementServerNetworkArrayOutput) ElementType() reflect.Type
- func (o ManagementServerNetworkArrayOutput) Index(i pulumi.IntInput) ManagementServerNetworkOutput
- func (o ManagementServerNetworkArrayOutput) ToManagementServerNetworkArrayOutput() ManagementServerNetworkArrayOutput
- func (o ManagementServerNetworkArrayOutput) ToManagementServerNetworkArrayOutputWithContext(ctx context.Context) ManagementServerNetworkArrayOutput
- type ManagementServerNetworkInput
- type ManagementServerNetworkOutput
- func (ManagementServerNetworkOutput) ElementType() reflect.Type
- func (o ManagementServerNetworkOutput) Network() pulumi.StringOutput
- func (o ManagementServerNetworkOutput) PeeringMode() pulumi.StringPtrOutput
- func (o ManagementServerNetworkOutput) ToManagementServerNetworkOutput() ManagementServerNetworkOutput
- func (o ManagementServerNetworkOutput) ToManagementServerNetworkOutputWithContext(ctx context.Context) ManagementServerNetworkOutput
- type ManagementServerOutput
- func (ManagementServerOutput) ElementType() reflect.Type
- func (o ManagementServerOutput) Location() pulumi.StringOutput
- func (o ManagementServerOutput) ManagementUris() ManagementServerManagementUriArrayOutput
- func (o ManagementServerOutput) Name() pulumi.StringOutput
- func (o ManagementServerOutput) Networks() ManagementServerNetworkArrayOutput
- func (o ManagementServerOutput) Oauth2ClientId() pulumi.StringOutput
- func (o ManagementServerOutput) Project() pulumi.StringOutput
- func (o ManagementServerOutput) ToManagementServerOutput() ManagementServerOutput
- func (o ManagementServerOutput) ToManagementServerOutputWithContext(ctx context.Context) ManagementServerOutput
- func (o ManagementServerOutput) Type() pulumi.StringPtrOutput
- type ManagementServerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupVault ¶ added in v8.1.0
type BackupVault struct { pulumi.CustomResourceState // Allow idempotent deletion of backup vault. The request will still succeed in case the backup vault does not exist. AllowMissing pulumi.BoolPtrOutput `pulumi:"allowMissing"` // Optional. User annotations. See https://google.aip.dev/128#annotations // Stores small amounts of arbitrary data. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Output only. The number of backups in this backup vault. BackupCount pulumi.StringOutput `pulumi:"backupCount"` // Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended. BackupMinimumEnforcedRetentionDuration pulumi.StringOutput `pulumi:"backupMinimumEnforcedRetentionDuration"` // Required. ID of the requesting object. // // *** BackupVaultId pulumi.StringOutput `pulumi:"backupVaultId"` // Output only. The time when the instance was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Output only. Set to true when there are no backups nested under this resource. Deletable pulumi.BoolOutput `pulumi:"deletable"` // Optional. The description of the BackupVault instance (2048 characters or less). Description pulumi.StringPtrOutput `pulumi:"description"` EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Optional. Time after which the BackupVault resource is locked. EffectiveTime pulumi.StringPtrOutput `pulumi:"effectiveTime"` // Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other. Etag pulumi.StringOutput `pulumi:"etag"` // If set, the following restrictions against deletion of the backup vault instance can be overridden: // * deletion of a backup vault instance containing no backups, but still containing empty datasources. // * deletion of a backup vault instance that is being referenced by an active backup plan. ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` // If set, allow update to extend the minimum enforced retention for backup vault. This overrides // the restriction against conflicting retention periods. This conflict may occur when the // expiration schedule defined by the associated backup plan is shorter than the minimum // retention set by the backup vault. ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"` // Optional. Resource labels to represent user provided metadata. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The GCP location for the backup vault. Location pulumi.StringOutput `pulumi:"location"` // Output only. Identifier. The resource name. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there. ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"` // Output only. The BackupVault resource instance state. // Possible values: // STATE_UNSPECIFIED // CREATING // ACTIVE // DELETING // ERROR State pulumi.StringOutput `pulumi:"state"` // Output only. Total size of the storage used by all backup resources. TotalStoredBytes pulumi.StringOutput `pulumi:"totalStoredBytes"` // Output only. Output only Immutable after resource creation until resource deletion. Uid pulumi.StringOutput `pulumi:"uid"` // Output only. The time when the instance was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
## Example Usage
### Backup Dr Backup Vault Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/backupdisasterrecovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := backupdisasterrecovery.NewBackupVault(ctx, "backup-vault-test", &backupdisasterrecovery.BackupVaultArgs{ Location: pulumi.String("us-central1"), BackupVaultId: pulumi.String("backup-vault-test"), Description: pulumi.String("This is a second backup vault built by Terraform."), BackupMinimumEnforcedRetentionDuration: pulumi.String("100000s"), Labels: pulumi.StringMap{ "foo": pulumi.String("bar1"), "bar": pulumi.String("baz1"), }, Annotations: pulumi.StringMap{ "annotations1": pulumi.String("bar1"), "annotations2": pulumi.String("baz1"), }, ForceUpdate: pulumi.Bool(true), ForceDelete: pulumi.Bool(true), AllowMissing: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
BackupVault can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/backupVaults/{{backup_vault_id}}`
* `{{project}}/{{location}}/{{backup_vault_id}}`
* `{{location}}/{{backup_vault_id}}`
When using the `pulumi import` command, BackupVault can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:backupdisasterrecovery/backupVault:BackupVault default projects/{{project}}/locations/{{location}}/backupVaults/{{backup_vault_id}} ```
```sh $ pulumi import gcp:backupdisasterrecovery/backupVault:BackupVault default {{project}}/{{location}}/{{backup_vault_id}} ```
```sh $ pulumi import gcp:backupdisasterrecovery/backupVault:BackupVault default {{location}}/{{backup_vault_id}} ```
func GetBackupVault ¶ added in v8.1.0
func GetBackupVault(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackupVaultState, opts ...pulumi.ResourceOption) (*BackupVault, error)
GetBackupVault gets an existing BackupVault resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBackupVault ¶ added in v8.1.0
func NewBackupVault(ctx *pulumi.Context, name string, args *BackupVaultArgs, opts ...pulumi.ResourceOption) (*BackupVault, error)
NewBackupVault registers a new resource with the given unique name, arguments, and options.
func (*BackupVault) ElementType ¶ added in v8.1.0
func (*BackupVault) ElementType() reflect.Type
func (*BackupVault) ToBackupVaultOutput ¶ added in v8.1.0
func (i *BackupVault) ToBackupVaultOutput() BackupVaultOutput
func (*BackupVault) ToBackupVaultOutputWithContext ¶ added in v8.1.0
func (i *BackupVault) ToBackupVaultOutputWithContext(ctx context.Context) BackupVaultOutput
type BackupVaultArgs ¶ added in v8.1.0
type BackupVaultArgs struct { // Allow idempotent deletion of backup vault. The request will still succeed in case the backup vault does not exist. AllowMissing pulumi.BoolPtrInput // Optional. User annotations. See https://google.aip.dev/128#annotations // Stores small amounts of arbitrary data. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended. BackupMinimumEnforcedRetentionDuration pulumi.StringInput // Required. ID of the requesting object. // // *** BackupVaultId pulumi.StringInput // Optional. The description of the BackupVault instance (2048 characters or less). Description pulumi.StringPtrInput // Optional. Time after which the BackupVault resource is locked. EffectiveTime pulumi.StringPtrInput // If set, the following restrictions against deletion of the backup vault instance can be overridden: // * deletion of a backup vault instance containing no backups, but still containing empty datasources. // * deletion of a backup vault instance that is being referenced by an active backup plan. ForceDelete pulumi.BoolPtrInput // If set, allow update to extend the minimum enforced retention for backup vault. This overrides // the restriction against conflicting retention periods. This conflict may occur when the // expiration schedule defined by the associated backup plan is shorter than the minimum // retention set by the backup vault. ForceUpdate pulumi.BoolPtrInput // Optional. Resource labels to represent user provided metadata. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The GCP location for the backup vault. Location pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a BackupVault resource.
func (BackupVaultArgs) ElementType ¶ added in v8.1.0
func (BackupVaultArgs) ElementType() reflect.Type
type BackupVaultArray ¶ added in v8.1.0
type BackupVaultArray []BackupVaultInput
func (BackupVaultArray) ElementType ¶ added in v8.1.0
func (BackupVaultArray) ElementType() reflect.Type
func (BackupVaultArray) ToBackupVaultArrayOutput ¶ added in v8.1.0
func (i BackupVaultArray) ToBackupVaultArrayOutput() BackupVaultArrayOutput
func (BackupVaultArray) ToBackupVaultArrayOutputWithContext ¶ added in v8.1.0
func (i BackupVaultArray) ToBackupVaultArrayOutputWithContext(ctx context.Context) BackupVaultArrayOutput
type BackupVaultArrayInput ¶ added in v8.1.0
type BackupVaultArrayInput interface { pulumi.Input ToBackupVaultArrayOutput() BackupVaultArrayOutput ToBackupVaultArrayOutputWithContext(context.Context) BackupVaultArrayOutput }
BackupVaultArrayInput is an input type that accepts BackupVaultArray and BackupVaultArrayOutput values. You can construct a concrete instance of `BackupVaultArrayInput` via:
BackupVaultArray{ BackupVaultArgs{...} }
type BackupVaultArrayOutput ¶ added in v8.1.0
type BackupVaultArrayOutput struct{ *pulumi.OutputState }
func (BackupVaultArrayOutput) ElementType ¶ added in v8.1.0
func (BackupVaultArrayOutput) ElementType() reflect.Type
func (BackupVaultArrayOutput) Index ¶ added in v8.1.0
func (o BackupVaultArrayOutput) Index(i pulumi.IntInput) BackupVaultOutput
func (BackupVaultArrayOutput) ToBackupVaultArrayOutput ¶ added in v8.1.0
func (o BackupVaultArrayOutput) ToBackupVaultArrayOutput() BackupVaultArrayOutput
func (BackupVaultArrayOutput) ToBackupVaultArrayOutputWithContext ¶ added in v8.1.0
func (o BackupVaultArrayOutput) ToBackupVaultArrayOutputWithContext(ctx context.Context) BackupVaultArrayOutput
type BackupVaultInput ¶ added in v8.1.0
type BackupVaultInput interface { pulumi.Input ToBackupVaultOutput() BackupVaultOutput ToBackupVaultOutputWithContext(ctx context.Context) BackupVaultOutput }
type BackupVaultMap ¶ added in v8.1.0
type BackupVaultMap map[string]BackupVaultInput
func (BackupVaultMap) ElementType ¶ added in v8.1.0
func (BackupVaultMap) ElementType() reflect.Type
func (BackupVaultMap) ToBackupVaultMapOutput ¶ added in v8.1.0
func (i BackupVaultMap) ToBackupVaultMapOutput() BackupVaultMapOutput
func (BackupVaultMap) ToBackupVaultMapOutputWithContext ¶ added in v8.1.0
func (i BackupVaultMap) ToBackupVaultMapOutputWithContext(ctx context.Context) BackupVaultMapOutput
type BackupVaultMapInput ¶ added in v8.1.0
type BackupVaultMapInput interface { pulumi.Input ToBackupVaultMapOutput() BackupVaultMapOutput ToBackupVaultMapOutputWithContext(context.Context) BackupVaultMapOutput }
BackupVaultMapInput is an input type that accepts BackupVaultMap and BackupVaultMapOutput values. You can construct a concrete instance of `BackupVaultMapInput` via:
BackupVaultMap{ "key": BackupVaultArgs{...} }
type BackupVaultMapOutput ¶ added in v8.1.0
type BackupVaultMapOutput struct{ *pulumi.OutputState }
func (BackupVaultMapOutput) ElementType ¶ added in v8.1.0
func (BackupVaultMapOutput) ElementType() reflect.Type
func (BackupVaultMapOutput) MapIndex ¶ added in v8.1.0
func (o BackupVaultMapOutput) MapIndex(k pulumi.StringInput) BackupVaultOutput
func (BackupVaultMapOutput) ToBackupVaultMapOutput ¶ added in v8.1.0
func (o BackupVaultMapOutput) ToBackupVaultMapOutput() BackupVaultMapOutput
func (BackupVaultMapOutput) ToBackupVaultMapOutputWithContext ¶ added in v8.1.0
func (o BackupVaultMapOutput) ToBackupVaultMapOutputWithContext(ctx context.Context) BackupVaultMapOutput
type BackupVaultOutput ¶ added in v8.1.0
type BackupVaultOutput struct{ *pulumi.OutputState }
func (BackupVaultOutput) AllowMissing ¶ added in v8.1.0
func (o BackupVaultOutput) AllowMissing() pulumi.BoolPtrOutput
Allow idempotent deletion of backup vault. The request will still succeed in case the backup vault does not exist.
func (BackupVaultOutput) Annotations ¶ added in v8.1.0
func (o BackupVaultOutput) Annotations() pulumi.StringMapOutput
Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
func (BackupVaultOutput) BackupCount ¶ added in v8.1.0
func (o BackupVaultOutput) BackupCount() pulumi.StringOutput
Output only. The number of backups in this backup vault.
func (BackupVaultOutput) BackupMinimumEnforcedRetentionDuration ¶ added in v8.1.0
func (o BackupVaultOutput) BackupMinimumEnforcedRetentionDuration() pulumi.StringOutput
Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended.
func (BackupVaultOutput) BackupVaultId ¶ added in v8.1.0
func (o BackupVaultOutput) BackupVaultId() pulumi.StringOutput
Required. ID of the requesting object.
***
func (BackupVaultOutput) CreateTime ¶ added in v8.1.0
func (o BackupVaultOutput) CreateTime() pulumi.StringOutput
Output only. The time when the instance was created.
func (BackupVaultOutput) Deletable ¶ added in v8.1.0
func (o BackupVaultOutput) Deletable() pulumi.BoolOutput
Output only. Set to true when there are no backups nested under this resource.
func (BackupVaultOutput) Description ¶ added in v8.1.0
func (o BackupVaultOutput) Description() pulumi.StringPtrOutput
Optional. The description of the BackupVault instance (2048 characters or less).
func (BackupVaultOutput) EffectiveAnnotations ¶ added in v8.1.0
func (o BackupVaultOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (BackupVaultOutput) EffectiveLabels ¶ added in v8.1.0
func (o BackupVaultOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (BackupVaultOutput) EffectiveTime ¶ added in v8.1.0
func (o BackupVaultOutput) EffectiveTime() pulumi.StringPtrOutput
Optional. Time after which the BackupVault resource is locked.
func (BackupVaultOutput) ElementType ¶ added in v8.1.0
func (BackupVaultOutput) ElementType() reflect.Type
func (BackupVaultOutput) Etag ¶ added in v8.1.0
func (o BackupVaultOutput) Etag() pulumi.StringOutput
Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.
func (BackupVaultOutput) ForceDelete ¶ added in v8.1.0
func (o BackupVaultOutput) ForceDelete() pulumi.BoolPtrOutput
If set, the following restrictions against deletion of the backup vault instance can be overridden: * deletion of a backup vault instance containing no backups, but still containing empty datasources. * deletion of a backup vault instance that is being referenced by an active backup plan.
func (BackupVaultOutput) ForceUpdate ¶ added in v8.1.0
func (o BackupVaultOutput) ForceUpdate() pulumi.BoolPtrOutput
If set, allow update to extend the minimum enforced retention for backup vault. This overrides the restriction against conflicting retention periods. This conflict may occur when the expiration schedule defined by the associated backup plan is shorter than the minimum retention set by the backup vault.
func (BackupVaultOutput) Labels ¶ added in v8.1.0
func (o BackupVaultOutput) Labels() pulumi.StringMapOutput
Optional. Resource labels to represent user provided metadata. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (BackupVaultOutput) Location ¶ added in v8.1.0
func (o BackupVaultOutput) Location() pulumi.StringOutput
The GCP location for the backup vault.
func (BackupVaultOutput) Name ¶ added in v8.1.0
func (o BackupVaultOutput) Name() pulumi.StringOutput
Output only. Identifier. The resource name.
func (BackupVaultOutput) Project ¶ added in v8.1.0
func (o BackupVaultOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (BackupVaultOutput) PulumiLabels ¶ added in v8.1.0
func (o BackupVaultOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (BackupVaultOutput) ServiceAccount ¶ added in v8.1.0
func (o BackupVaultOutput) ServiceAccount() pulumi.StringOutput
Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there.
func (BackupVaultOutput) State ¶ added in v8.1.0
func (o BackupVaultOutput) State() pulumi.StringOutput
Output only. The BackupVault resource instance state. Possible values: STATE_UNSPECIFIED CREATING ACTIVE DELETING ERROR
func (BackupVaultOutput) ToBackupVaultOutput ¶ added in v8.1.0
func (o BackupVaultOutput) ToBackupVaultOutput() BackupVaultOutput
func (BackupVaultOutput) ToBackupVaultOutputWithContext ¶ added in v8.1.0
func (o BackupVaultOutput) ToBackupVaultOutputWithContext(ctx context.Context) BackupVaultOutput
func (BackupVaultOutput) TotalStoredBytes ¶ added in v8.1.0
func (o BackupVaultOutput) TotalStoredBytes() pulumi.StringOutput
Output only. Total size of the storage used by all backup resources.
func (BackupVaultOutput) Uid ¶ added in v8.1.0
func (o BackupVaultOutput) Uid() pulumi.StringOutput
Output only. Output only Immutable after resource creation until resource deletion.
func (BackupVaultOutput) UpdateTime ¶ added in v8.1.0
func (o BackupVaultOutput) UpdateTime() pulumi.StringOutput
Output only. The time when the instance was updated.
type BackupVaultState ¶ added in v8.1.0
type BackupVaultState struct { // Allow idempotent deletion of backup vault. The request will still succeed in case the backup vault does not exist. AllowMissing pulumi.BoolPtrInput // Optional. User annotations. See https://google.aip.dev/128#annotations // Stores small amounts of arbitrary data. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // Output only. The number of backups in this backup vault. BackupCount pulumi.StringPtrInput // Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended. BackupMinimumEnforcedRetentionDuration pulumi.StringPtrInput // Required. ID of the requesting object. // // *** BackupVaultId pulumi.StringPtrInput // Output only. The time when the instance was created. CreateTime pulumi.StringPtrInput // Output only. Set to true when there are no backups nested under this resource. Deletable pulumi.BoolPtrInput // Optional. The description of the BackupVault instance (2048 characters or less). Description pulumi.StringPtrInput EffectiveAnnotations pulumi.StringMapInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Optional. Time after which the BackupVault resource is locked. EffectiveTime pulumi.StringPtrInput // Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other. Etag pulumi.StringPtrInput // If set, the following restrictions against deletion of the backup vault instance can be overridden: // * deletion of a backup vault instance containing no backups, but still containing empty datasources. // * deletion of a backup vault instance that is being referenced by an active backup plan. ForceDelete pulumi.BoolPtrInput // If set, allow update to extend the minimum enforced retention for backup vault. This overrides // the restriction against conflicting retention periods. This conflict may occur when the // expiration schedule defined by the associated backup plan is shorter than the minimum // retention set by the backup vault. ForceUpdate pulumi.BoolPtrInput // Optional. Resource labels to represent user provided metadata. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The GCP location for the backup vault. Location pulumi.StringPtrInput // Output only. Identifier. The resource name. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there. ServiceAccount pulumi.StringPtrInput // Output only. The BackupVault resource instance state. // Possible values: // STATE_UNSPECIFIED // CREATING // ACTIVE // DELETING // ERROR State pulumi.StringPtrInput // Output only. Total size of the storage used by all backup resources. TotalStoredBytes pulumi.StringPtrInput // Output only. Output only Immutable after resource creation until resource deletion. Uid pulumi.StringPtrInput // Output only. The time when the instance was updated. UpdateTime pulumi.StringPtrInput }
func (BackupVaultState) ElementType ¶ added in v8.1.0
func (BackupVaultState) ElementType() reflect.Type
type GetManagementServerManagementUriArgs ¶
type GetManagementServerManagementUriArgs struct { // The management console api endpoint. Api pulumi.StringInput `pulumi:"api"` // The management console webUi. WebUi pulumi.StringInput `pulumi:"webUi"` }
func (GetManagementServerManagementUriArgs) ElementType ¶
func (GetManagementServerManagementUriArgs) ElementType() reflect.Type
func (GetManagementServerManagementUriArgs) ToGetManagementServerManagementUriOutput ¶
func (i GetManagementServerManagementUriArgs) ToGetManagementServerManagementUriOutput() GetManagementServerManagementUriOutput
func (GetManagementServerManagementUriArgs) ToGetManagementServerManagementUriOutputWithContext ¶
func (i GetManagementServerManagementUriArgs) ToGetManagementServerManagementUriOutputWithContext(ctx context.Context) GetManagementServerManagementUriOutput
type GetManagementServerManagementUriArray ¶
type GetManagementServerManagementUriArray []GetManagementServerManagementUriInput
func (GetManagementServerManagementUriArray) ElementType ¶
func (GetManagementServerManagementUriArray) ElementType() reflect.Type
func (GetManagementServerManagementUriArray) ToGetManagementServerManagementUriArrayOutput ¶
func (i GetManagementServerManagementUriArray) ToGetManagementServerManagementUriArrayOutput() GetManagementServerManagementUriArrayOutput
func (GetManagementServerManagementUriArray) ToGetManagementServerManagementUriArrayOutputWithContext ¶
func (i GetManagementServerManagementUriArray) ToGetManagementServerManagementUriArrayOutputWithContext(ctx context.Context) GetManagementServerManagementUriArrayOutput
type GetManagementServerManagementUriArrayInput ¶
type GetManagementServerManagementUriArrayInput interface { pulumi.Input ToGetManagementServerManagementUriArrayOutput() GetManagementServerManagementUriArrayOutput ToGetManagementServerManagementUriArrayOutputWithContext(context.Context) GetManagementServerManagementUriArrayOutput }
GetManagementServerManagementUriArrayInput is an input type that accepts GetManagementServerManagementUriArray and GetManagementServerManagementUriArrayOutput values. You can construct a concrete instance of `GetManagementServerManagementUriArrayInput` via:
GetManagementServerManagementUriArray{ GetManagementServerManagementUriArgs{...} }
type GetManagementServerManagementUriArrayOutput ¶
type GetManagementServerManagementUriArrayOutput struct{ *pulumi.OutputState }
func (GetManagementServerManagementUriArrayOutput) ElementType ¶
func (GetManagementServerManagementUriArrayOutput) ElementType() reflect.Type
func (GetManagementServerManagementUriArrayOutput) ToGetManagementServerManagementUriArrayOutput ¶
func (o GetManagementServerManagementUriArrayOutput) ToGetManagementServerManagementUriArrayOutput() GetManagementServerManagementUriArrayOutput
func (GetManagementServerManagementUriArrayOutput) ToGetManagementServerManagementUriArrayOutputWithContext ¶
func (o GetManagementServerManagementUriArrayOutput) ToGetManagementServerManagementUriArrayOutputWithContext(ctx context.Context) GetManagementServerManagementUriArrayOutput
type GetManagementServerManagementUriInput ¶
type GetManagementServerManagementUriInput interface { pulumi.Input ToGetManagementServerManagementUriOutput() GetManagementServerManagementUriOutput ToGetManagementServerManagementUriOutputWithContext(context.Context) GetManagementServerManagementUriOutput }
GetManagementServerManagementUriInput is an input type that accepts GetManagementServerManagementUriArgs and GetManagementServerManagementUriOutput values. You can construct a concrete instance of `GetManagementServerManagementUriInput` via:
GetManagementServerManagementUriArgs{...}
type GetManagementServerManagementUriOutput ¶
type GetManagementServerManagementUriOutput struct{ *pulumi.OutputState }
func (GetManagementServerManagementUriOutput) Api ¶
func (o GetManagementServerManagementUriOutput) Api() pulumi.StringOutput
The management console api endpoint.
func (GetManagementServerManagementUriOutput) ElementType ¶
func (GetManagementServerManagementUriOutput) ElementType() reflect.Type
func (GetManagementServerManagementUriOutput) ToGetManagementServerManagementUriOutput ¶
func (o GetManagementServerManagementUriOutput) ToGetManagementServerManagementUriOutput() GetManagementServerManagementUriOutput
func (GetManagementServerManagementUriOutput) ToGetManagementServerManagementUriOutputWithContext ¶
func (o GetManagementServerManagementUriOutput) ToGetManagementServerManagementUriOutputWithContext(ctx context.Context) GetManagementServerManagementUriOutput
func (GetManagementServerManagementUriOutput) WebUi ¶
func (o GetManagementServerManagementUriOutput) WebUi() pulumi.StringOutput
The management console webUi.
type GetManagementServerNetwork ¶
type GetManagementServerNetwork struct { // Network with format 'projects/{{project_id}}/global/networks/{{network_id}}' Network string `pulumi:"network"` // Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"] PeeringMode string `pulumi:"peeringMode"` }
type GetManagementServerNetworkArgs ¶
type GetManagementServerNetworkArgs struct { // Network with format 'projects/{{project_id}}/global/networks/{{network_id}}' Network pulumi.StringInput `pulumi:"network"` // Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"] PeeringMode pulumi.StringInput `pulumi:"peeringMode"` }
func (GetManagementServerNetworkArgs) ElementType ¶
func (GetManagementServerNetworkArgs) ElementType() reflect.Type
func (GetManagementServerNetworkArgs) ToGetManagementServerNetworkOutput ¶
func (i GetManagementServerNetworkArgs) ToGetManagementServerNetworkOutput() GetManagementServerNetworkOutput
func (GetManagementServerNetworkArgs) ToGetManagementServerNetworkOutputWithContext ¶
func (i GetManagementServerNetworkArgs) ToGetManagementServerNetworkOutputWithContext(ctx context.Context) GetManagementServerNetworkOutput
type GetManagementServerNetworkArray ¶
type GetManagementServerNetworkArray []GetManagementServerNetworkInput
func (GetManagementServerNetworkArray) ElementType ¶
func (GetManagementServerNetworkArray) ElementType() reflect.Type
func (GetManagementServerNetworkArray) ToGetManagementServerNetworkArrayOutput ¶
func (i GetManagementServerNetworkArray) ToGetManagementServerNetworkArrayOutput() GetManagementServerNetworkArrayOutput
func (GetManagementServerNetworkArray) ToGetManagementServerNetworkArrayOutputWithContext ¶
func (i GetManagementServerNetworkArray) ToGetManagementServerNetworkArrayOutputWithContext(ctx context.Context) GetManagementServerNetworkArrayOutput
type GetManagementServerNetworkArrayInput ¶
type GetManagementServerNetworkArrayInput interface { pulumi.Input ToGetManagementServerNetworkArrayOutput() GetManagementServerNetworkArrayOutput ToGetManagementServerNetworkArrayOutputWithContext(context.Context) GetManagementServerNetworkArrayOutput }
GetManagementServerNetworkArrayInput is an input type that accepts GetManagementServerNetworkArray and GetManagementServerNetworkArrayOutput values. You can construct a concrete instance of `GetManagementServerNetworkArrayInput` via:
GetManagementServerNetworkArray{ GetManagementServerNetworkArgs{...} }
type GetManagementServerNetworkArrayOutput ¶
type GetManagementServerNetworkArrayOutput struct{ *pulumi.OutputState }
func (GetManagementServerNetworkArrayOutput) ElementType ¶
func (GetManagementServerNetworkArrayOutput) ElementType() reflect.Type
func (GetManagementServerNetworkArrayOutput) Index ¶
func (o GetManagementServerNetworkArrayOutput) Index(i pulumi.IntInput) GetManagementServerNetworkOutput
func (GetManagementServerNetworkArrayOutput) ToGetManagementServerNetworkArrayOutput ¶
func (o GetManagementServerNetworkArrayOutput) ToGetManagementServerNetworkArrayOutput() GetManagementServerNetworkArrayOutput
func (GetManagementServerNetworkArrayOutput) ToGetManagementServerNetworkArrayOutputWithContext ¶
func (o GetManagementServerNetworkArrayOutput) ToGetManagementServerNetworkArrayOutputWithContext(ctx context.Context) GetManagementServerNetworkArrayOutput
type GetManagementServerNetworkInput ¶
type GetManagementServerNetworkInput interface { pulumi.Input ToGetManagementServerNetworkOutput() GetManagementServerNetworkOutput ToGetManagementServerNetworkOutputWithContext(context.Context) GetManagementServerNetworkOutput }
GetManagementServerNetworkInput is an input type that accepts GetManagementServerNetworkArgs and GetManagementServerNetworkOutput values. You can construct a concrete instance of `GetManagementServerNetworkInput` via:
GetManagementServerNetworkArgs{...}
type GetManagementServerNetworkOutput ¶
type GetManagementServerNetworkOutput struct{ *pulumi.OutputState }
func (GetManagementServerNetworkOutput) ElementType ¶
func (GetManagementServerNetworkOutput) ElementType() reflect.Type
func (GetManagementServerNetworkOutput) Network ¶
func (o GetManagementServerNetworkOutput) Network() pulumi.StringOutput
Network with format 'projects/{{project_id}}/global/networks/{{network_id}}'
func (GetManagementServerNetworkOutput) PeeringMode ¶
func (o GetManagementServerNetworkOutput) PeeringMode() pulumi.StringOutput
Type of Network peeringMode Default value: "PRIVATE_SERVICE_ACCESS" Possible values: ["PRIVATE_SERVICE_ACCESS"]
func (GetManagementServerNetworkOutput) ToGetManagementServerNetworkOutput ¶
func (o GetManagementServerNetworkOutput) ToGetManagementServerNetworkOutput() GetManagementServerNetworkOutput
func (GetManagementServerNetworkOutput) ToGetManagementServerNetworkOutputWithContext ¶
func (o GetManagementServerNetworkOutput) ToGetManagementServerNetworkOutputWithContext(ctx context.Context) GetManagementServerNetworkOutput
type LookupManagementServerArgs ¶
type LookupManagementServerArgs struct {
Location string `pulumi:"location"`
}
A collection of arguments for invoking getManagementServer.
type LookupManagementServerOutputArgs ¶
type LookupManagementServerOutputArgs struct {
Location pulumi.StringInput `pulumi:"location"`
}
A collection of arguments for invoking getManagementServer.
func (LookupManagementServerOutputArgs) ElementType ¶
func (LookupManagementServerOutputArgs) ElementType() reflect.Type
type LookupManagementServerResult ¶
type LookupManagementServerResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` ManagementUris []GetManagementServerManagementUri `pulumi:"managementUris"` Name string `pulumi:"name"` Networks []GetManagementServerNetwork `pulumi:"networks"` Oauth2ClientId string `pulumi:"oauth2ClientId"` Project string `pulumi:"project"` Type string `pulumi:"type"` }
A collection of values returned by getManagementServer.
func LookupManagementServer ¶
func LookupManagementServer(ctx *pulumi.Context, args *LookupManagementServerArgs, opts ...pulumi.InvokeOption) (*LookupManagementServerResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/backupdisasterrecovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := backupdisasterrecovery.LookupManagementServer(ctx, &backupdisasterrecovery.LookupManagementServerArgs{ Location: "us-central1", }, nil) if err != nil { return err } return nil }) }
```
type LookupManagementServerResultOutput ¶
type LookupManagementServerResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getManagementServer.
func LookupManagementServerOutput ¶
func LookupManagementServerOutput(ctx *pulumi.Context, args LookupManagementServerOutputArgs, opts ...pulumi.InvokeOption) LookupManagementServerResultOutput
func (LookupManagementServerResultOutput) ElementType ¶
func (LookupManagementServerResultOutput) ElementType() reflect.Type
func (LookupManagementServerResultOutput) Id ¶
func (o LookupManagementServerResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupManagementServerResultOutput) Location ¶
func (o LookupManagementServerResultOutput) Location() pulumi.StringOutput
func (LookupManagementServerResultOutput) ManagementUris ¶
func (o LookupManagementServerResultOutput) ManagementUris() GetManagementServerManagementUriArrayOutput
func (LookupManagementServerResultOutput) Name ¶
func (o LookupManagementServerResultOutput) Name() pulumi.StringOutput
func (LookupManagementServerResultOutput) Networks ¶
func (o LookupManagementServerResultOutput) Networks() GetManagementServerNetworkArrayOutput
func (LookupManagementServerResultOutput) Oauth2ClientId ¶
func (o LookupManagementServerResultOutput) Oauth2ClientId() pulumi.StringOutput
func (LookupManagementServerResultOutput) Project ¶
func (o LookupManagementServerResultOutput) Project() pulumi.StringOutput
func (LookupManagementServerResultOutput) ToLookupManagementServerResultOutput ¶
func (o LookupManagementServerResultOutput) ToLookupManagementServerResultOutput() LookupManagementServerResultOutput
func (LookupManagementServerResultOutput) ToLookupManagementServerResultOutputWithContext ¶
func (o LookupManagementServerResultOutput) ToLookupManagementServerResultOutputWithContext(ctx context.Context) LookupManagementServerResultOutput
func (LookupManagementServerResultOutput) Type ¶
func (o LookupManagementServerResultOutput) Type() pulumi.StringOutput
type ManagementServer ¶
type ManagementServer struct { pulumi.CustomResourceState // The location for the management server (management console) Location pulumi.StringOutput `pulumi:"location"` // The management console URI // Structure is documented below. ManagementUris ManagementServerManagementUriArrayOutput `pulumi:"managementUris"` // The name of management server (management console) Name pulumi.StringOutput `pulumi:"name"` // Network details to create management server (management console). // Structure is documented below. Networks ManagementServerNetworkArrayOutput `pulumi:"networks"` // The oauth2ClientId of management console. Oauth2ClientId pulumi.StringOutput `pulumi:"oauth2ClientId"` Project pulumi.StringOutput `pulumi:"project"` // The type of management server (management console). Default value: "BACKUP_RESTORE" Possible values: ["BACKUP_RESTORE"] Type pulumi.StringPtrOutput `pulumi:"type"` }
## Example Usage
### Backup Dr Management Server
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/backupdisasterrecovery" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/servicenetworking" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("vpc-network"), }) if err != nil { return err } privateIpAddress, err := compute.NewGlobalAddress(ctx, "private_ip_address", &compute.GlobalAddressArgs{ Name: pulumi.String("vpc-network"), AddressType: pulumi.String("INTERNAL"), Purpose: pulumi.String("VPC_PEERING"), PrefixLength: pulumi.Int(20), Network: _default.ID(), }) if err != nil { return err } defaultConnection, err := servicenetworking.NewConnection(ctx, "default", &servicenetworking.ConnectionArgs{ Network: _default.ID(), Service: pulumi.String("servicenetworking.googleapis.com"), ReservedPeeringRanges: pulumi.StringArray{ privateIpAddress.Name, }, }) if err != nil { return err } _, err = backupdisasterrecovery.NewManagementServer(ctx, "ms-console", &backupdisasterrecovery.ManagementServerArgs{ Location: pulumi.String("us-central1"), Name: pulumi.String("ms-console"), Type: pulumi.String("BACKUP_RESTORE"), Networks: backupdisasterrecovery.ManagementServerNetworkArray{ &backupdisasterrecovery.ManagementServerNetworkArgs{ Network: _default.ID(), PeeringMode: pulumi.String("PRIVATE_SERVICE_ACCESS"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ defaultConnection, })) if err != nil { return err } return nil }) }
```
## Import
ManagementServer can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/managementServers/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, ManagementServer can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:backupdisasterrecovery/managementServer:ManagementServer default projects/{{project}}/locations/{{location}}/managementServers/{{name}} ```
```sh $ pulumi import gcp:backupdisasterrecovery/managementServer:ManagementServer default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:backupdisasterrecovery/managementServer:ManagementServer default {{location}}/{{name}} ```
func GetManagementServer ¶
func GetManagementServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagementServerState, opts ...pulumi.ResourceOption) (*ManagementServer, error)
GetManagementServer gets an existing ManagementServer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewManagementServer ¶
func NewManagementServer(ctx *pulumi.Context, name string, args *ManagementServerArgs, opts ...pulumi.ResourceOption) (*ManagementServer, error)
NewManagementServer registers a new resource with the given unique name, arguments, and options.
func (*ManagementServer) ElementType ¶
func (*ManagementServer) ElementType() reflect.Type
func (*ManagementServer) ToManagementServerOutput ¶
func (i *ManagementServer) ToManagementServerOutput() ManagementServerOutput
func (*ManagementServer) ToManagementServerOutputWithContext ¶
func (i *ManagementServer) ToManagementServerOutputWithContext(ctx context.Context) ManagementServerOutput
type ManagementServerArgs ¶
type ManagementServerArgs struct { // The location for the management server (management console) Location pulumi.StringInput // The name of management server (management console) Name pulumi.StringPtrInput // Network details to create management server (management console). // Structure is documented below. Networks ManagementServerNetworkArrayInput Project pulumi.StringPtrInput // The type of management server (management console). Default value: "BACKUP_RESTORE" Possible values: ["BACKUP_RESTORE"] Type pulumi.StringPtrInput }
The set of arguments for constructing a ManagementServer resource.
func (ManagementServerArgs) ElementType ¶
func (ManagementServerArgs) ElementType() reflect.Type
type ManagementServerArray ¶
type ManagementServerArray []ManagementServerInput
func (ManagementServerArray) ElementType ¶
func (ManagementServerArray) ElementType() reflect.Type
func (ManagementServerArray) ToManagementServerArrayOutput ¶
func (i ManagementServerArray) ToManagementServerArrayOutput() ManagementServerArrayOutput
func (ManagementServerArray) ToManagementServerArrayOutputWithContext ¶
func (i ManagementServerArray) ToManagementServerArrayOutputWithContext(ctx context.Context) ManagementServerArrayOutput
type ManagementServerArrayInput ¶
type ManagementServerArrayInput interface { pulumi.Input ToManagementServerArrayOutput() ManagementServerArrayOutput ToManagementServerArrayOutputWithContext(context.Context) ManagementServerArrayOutput }
ManagementServerArrayInput is an input type that accepts ManagementServerArray and ManagementServerArrayOutput values. You can construct a concrete instance of `ManagementServerArrayInput` via:
ManagementServerArray{ ManagementServerArgs{...} }
type ManagementServerArrayOutput ¶
type ManagementServerArrayOutput struct{ *pulumi.OutputState }
func (ManagementServerArrayOutput) ElementType ¶
func (ManagementServerArrayOutput) ElementType() reflect.Type
func (ManagementServerArrayOutput) Index ¶
func (o ManagementServerArrayOutput) Index(i pulumi.IntInput) ManagementServerOutput
func (ManagementServerArrayOutput) ToManagementServerArrayOutput ¶
func (o ManagementServerArrayOutput) ToManagementServerArrayOutput() ManagementServerArrayOutput
func (ManagementServerArrayOutput) ToManagementServerArrayOutputWithContext ¶
func (o ManagementServerArrayOutput) ToManagementServerArrayOutputWithContext(ctx context.Context) ManagementServerArrayOutput
type ManagementServerInput ¶
type ManagementServerInput interface { pulumi.Input ToManagementServerOutput() ManagementServerOutput ToManagementServerOutputWithContext(ctx context.Context) ManagementServerOutput }
type ManagementServerManagementUriArgs ¶
type ManagementServerManagementUriArgs struct { // (Output) // The management console api endpoint. Api pulumi.StringPtrInput `pulumi:"api"` // (Output) // The management console webUi. WebUi pulumi.StringPtrInput `pulumi:"webUi"` }
func (ManagementServerManagementUriArgs) ElementType ¶
func (ManagementServerManagementUriArgs) ElementType() reflect.Type
func (ManagementServerManagementUriArgs) ToManagementServerManagementUriOutput ¶
func (i ManagementServerManagementUriArgs) ToManagementServerManagementUriOutput() ManagementServerManagementUriOutput
func (ManagementServerManagementUriArgs) ToManagementServerManagementUriOutputWithContext ¶
func (i ManagementServerManagementUriArgs) ToManagementServerManagementUriOutputWithContext(ctx context.Context) ManagementServerManagementUriOutput
type ManagementServerManagementUriArray ¶
type ManagementServerManagementUriArray []ManagementServerManagementUriInput
func (ManagementServerManagementUriArray) ElementType ¶
func (ManagementServerManagementUriArray) ElementType() reflect.Type
func (ManagementServerManagementUriArray) ToManagementServerManagementUriArrayOutput ¶
func (i ManagementServerManagementUriArray) ToManagementServerManagementUriArrayOutput() ManagementServerManagementUriArrayOutput
func (ManagementServerManagementUriArray) ToManagementServerManagementUriArrayOutputWithContext ¶
func (i ManagementServerManagementUriArray) ToManagementServerManagementUriArrayOutputWithContext(ctx context.Context) ManagementServerManagementUriArrayOutput
type ManagementServerManagementUriArrayInput ¶
type ManagementServerManagementUriArrayInput interface { pulumi.Input ToManagementServerManagementUriArrayOutput() ManagementServerManagementUriArrayOutput ToManagementServerManagementUriArrayOutputWithContext(context.Context) ManagementServerManagementUriArrayOutput }
ManagementServerManagementUriArrayInput is an input type that accepts ManagementServerManagementUriArray and ManagementServerManagementUriArrayOutput values. You can construct a concrete instance of `ManagementServerManagementUriArrayInput` via:
ManagementServerManagementUriArray{ ManagementServerManagementUriArgs{...} }
type ManagementServerManagementUriArrayOutput ¶
type ManagementServerManagementUriArrayOutput struct{ *pulumi.OutputState }
func (ManagementServerManagementUriArrayOutput) ElementType ¶
func (ManagementServerManagementUriArrayOutput) ElementType() reflect.Type
func (ManagementServerManagementUriArrayOutput) ToManagementServerManagementUriArrayOutput ¶
func (o ManagementServerManagementUriArrayOutput) ToManagementServerManagementUriArrayOutput() ManagementServerManagementUriArrayOutput
func (ManagementServerManagementUriArrayOutput) ToManagementServerManagementUriArrayOutputWithContext ¶
func (o ManagementServerManagementUriArrayOutput) ToManagementServerManagementUriArrayOutputWithContext(ctx context.Context) ManagementServerManagementUriArrayOutput
type ManagementServerManagementUriInput ¶
type ManagementServerManagementUriInput interface { pulumi.Input ToManagementServerManagementUriOutput() ManagementServerManagementUriOutput ToManagementServerManagementUriOutputWithContext(context.Context) ManagementServerManagementUriOutput }
ManagementServerManagementUriInput is an input type that accepts ManagementServerManagementUriArgs and ManagementServerManagementUriOutput values. You can construct a concrete instance of `ManagementServerManagementUriInput` via:
ManagementServerManagementUriArgs{...}
type ManagementServerManagementUriOutput ¶
type ManagementServerManagementUriOutput struct{ *pulumi.OutputState }
func (ManagementServerManagementUriOutput) Api ¶
func (o ManagementServerManagementUriOutput) Api() pulumi.StringPtrOutput
(Output) The management console api endpoint.
func (ManagementServerManagementUriOutput) ElementType ¶
func (ManagementServerManagementUriOutput) ElementType() reflect.Type
func (ManagementServerManagementUriOutput) ToManagementServerManagementUriOutput ¶
func (o ManagementServerManagementUriOutput) ToManagementServerManagementUriOutput() ManagementServerManagementUriOutput
func (ManagementServerManagementUriOutput) ToManagementServerManagementUriOutputWithContext ¶
func (o ManagementServerManagementUriOutput) ToManagementServerManagementUriOutputWithContext(ctx context.Context) ManagementServerManagementUriOutput
func (ManagementServerManagementUriOutput) WebUi ¶
func (o ManagementServerManagementUriOutput) WebUi() pulumi.StringPtrOutput
(Output) The management console webUi.
type ManagementServerMap ¶
type ManagementServerMap map[string]ManagementServerInput
func (ManagementServerMap) ElementType ¶
func (ManagementServerMap) ElementType() reflect.Type
func (ManagementServerMap) ToManagementServerMapOutput ¶
func (i ManagementServerMap) ToManagementServerMapOutput() ManagementServerMapOutput
func (ManagementServerMap) ToManagementServerMapOutputWithContext ¶
func (i ManagementServerMap) ToManagementServerMapOutputWithContext(ctx context.Context) ManagementServerMapOutput
type ManagementServerMapInput ¶
type ManagementServerMapInput interface { pulumi.Input ToManagementServerMapOutput() ManagementServerMapOutput ToManagementServerMapOutputWithContext(context.Context) ManagementServerMapOutput }
ManagementServerMapInput is an input type that accepts ManagementServerMap and ManagementServerMapOutput values. You can construct a concrete instance of `ManagementServerMapInput` via:
ManagementServerMap{ "key": ManagementServerArgs{...} }
type ManagementServerMapOutput ¶
type ManagementServerMapOutput struct{ *pulumi.OutputState }
func (ManagementServerMapOutput) ElementType ¶
func (ManagementServerMapOutput) ElementType() reflect.Type
func (ManagementServerMapOutput) MapIndex ¶
func (o ManagementServerMapOutput) MapIndex(k pulumi.StringInput) ManagementServerOutput
func (ManagementServerMapOutput) ToManagementServerMapOutput ¶
func (o ManagementServerMapOutput) ToManagementServerMapOutput() ManagementServerMapOutput
func (ManagementServerMapOutput) ToManagementServerMapOutputWithContext ¶
func (o ManagementServerMapOutput) ToManagementServerMapOutputWithContext(ctx context.Context) ManagementServerMapOutput
type ManagementServerNetwork ¶
type ManagementServerNetwork struct { // Network with format `projects/{{project_id}}/global/networks/{{network_id}}` Network string `pulumi:"network"` // Type of Network peeringMode // Default value is `PRIVATE_SERVICE_ACCESS`. // Possible values are: `PRIVATE_SERVICE_ACCESS`. // // *** PeeringMode *string `pulumi:"peeringMode"` }
type ManagementServerNetworkArgs ¶
type ManagementServerNetworkArgs struct { // Network with format `projects/{{project_id}}/global/networks/{{network_id}}` Network pulumi.StringInput `pulumi:"network"` // Type of Network peeringMode // Default value is `PRIVATE_SERVICE_ACCESS`. // Possible values are: `PRIVATE_SERVICE_ACCESS`. // // *** PeeringMode pulumi.StringPtrInput `pulumi:"peeringMode"` }
func (ManagementServerNetworkArgs) ElementType ¶
func (ManagementServerNetworkArgs) ElementType() reflect.Type
func (ManagementServerNetworkArgs) ToManagementServerNetworkOutput ¶
func (i ManagementServerNetworkArgs) ToManagementServerNetworkOutput() ManagementServerNetworkOutput
func (ManagementServerNetworkArgs) ToManagementServerNetworkOutputWithContext ¶
func (i ManagementServerNetworkArgs) ToManagementServerNetworkOutputWithContext(ctx context.Context) ManagementServerNetworkOutput
type ManagementServerNetworkArray ¶
type ManagementServerNetworkArray []ManagementServerNetworkInput
func (ManagementServerNetworkArray) ElementType ¶
func (ManagementServerNetworkArray) ElementType() reflect.Type
func (ManagementServerNetworkArray) ToManagementServerNetworkArrayOutput ¶
func (i ManagementServerNetworkArray) ToManagementServerNetworkArrayOutput() ManagementServerNetworkArrayOutput
func (ManagementServerNetworkArray) ToManagementServerNetworkArrayOutputWithContext ¶
func (i ManagementServerNetworkArray) ToManagementServerNetworkArrayOutputWithContext(ctx context.Context) ManagementServerNetworkArrayOutput
type ManagementServerNetworkArrayInput ¶
type ManagementServerNetworkArrayInput interface { pulumi.Input ToManagementServerNetworkArrayOutput() ManagementServerNetworkArrayOutput ToManagementServerNetworkArrayOutputWithContext(context.Context) ManagementServerNetworkArrayOutput }
ManagementServerNetworkArrayInput is an input type that accepts ManagementServerNetworkArray and ManagementServerNetworkArrayOutput values. You can construct a concrete instance of `ManagementServerNetworkArrayInput` via:
ManagementServerNetworkArray{ ManagementServerNetworkArgs{...} }
type ManagementServerNetworkArrayOutput ¶
type ManagementServerNetworkArrayOutput struct{ *pulumi.OutputState }
func (ManagementServerNetworkArrayOutput) ElementType ¶
func (ManagementServerNetworkArrayOutput) ElementType() reflect.Type
func (ManagementServerNetworkArrayOutput) Index ¶
func (o ManagementServerNetworkArrayOutput) Index(i pulumi.IntInput) ManagementServerNetworkOutput
func (ManagementServerNetworkArrayOutput) ToManagementServerNetworkArrayOutput ¶
func (o ManagementServerNetworkArrayOutput) ToManagementServerNetworkArrayOutput() ManagementServerNetworkArrayOutput
func (ManagementServerNetworkArrayOutput) ToManagementServerNetworkArrayOutputWithContext ¶
func (o ManagementServerNetworkArrayOutput) ToManagementServerNetworkArrayOutputWithContext(ctx context.Context) ManagementServerNetworkArrayOutput
type ManagementServerNetworkInput ¶
type ManagementServerNetworkInput interface { pulumi.Input ToManagementServerNetworkOutput() ManagementServerNetworkOutput ToManagementServerNetworkOutputWithContext(context.Context) ManagementServerNetworkOutput }
ManagementServerNetworkInput is an input type that accepts ManagementServerNetworkArgs and ManagementServerNetworkOutput values. You can construct a concrete instance of `ManagementServerNetworkInput` via:
ManagementServerNetworkArgs{...}
type ManagementServerNetworkOutput ¶
type ManagementServerNetworkOutput struct{ *pulumi.OutputState }
func (ManagementServerNetworkOutput) ElementType ¶
func (ManagementServerNetworkOutput) ElementType() reflect.Type
func (ManagementServerNetworkOutput) Network ¶
func (o ManagementServerNetworkOutput) Network() pulumi.StringOutput
Network with format `projects/{{project_id}}/global/networks/{{network_id}}`
func (ManagementServerNetworkOutput) PeeringMode ¶
func (o ManagementServerNetworkOutput) PeeringMode() pulumi.StringPtrOutput
Type of Network peeringMode Default value is `PRIVATE_SERVICE_ACCESS`. Possible values are: `PRIVATE_SERVICE_ACCESS`.
***
func (ManagementServerNetworkOutput) ToManagementServerNetworkOutput ¶
func (o ManagementServerNetworkOutput) ToManagementServerNetworkOutput() ManagementServerNetworkOutput
func (ManagementServerNetworkOutput) ToManagementServerNetworkOutputWithContext ¶
func (o ManagementServerNetworkOutput) ToManagementServerNetworkOutputWithContext(ctx context.Context) ManagementServerNetworkOutput
type ManagementServerOutput ¶
type ManagementServerOutput struct{ *pulumi.OutputState }
func (ManagementServerOutput) ElementType ¶
func (ManagementServerOutput) ElementType() reflect.Type
func (ManagementServerOutput) Location ¶
func (o ManagementServerOutput) Location() pulumi.StringOutput
The location for the management server (management console)
func (ManagementServerOutput) ManagementUris ¶
func (o ManagementServerOutput) ManagementUris() ManagementServerManagementUriArrayOutput
The management console URI Structure is documented below.
func (ManagementServerOutput) Name ¶
func (o ManagementServerOutput) Name() pulumi.StringOutput
The name of management server (management console)
func (ManagementServerOutput) Networks ¶
func (o ManagementServerOutput) Networks() ManagementServerNetworkArrayOutput
Network details to create management server (management console). Structure is documented below.
func (ManagementServerOutput) Oauth2ClientId ¶
func (o ManagementServerOutput) Oauth2ClientId() pulumi.StringOutput
The oauth2ClientId of management console.
func (ManagementServerOutput) Project ¶
func (o ManagementServerOutput) Project() pulumi.StringOutput
func (ManagementServerOutput) ToManagementServerOutput ¶
func (o ManagementServerOutput) ToManagementServerOutput() ManagementServerOutput
func (ManagementServerOutput) ToManagementServerOutputWithContext ¶
func (o ManagementServerOutput) ToManagementServerOutputWithContext(ctx context.Context) ManagementServerOutput
func (ManagementServerOutput) Type ¶
func (o ManagementServerOutput) Type() pulumi.StringPtrOutput
The type of management server (management console). Default value: "BACKUP_RESTORE" Possible values: ["BACKUP_RESTORE"]
type ManagementServerState ¶
type ManagementServerState struct { // The location for the management server (management console) Location pulumi.StringPtrInput // The management console URI // Structure is documented below. ManagementUris ManagementServerManagementUriArrayInput // The name of management server (management console) Name pulumi.StringPtrInput // Network details to create management server (management console). // Structure is documented below. Networks ManagementServerNetworkArrayInput // The oauth2ClientId of management console. Oauth2ClientId pulumi.StringPtrInput Project pulumi.StringPtrInput // The type of management server (management console). Default value: "BACKUP_RESTORE" Possible values: ["BACKUP_RESTORE"] Type pulumi.StringPtrInput }
func (ManagementServerState) ElementType ¶
func (ManagementServerState) ElementType() reflect.Type