Documentation ¶
Index ¶
- type GetTokenArgs
- type GetTokenOutputArgs
- type GetTokenResult
- type GetTokenResultOutput
- func (GetTokenResultOutput) ElementType() reflect.Type
- func (o GetTokenResultOutput) Id() pulumi.StringOutput
- func (o GetTokenResultOutput) Identifier() pulumi.StringOutput
- func (o GetTokenResultOutput) ToGetTokenResultOutput() GetTokenResultOutput
- func (o GetTokenResultOutput) ToGetTokenResultOutputWithContext(ctx context.Context) GetTokenResultOutput
- func (o GetTokenResultOutput) Token() pulumi.StringOutput
- func (o GetTokenResultOutput) Type() pulumi.StringOutput
- func (o GetTokenResultOutput) VerificationMethod() pulumi.StringOutput
- type Owner
- type OwnerArgs
- type OwnerArray
- type OwnerArrayInput
- type OwnerArrayOutput
- type OwnerInput
- type OwnerMap
- type OwnerMapInput
- type OwnerMapOutput
- type OwnerOutput
- type OwnerState
- type WebResource
- type WebResourceArgs
- type WebResourceArray
- type WebResourceArrayInput
- type WebResourceArrayOutput
- func (WebResourceArrayOutput) ElementType() reflect.Type
- func (o WebResourceArrayOutput) Index(i pulumi.IntInput) WebResourceOutput
- func (o WebResourceArrayOutput) ToWebResourceArrayOutput() WebResourceArrayOutput
- func (o WebResourceArrayOutput) ToWebResourceArrayOutputWithContext(ctx context.Context) WebResourceArrayOutput
- type WebResourceInput
- type WebResourceMap
- type WebResourceMapInput
- type WebResourceMapOutput
- func (WebResourceMapOutput) ElementType() reflect.Type
- func (o WebResourceMapOutput) MapIndex(k pulumi.StringInput) WebResourceOutput
- func (o WebResourceMapOutput) ToWebResourceMapOutput() WebResourceMapOutput
- func (o WebResourceMapOutput) ToWebResourceMapOutputWithContext(ctx context.Context) WebResourceMapOutput
- type WebResourceOutput
- func (WebResourceOutput) ElementType() reflect.Type
- func (o WebResourceOutput) Owners() pulumi.StringArrayOutput
- func (o WebResourceOutput) Site() WebResourceSiteOutput
- func (o WebResourceOutput) ToWebResourceOutput() WebResourceOutput
- func (o WebResourceOutput) ToWebResourceOutputWithContext(ctx context.Context) WebResourceOutput
- func (o WebResourceOutput) VerificationMethod() pulumi.StringOutput
- func (o WebResourceOutput) WebResourceId() pulumi.StringOutput
- type WebResourceSite
- type WebResourceSiteArgs
- func (WebResourceSiteArgs) ElementType() reflect.Type
- func (i WebResourceSiteArgs) ToWebResourceSiteOutput() WebResourceSiteOutput
- func (i WebResourceSiteArgs) ToWebResourceSiteOutputWithContext(ctx context.Context) WebResourceSiteOutput
- func (i WebResourceSiteArgs) ToWebResourceSitePtrOutput() WebResourceSitePtrOutput
- func (i WebResourceSiteArgs) ToWebResourceSitePtrOutputWithContext(ctx context.Context) WebResourceSitePtrOutput
- type WebResourceSiteInput
- type WebResourceSiteOutput
- func (WebResourceSiteOutput) ElementType() reflect.Type
- func (o WebResourceSiteOutput) Identifier() pulumi.StringOutput
- func (o WebResourceSiteOutput) ToWebResourceSiteOutput() WebResourceSiteOutput
- func (o WebResourceSiteOutput) ToWebResourceSiteOutputWithContext(ctx context.Context) WebResourceSiteOutput
- func (o WebResourceSiteOutput) ToWebResourceSitePtrOutput() WebResourceSitePtrOutput
- func (o WebResourceSiteOutput) ToWebResourceSitePtrOutputWithContext(ctx context.Context) WebResourceSitePtrOutput
- func (o WebResourceSiteOutput) Type() pulumi.StringOutput
- type WebResourceSitePtrInput
- type WebResourceSitePtrOutput
- func (o WebResourceSitePtrOutput) Elem() WebResourceSiteOutput
- func (WebResourceSitePtrOutput) ElementType() reflect.Type
- func (o WebResourceSitePtrOutput) Identifier() pulumi.StringPtrOutput
- func (o WebResourceSitePtrOutput) ToWebResourceSitePtrOutput() WebResourceSitePtrOutput
- func (o WebResourceSitePtrOutput) ToWebResourceSitePtrOutputWithContext(ctx context.Context) WebResourceSitePtrOutput
- func (o WebResourceSitePtrOutput) Type() pulumi.StringPtrOutput
- type WebResourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetTokenArgs ¶
type GetTokenArgs struct { // The site identifier. If the type is set to SITE, the identifier is a URL. If the type is // set to INET_DOMAIN, the identifier is a domain name. Identifier string `pulumi:"identifier"` // The type of resource to be verified, either a domain or a web site. // Possible values are: `INET_DOMAIN`, `SITE`. Type string `pulumi:"type"` // The verification method for the Site Verification system to use to verify // this site or domain. // Possible values are: `ANALYTICS`, `DNS_CNAME`, `DNS_TXT`, `FILE`, `META`, `TAG_MANAGER`. // // *** VerificationMethod string `pulumi:"verificationMethod"` }
A collection of arguments for invoking getToken.
type GetTokenOutputArgs ¶
type GetTokenOutputArgs struct { // The site identifier. If the type is set to SITE, the identifier is a URL. If the type is // set to INET_DOMAIN, the identifier is a domain name. Identifier pulumi.StringInput `pulumi:"identifier"` // The type of resource to be verified, either a domain or a web site. // Possible values are: `INET_DOMAIN`, `SITE`. Type pulumi.StringInput `pulumi:"type"` // The verification method for the Site Verification system to use to verify // this site or domain. // Possible values are: `ANALYTICS`, `DNS_CNAME`, `DNS_TXT`, `FILE`, `META`, `TAG_MANAGER`. // // *** VerificationMethod pulumi.StringInput `pulumi:"verificationMethod"` }
A collection of arguments for invoking getToken.
func (GetTokenOutputArgs) ElementType ¶
func (GetTokenOutputArgs) ElementType() reflect.Type
type GetTokenResult ¶
type GetTokenResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Identifier string `pulumi:"identifier"` // The generated token for use in subsequent verification steps. Token string `pulumi:"token"` Type string `pulumi:"type"` VerificationMethod string `pulumi:"verificationMethod"` }
A collection of values returned by getToken.
func GetToken ¶
func GetToken(ctx *pulumi.Context, args *GetTokenArgs, opts ...pulumi.InvokeOption) (*GetTokenResult, error)
A verification token is used to demonstrate ownership of a website or domain.
To get more information about Token, see:
* [API documentation](https://developers.google.com/site-verification/v1) * How-to Guides
- [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
## Example Usage
### Site Verification Via Site META Tag
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/siteverification" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := siteverification.GetToken(ctx, &siteverification.GetTokenArgs{ Type: "SITE", Identifier: "https://www.example.com", VerificationMethod: "META", }, nil) if err != nil { return err } return nil }) }
```
### Site Verification Via DNS TXT Record
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/siteverification" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := siteverification.GetToken(ctx, &siteverification.GetTokenArgs{ Type: "INET_DOMAIN", Identifier: "www.example.com", VerificationMethod: "DNS_TXT", }, nil) if err != nil { return err } return nil }) }
```
type GetTokenResultOutput ¶
type GetTokenResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getToken.
func GetTokenOutput ¶
func GetTokenOutput(ctx *pulumi.Context, args GetTokenOutputArgs, opts ...pulumi.InvokeOption) GetTokenResultOutput
func (GetTokenResultOutput) ElementType ¶
func (GetTokenResultOutput) ElementType() reflect.Type
func (GetTokenResultOutput) Id ¶
func (o GetTokenResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetTokenResultOutput) Identifier ¶
func (o GetTokenResultOutput) Identifier() pulumi.StringOutput
func (GetTokenResultOutput) ToGetTokenResultOutput ¶
func (o GetTokenResultOutput) ToGetTokenResultOutput() GetTokenResultOutput
func (GetTokenResultOutput) ToGetTokenResultOutputWithContext ¶
func (o GetTokenResultOutput) ToGetTokenResultOutputWithContext(ctx context.Context) GetTokenResultOutput
func (GetTokenResultOutput) Token ¶
func (o GetTokenResultOutput) Token() pulumi.StringOutput
The generated token for use in subsequent verification steps.
func (GetTokenResultOutput) Type ¶
func (o GetTokenResultOutput) Type() pulumi.StringOutput
func (GetTokenResultOutput) VerificationMethod ¶
func (o GetTokenResultOutput) VerificationMethod() pulumi.StringOutput
type Owner ¶ added in v8.5.0
type Owner struct { pulumi.CustomResourceState // The email of the user to be added as an owner. // // *** Email pulumi.StringOutput `pulumi:"email"` // The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`, // such as `webResource/https://www.example.com/` WebResourceId pulumi.StringOutput `pulumi:"webResourceId"` }
An owner is an additional user that may manage a verified web site in the [Google Search Console](https://www.google.com/webmasters/tools/). There are two types of web resource owners:
- Verified owners, which are added to a web resource automatically when it is created (i.e., when the resource is verified). A verified owner is determined by the identity of the user requesting verification.
- Additional owners, which can be added to the resource by verified owners.
`siteverification.Owner` creates additional owners. If your web site was verified using the `siteverification.WebResource` resource then you (or the identity was used to create the resource, such as a service account) are already an owner.
> **Note:** The email address of the owner must belong to a Google account, such as a Gmail account, a Google Workspace account, or a GCP service account.
Working with site verification requires the `https://www.googleapis.com/auth/siteverification` authentication scope. See the Google Provider authentication documentation to learn how to configure additional scopes.
To get more information about site owners, see:
* [API documentation](https://developers.google.com/site-verification/v1) * How-to Guides
- [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
## Example Usage
### Site Verification Storage Bucket
This example uses the `FILE` verification method to verify ownership of web site hosted in a Google Cloud Storage bucket. Ownership is proved by creating a file with a Google-provided value in a known location. The user applying this configuration will automatically be added as a verified owner, and the `siteverification.Owner` resource will add `user@example.com` as an additional owner.
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/siteverification" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{ Name: pulumi.String("example-storage-bucket"), Location: pulumi.String("US"), }) if err != nil { return err } token := siteverification.GetTokenOutput(ctx, siteverification.GetTokenOutputArgs{ Type: pulumi.String("SITE"), Identifier: bucket.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("https://%v.storage.googleapis.com/", name), nil }).(pulumi.StringOutput), VerificationMethod: pulumi.String("FILE"), }, nil) object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{ Name: pulumi.String(token.ApplyT(func(token siteverification.GetTokenResult) (*string, error) { return &token.Token, nil }).(pulumi.StringPtrOutput)), Content: token.ApplyT(func(token siteverification.GetTokenResult) (string, error) { return fmt.Sprintf("google-site-verification: %v", token.Token), nil }).(pulumi.StringOutput), Bucket: bucket.Name, }) if err != nil { return err } _, err = storage.NewObjectAccessControl(ctx, "public_rule", &storage.ObjectAccessControlArgs{ Bucket: bucket.Name, Object: object.Name, Role: pulumi.String("READER"), Entity: pulumi.String("allUsers"), }) if err != nil { return err } example, err := siteverification.NewWebResource(ctx, "example", &siteverification.WebResourceArgs{ Site: &siteverification.WebResourceSiteArgs{ Type: token.ApplyT(func(token siteverification.GetTokenResult) (*string, error) { return &token.Type, nil }).(pulumi.StringPtrOutput), Identifier: token.ApplyT(func(token siteverification.GetTokenResult) (*string, error) { return &token.Identifier, nil }).(pulumi.StringPtrOutput), }, VerificationMethod: pulumi.String(token.ApplyT(func(token siteverification.GetTokenResult) (*string, error) { return &token.VerificationMethod, nil }).(pulumi.StringPtrOutput)), }) if err != nil { return err } _, err = siteverification.NewOwner(ctx, "example", &siteverification.OwnerArgs{ WebResourceId: example.ID(), Email: pulumi.String("user@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
Owner can be imported using this format:
* `webResource/{{web_resource_id}}/{{email}}`
When using the `pulumi import` command, Site owners can be imported using the format above. For example:
```sh $ pulumi import gcp:siteverification/owner:Owner default webResource/{{web_resource_id}}/{{email}} ```
verified owners is to delete the web resource itself.
func GetOwner ¶ added in v8.5.0
func GetOwner(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OwnerState, opts ...pulumi.ResourceOption) (*Owner, error)
GetOwner gets an existing Owner 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 NewOwner ¶ added in v8.5.0
func NewOwner(ctx *pulumi.Context, name string, args *OwnerArgs, opts ...pulumi.ResourceOption) (*Owner, error)
NewOwner registers a new resource with the given unique name, arguments, and options.
func (*Owner) ElementType ¶ added in v8.5.0
func (*Owner) ToOwnerOutput ¶ added in v8.5.0
func (i *Owner) ToOwnerOutput() OwnerOutput
func (*Owner) ToOwnerOutputWithContext ¶ added in v8.5.0
func (i *Owner) ToOwnerOutputWithContext(ctx context.Context) OwnerOutput
type OwnerArgs ¶ added in v8.5.0
type OwnerArgs struct { // The email of the user to be added as an owner. // // *** Email pulumi.StringInput // The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`, // such as `webResource/https://www.example.com/` WebResourceId pulumi.StringInput }
The set of arguments for constructing a Owner resource.
func (OwnerArgs) ElementType ¶ added in v8.5.0
type OwnerArray ¶ added in v8.5.0
type OwnerArray []OwnerInput
func (OwnerArray) ElementType ¶ added in v8.5.0
func (OwnerArray) ElementType() reflect.Type
func (OwnerArray) ToOwnerArrayOutput ¶ added in v8.5.0
func (i OwnerArray) ToOwnerArrayOutput() OwnerArrayOutput
func (OwnerArray) ToOwnerArrayOutputWithContext ¶ added in v8.5.0
func (i OwnerArray) ToOwnerArrayOutputWithContext(ctx context.Context) OwnerArrayOutput
type OwnerArrayInput ¶ added in v8.5.0
type OwnerArrayInput interface { pulumi.Input ToOwnerArrayOutput() OwnerArrayOutput ToOwnerArrayOutputWithContext(context.Context) OwnerArrayOutput }
OwnerArrayInput is an input type that accepts OwnerArray and OwnerArrayOutput values. You can construct a concrete instance of `OwnerArrayInput` via:
OwnerArray{ OwnerArgs{...} }
type OwnerArrayOutput ¶ added in v8.5.0
type OwnerArrayOutput struct{ *pulumi.OutputState }
func (OwnerArrayOutput) ElementType ¶ added in v8.5.0
func (OwnerArrayOutput) ElementType() reflect.Type
func (OwnerArrayOutput) Index ¶ added in v8.5.0
func (o OwnerArrayOutput) Index(i pulumi.IntInput) OwnerOutput
func (OwnerArrayOutput) ToOwnerArrayOutput ¶ added in v8.5.0
func (o OwnerArrayOutput) ToOwnerArrayOutput() OwnerArrayOutput
func (OwnerArrayOutput) ToOwnerArrayOutputWithContext ¶ added in v8.5.0
func (o OwnerArrayOutput) ToOwnerArrayOutputWithContext(ctx context.Context) OwnerArrayOutput
type OwnerInput ¶ added in v8.5.0
type OwnerInput interface { pulumi.Input ToOwnerOutput() OwnerOutput ToOwnerOutputWithContext(ctx context.Context) OwnerOutput }
type OwnerMap ¶ added in v8.5.0
type OwnerMap map[string]OwnerInput
func (OwnerMap) ElementType ¶ added in v8.5.0
func (OwnerMap) ToOwnerMapOutput ¶ added in v8.5.0
func (i OwnerMap) ToOwnerMapOutput() OwnerMapOutput
func (OwnerMap) ToOwnerMapOutputWithContext ¶ added in v8.5.0
func (i OwnerMap) ToOwnerMapOutputWithContext(ctx context.Context) OwnerMapOutput
type OwnerMapInput ¶ added in v8.5.0
type OwnerMapInput interface { pulumi.Input ToOwnerMapOutput() OwnerMapOutput ToOwnerMapOutputWithContext(context.Context) OwnerMapOutput }
OwnerMapInput is an input type that accepts OwnerMap and OwnerMapOutput values. You can construct a concrete instance of `OwnerMapInput` via:
OwnerMap{ "key": OwnerArgs{...} }
type OwnerMapOutput ¶ added in v8.5.0
type OwnerMapOutput struct{ *pulumi.OutputState }
func (OwnerMapOutput) ElementType ¶ added in v8.5.0
func (OwnerMapOutput) ElementType() reflect.Type
func (OwnerMapOutput) MapIndex ¶ added in v8.5.0
func (o OwnerMapOutput) MapIndex(k pulumi.StringInput) OwnerOutput
func (OwnerMapOutput) ToOwnerMapOutput ¶ added in v8.5.0
func (o OwnerMapOutput) ToOwnerMapOutput() OwnerMapOutput
func (OwnerMapOutput) ToOwnerMapOutputWithContext ¶ added in v8.5.0
func (o OwnerMapOutput) ToOwnerMapOutputWithContext(ctx context.Context) OwnerMapOutput
type OwnerOutput ¶ added in v8.5.0
type OwnerOutput struct{ *pulumi.OutputState }
func (OwnerOutput) ElementType ¶ added in v8.5.0
func (OwnerOutput) ElementType() reflect.Type
func (OwnerOutput) Email ¶ added in v8.5.0
func (o OwnerOutput) Email() pulumi.StringOutput
The email of the user to be added as an owner.
***
func (OwnerOutput) ToOwnerOutput ¶ added in v8.5.0
func (o OwnerOutput) ToOwnerOutput() OwnerOutput
func (OwnerOutput) ToOwnerOutputWithContext ¶ added in v8.5.0
func (o OwnerOutput) ToOwnerOutputWithContext(ctx context.Context) OwnerOutput
func (OwnerOutput) WebResourceId ¶ added in v8.5.0
func (o OwnerOutput) WebResourceId() pulumi.StringOutput
The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`, such as `webResource/https://www.example.com/`
type OwnerState ¶ added in v8.5.0
type OwnerState struct { // The email of the user to be added as an owner. // // *** Email pulumi.StringPtrInput // The id of of the web resource to which the owner will be added, in the form `webResource/<resource_id>`, // such as `webResource/https://www.example.com/` WebResourceId pulumi.StringPtrInput }
func (OwnerState) ElementType ¶ added in v8.5.0
func (OwnerState) ElementType() reflect.Type
type WebResource ¶ added in v8.3.0
type WebResource struct { pulumi.CustomResourceState // The email addresses of all direct, verified owners of this exact property. Indirect owners — // for example verified owners of the containing domain—are not included in this list. Owners pulumi.StringArrayOutput `pulumi:"owners"` // Container for the address and type of a site for which a verification token will be verified. // Structure is documented below. Site WebResourceSiteOutput `pulumi:"site"` // The verification method for the Site Verification system to use to verify // this site or domain. // Possible values are: `ANALYTICS`, `DNS_CNAME`, `DNS_TXT`, `FILE`, `META`, `TAG_MANAGER`. VerificationMethod pulumi.StringOutput `pulumi:"verificationMethod"` // The string used to identify this web resource. WebResourceId pulumi.StringOutput `pulumi:"webResourceId"` }
A web resource is a website or domain with verified ownership. Once your ownership is verified you will be able to manage your website in the [Google Search Console](https://www.google.com/webmasters/tools/).
> **Note:** The verification data (DNS `TXT` record, HTML file, `meta` tag, etc.) must already exist before the web resource is created, and must be deleted before the web resource is destroyed. The Google Site Verification API checks that the verification data exists at creation time and does not exist at destruction time and will fail if the required condition is not met.
To get more information about WebResource, see:
* [API documentation](https://developers.google.com/site-verification/v1) * How-to Guides
- [Getting Started](https://developers.google.com/site-verification/v1/getting_started)
## Example Usage
### Site Verification Domain Record
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/dns" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/siteverification" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { token, err := siteverification.GetToken(ctx, &siteverification.GetTokenArgs{ Type: "INET_DOMAIN", Identifier: "www.example.com", VerificationMethod: "DNS_TXT", }, nil) if err != nil { return err } example, err := dns.NewRecordSet(ctx, "example", &dns.RecordSetArgs{ ManagedZone: pulumi.String("example.com"), Name: pulumi.String("www.example.com."), Type: pulumi.String("TXT"), Rrdatas: pulumi.StringArray{ pulumi.String(token.Token), }, Ttl: pulumi.Int(86400), }) if err != nil { return err } _, err = siteverification.NewWebResource(ctx, "example", &siteverification.WebResourceArgs{ Site: &siteverification.WebResourceSiteArgs{ Type: pulumi.String(token.Type), Identifier: pulumi.String(token.Identifier), }, VerificationMethod: pulumi.String(token.VerificationMethod), }, pulumi.DependsOn([]pulumi.Resource{ example, })) if err != nil { return err } return nil }) }
```
## Import
WebResource can be imported using any of these accepted formats:
* `webResource/{{web_resource_id}}`
* `{{web_resource_id}}`
When using the `pulumi import` command, WebResource can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:siteverification/webResource:WebResource default webResource/{{web_resource_id}} ```
```sh $ pulumi import gcp:siteverification/webResource:WebResource default {{web_resource_id}} ```
func GetWebResource ¶ added in v8.3.0
func GetWebResource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WebResourceState, opts ...pulumi.ResourceOption) (*WebResource, error)
GetWebResource gets an existing WebResource 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 NewWebResource ¶ added in v8.3.0
func NewWebResource(ctx *pulumi.Context, name string, args *WebResourceArgs, opts ...pulumi.ResourceOption) (*WebResource, error)
NewWebResource registers a new resource with the given unique name, arguments, and options.
func (*WebResource) ElementType ¶ added in v8.3.0
func (*WebResource) ElementType() reflect.Type
func (*WebResource) ToWebResourceOutput ¶ added in v8.3.0
func (i *WebResource) ToWebResourceOutput() WebResourceOutput
func (*WebResource) ToWebResourceOutputWithContext ¶ added in v8.3.0
func (i *WebResource) ToWebResourceOutputWithContext(ctx context.Context) WebResourceOutput
type WebResourceArgs ¶ added in v8.3.0
type WebResourceArgs struct { // Container for the address and type of a site for which a verification token will be verified. // Structure is documented below. Site WebResourceSiteInput // The verification method for the Site Verification system to use to verify // this site or domain. // Possible values are: `ANALYTICS`, `DNS_CNAME`, `DNS_TXT`, `FILE`, `META`, `TAG_MANAGER`. VerificationMethod pulumi.StringInput }
The set of arguments for constructing a WebResource resource.
func (WebResourceArgs) ElementType ¶ added in v8.3.0
func (WebResourceArgs) ElementType() reflect.Type
type WebResourceArray ¶ added in v8.3.0
type WebResourceArray []WebResourceInput
func (WebResourceArray) ElementType ¶ added in v8.3.0
func (WebResourceArray) ElementType() reflect.Type
func (WebResourceArray) ToWebResourceArrayOutput ¶ added in v8.3.0
func (i WebResourceArray) ToWebResourceArrayOutput() WebResourceArrayOutput
func (WebResourceArray) ToWebResourceArrayOutputWithContext ¶ added in v8.3.0
func (i WebResourceArray) ToWebResourceArrayOutputWithContext(ctx context.Context) WebResourceArrayOutput
type WebResourceArrayInput ¶ added in v8.3.0
type WebResourceArrayInput interface { pulumi.Input ToWebResourceArrayOutput() WebResourceArrayOutput ToWebResourceArrayOutputWithContext(context.Context) WebResourceArrayOutput }
WebResourceArrayInput is an input type that accepts WebResourceArray and WebResourceArrayOutput values. You can construct a concrete instance of `WebResourceArrayInput` via:
WebResourceArray{ WebResourceArgs{...} }
type WebResourceArrayOutput ¶ added in v8.3.0
type WebResourceArrayOutput struct{ *pulumi.OutputState }
func (WebResourceArrayOutput) ElementType ¶ added in v8.3.0
func (WebResourceArrayOutput) ElementType() reflect.Type
func (WebResourceArrayOutput) Index ¶ added in v8.3.0
func (o WebResourceArrayOutput) Index(i pulumi.IntInput) WebResourceOutput
func (WebResourceArrayOutput) ToWebResourceArrayOutput ¶ added in v8.3.0
func (o WebResourceArrayOutput) ToWebResourceArrayOutput() WebResourceArrayOutput
func (WebResourceArrayOutput) ToWebResourceArrayOutputWithContext ¶ added in v8.3.0
func (o WebResourceArrayOutput) ToWebResourceArrayOutputWithContext(ctx context.Context) WebResourceArrayOutput
type WebResourceInput ¶ added in v8.3.0
type WebResourceInput interface { pulumi.Input ToWebResourceOutput() WebResourceOutput ToWebResourceOutputWithContext(ctx context.Context) WebResourceOutput }
type WebResourceMap ¶ added in v8.3.0
type WebResourceMap map[string]WebResourceInput
func (WebResourceMap) ElementType ¶ added in v8.3.0
func (WebResourceMap) ElementType() reflect.Type
func (WebResourceMap) ToWebResourceMapOutput ¶ added in v8.3.0
func (i WebResourceMap) ToWebResourceMapOutput() WebResourceMapOutput
func (WebResourceMap) ToWebResourceMapOutputWithContext ¶ added in v8.3.0
func (i WebResourceMap) ToWebResourceMapOutputWithContext(ctx context.Context) WebResourceMapOutput
type WebResourceMapInput ¶ added in v8.3.0
type WebResourceMapInput interface { pulumi.Input ToWebResourceMapOutput() WebResourceMapOutput ToWebResourceMapOutputWithContext(context.Context) WebResourceMapOutput }
WebResourceMapInput is an input type that accepts WebResourceMap and WebResourceMapOutput values. You can construct a concrete instance of `WebResourceMapInput` via:
WebResourceMap{ "key": WebResourceArgs{...} }
type WebResourceMapOutput ¶ added in v8.3.0
type WebResourceMapOutput struct{ *pulumi.OutputState }
func (WebResourceMapOutput) ElementType ¶ added in v8.3.0
func (WebResourceMapOutput) ElementType() reflect.Type
func (WebResourceMapOutput) MapIndex ¶ added in v8.3.0
func (o WebResourceMapOutput) MapIndex(k pulumi.StringInput) WebResourceOutput
func (WebResourceMapOutput) ToWebResourceMapOutput ¶ added in v8.3.0
func (o WebResourceMapOutput) ToWebResourceMapOutput() WebResourceMapOutput
func (WebResourceMapOutput) ToWebResourceMapOutputWithContext ¶ added in v8.3.0
func (o WebResourceMapOutput) ToWebResourceMapOutputWithContext(ctx context.Context) WebResourceMapOutput
type WebResourceOutput ¶ added in v8.3.0
type WebResourceOutput struct{ *pulumi.OutputState }
func (WebResourceOutput) ElementType ¶ added in v8.3.0
func (WebResourceOutput) ElementType() reflect.Type
func (WebResourceOutput) Owners ¶ added in v8.3.0
func (o WebResourceOutput) Owners() pulumi.StringArrayOutput
The email addresses of all direct, verified owners of this exact property. Indirect owners — for example verified owners of the containing domain—are not included in this list.
func (WebResourceOutput) Site ¶ added in v8.3.0
func (o WebResourceOutput) Site() WebResourceSiteOutput
Container for the address and type of a site for which a verification token will be verified. Structure is documented below.
func (WebResourceOutput) ToWebResourceOutput ¶ added in v8.3.0
func (o WebResourceOutput) ToWebResourceOutput() WebResourceOutput
func (WebResourceOutput) ToWebResourceOutputWithContext ¶ added in v8.3.0
func (o WebResourceOutput) ToWebResourceOutputWithContext(ctx context.Context) WebResourceOutput
func (WebResourceOutput) VerificationMethod ¶ added in v8.3.0
func (o WebResourceOutput) VerificationMethod() pulumi.StringOutput
The verification method for the Site Verification system to use to verify this site or domain. Possible values are: `ANALYTICS`, `DNS_CNAME`, `DNS_TXT`, `FILE`, `META`, `TAG_MANAGER`.
func (WebResourceOutput) WebResourceId ¶ added in v8.3.0
func (o WebResourceOutput) WebResourceId() pulumi.StringOutput
The string used to identify this web resource.
type WebResourceSite ¶ added in v8.3.0
type WebResourceSite struct { // The site identifier. If the type is set to SITE, the identifier is a URL. If the type is // set to INET_DOMAIN, the identifier is a domain name. // // *** Identifier string `pulumi:"identifier"` // The type of resource to be verified. // Possible values are: `INET_DOMAIN`, `SITE`. Type string `pulumi:"type"` }
type WebResourceSiteArgs ¶ added in v8.3.0
type WebResourceSiteArgs struct { // The site identifier. If the type is set to SITE, the identifier is a URL. If the type is // set to INET_DOMAIN, the identifier is a domain name. // // *** Identifier pulumi.StringInput `pulumi:"identifier"` // The type of resource to be verified. // Possible values are: `INET_DOMAIN`, `SITE`. Type pulumi.StringInput `pulumi:"type"` }
func (WebResourceSiteArgs) ElementType ¶ added in v8.3.0
func (WebResourceSiteArgs) ElementType() reflect.Type
func (WebResourceSiteArgs) ToWebResourceSiteOutput ¶ added in v8.3.0
func (i WebResourceSiteArgs) ToWebResourceSiteOutput() WebResourceSiteOutput
func (WebResourceSiteArgs) ToWebResourceSiteOutputWithContext ¶ added in v8.3.0
func (i WebResourceSiteArgs) ToWebResourceSiteOutputWithContext(ctx context.Context) WebResourceSiteOutput
func (WebResourceSiteArgs) ToWebResourceSitePtrOutput ¶ added in v8.3.0
func (i WebResourceSiteArgs) ToWebResourceSitePtrOutput() WebResourceSitePtrOutput
func (WebResourceSiteArgs) ToWebResourceSitePtrOutputWithContext ¶ added in v8.3.0
func (i WebResourceSiteArgs) ToWebResourceSitePtrOutputWithContext(ctx context.Context) WebResourceSitePtrOutput
type WebResourceSiteInput ¶ added in v8.3.0
type WebResourceSiteInput interface { pulumi.Input ToWebResourceSiteOutput() WebResourceSiteOutput ToWebResourceSiteOutputWithContext(context.Context) WebResourceSiteOutput }
WebResourceSiteInput is an input type that accepts WebResourceSiteArgs and WebResourceSiteOutput values. You can construct a concrete instance of `WebResourceSiteInput` via:
WebResourceSiteArgs{...}
type WebResourceSiteOutput ¶ added in v8.3.0
type WebResourceSiteOutput struct{ *pulumi.OutputState }
func (WebResourceSiteOutput) ElementType ¶ added in v8.3.0
func (WebResourceSiteOutput) ElementType() reflect.Type
func (WebResourceSiteOutput) Identifier ¶ added in v8.3.0
func (o WebResourceSiteOutput) Identifier() pulumi.StringOutput
The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the identifier is a domain name.
***
func (WebResourceSiteOutput) ToWebResourceSiteOutput ¶ added in v8.3.0
func (o WebResourceSiteOutput) ToWebResourceSiteOutput() WebResourceSiteOutput
func (WebResourceSiteOutput) ToWebResourceSiteOutputWithContext ¶ added in v8.3.0
func (o WebResourceSiteOutput) ToWebResourceSiteOutputWithContext(ctx context.Context) WebResourceSiteOutput
func (WebResourceSiteOutput) ToWebResourceSitePtrOutput ¶ added in v8.3.0
func (o WebResourceSiteOutput) ToWebResourceSitePtrOutput() WebResourceSitePtrOutput
func (WebResourceSiteOutput) ToWebResourceSitePtrOutputWithContext ¶ added in v8.3.0
func (o WebResourceSiteOutput) ToWebResourceSitePtrOutputWithContext(ctx context.Context) WebResourceSitePtrOutput
func (WebResourceSiteOutput) Type ¶ added in v8.3.0
func (o WebResourceSiteOutput) Type() pulumi.StringOutput
The type of resource to be verified. Possible values are: `INET_DOMAIN`, `SITE`.
type WebResourceSitePtrInput ¶ added in v8.3.0
type WebResourceSitePtrInput interface { pulumi.Input ToWebResourceSitePtrOutput() WebResourceSitePtrOutput ToWebResourceSitePtrOutputWithContext(context.Context) WebResourceSitePtrOutput }
WebResourceSitePtrInput is an input type that accepts WebResourceSiteArgs, WebResourceSitePtr and WebResourceSitePtrOutput values. You can construct a concrete instance of `WebResourceSitePtrInput` via:
WebResourceSiteArgs{...} or: nil
func WebResourceSitePtr ¶ added in v8.3.0
func WebResourceSitePtr(v *WebResourceSiteArgs) WebResourceSitePtrInput
type WebResourceSitePtrOutput ¶ added in v8.3.0
type WebResourceSitePtrOutput struct{ *pulumi.OutputState }
func (WebResourceSitePtrOutput) Elem ¶ added in v8.3.0
func (o WebResourceSitePtrOutput) Elem() WebResourceSiteOutput
func (WebResourceSitePtrOutput) ElementType ¶ added in v8.3.0
func (WebResourceSitePtrOutput) ElementType() reflect.Type
func (WebResourceSitePtrOutput) Identifier ¶ added in v8.3.0
func (o WebResourceSitePtrOutput) Identifier() pulumi.StringPtrOutput
The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the identifier is a domain name.
***
func (WebResourceSitePtrOutput) ToWebResourceSitePtrOutput ¶ added in v8.3.0
func (o WebResourceSitePtrOutput) ToWebResourceSitePtrOutput() WebResourceSitePtrOutput
func (WebResourceSitePtrOutput) ToWebResourceSitePtrOutputWithContext ¶ added in v8.3.0
func (o WebResourceSitePtrOutput) ToWebResourceSitePtrOutputWithContext(ctx context.Context) WebResourceSitePtrOutput
func (WebResourceSitePtrOutput) Type ¶ added in v8.3.0
func (o WebResourceSitePtrOutput) Type() pulumi.StringPtrOutput
The type of resource to be verified. Possible values are: `INET_DOMAIN`, `SITE`.
type WebResourceState ¶ added in v8.3.0
type WebResourceState struct { // The email addresses of all direct, verified owners of this exact property. Indirect owners — // for example verified owners of the containing domain—are not included in this list. Owners pulumi.StringArrayInput // Container for the address and type of a site for which a verification token will be verified. // Structure is documented below. Site WebResourceSitePtrInput // The verification method for the Site Verification system to use to verify // this site or domain. // Possible values are: `ANALYTICS`, `DNS_CNAME`, `DNS_TXT`, `FILE`, `META`, `TAG_MANAGER`. VerificationMethod pulumi.StringPtrInput // The string used to identify this web resource. WebResourceId pulumi.StringPtrInput }
func (WebResourceState) ElementType ¶ added in v8.3.0
func (WebResourceState) ElementType() reflect.Type