Documentation ¶
Index ¶
- 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 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