certificatemanager

package
v8.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	pulumi.CustomResourceState

	// A human-readable description of the resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// 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"`
	// Set of label tags associated with the Certificate resource.
	// **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 Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Configuration and state of a Managed Certificate.
	// Certificate Manager provisions and renews Managed Certificates
	// automatically, for as long as it's authorized to do so.
	// Structure is documented below.
	Managed CertificateManagedPtrOutput `pulumi:"managed"`
	// A user-defined name of the certificate. Certificate names must be unique
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	//
	// ***
	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"`
	// The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6)
	SanDnsnames pulumi.StringArrayOutput `pulumi:"sanDnsnames"`
	// The scope of the certificate.
	// DEFAULT: Certificates with default scope are served from core Google data centers.
	// If unsure, choose this option.
	// EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
	// See https://cloud.google.com/vpc/docs/edge-locations.
	// ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
	// See https://cloud.google.com/compute/docs/regions-zones
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// Certificate data for a SelfManaged Certificate.
	// SelfManaged Certificates are uploaded by the user. Updating such
	// certificates before they expire remains the user's responsibility.
	// Structure is documented below.
	SelfManaged CertificateSelfManagedPtrOutput `pulumi:"selfManaged"`
}

Certificate represents a HTTP-reachable backend for a Certificate.

## Example Usage

### Certificate Manager Google Managed Certificate Dns

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := certificatemanager.NewDnsAuthorization(ctx, "instance", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		instance2, err := certificatemanager.NewDnsAuthorization(ctx, "instance2", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth2"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain2.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificate(ctx, "default", &certificatemanager.CertificateArgs{
			Name:        pulumi.String("dns-cert"),
			Description: pulumi.String("The default cert"),
			Scope:       pulumi.String("EDGE_CACHE"),
			Labels: pulumi.StringMap{
				"env": pulumi.String("test"),
			},
			Managed: &certificatemanager.CertificateManagedArgs{
				Domains: pulumi.StringArray{
					instance.Domain,
					instance2.Domain,
				},
				DnsAuthorizations: pulumi.StringArray{
					instance.ID(),
					instance2.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Certificate Manager Google Managed Certificate Issuance Config

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificateauthority"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		pool, err := certificateauthority.NewCaPool(ctx, "pool", &certificateauthority.CaPoolArgs{
			Name:     pulumi.String("ca-pool"),
			Location: pulumi.String("us-central1"),
			Tier:     pulumi.String("ENTERPRISE"),
		})
		if err != nil {
			return err
		}
		caAuthority, err := certificateauthority.NewAuthority(ctx, "ca_authority", &certificateauthority.AuthorityArgs{
			Location:               pulumi.String("us-central1"),
			Pool:                   pool.Name,
			CertificateAuthorityId: pulumi.String("ca-authority"),
			Config: &certificateauthority.AuthorityConfigArgs{
				SubjectConfig: &certificateauthority.AuthorityConfigSubjectConfigArgs{
					Subject: &certificateauthority.AuthorityConfigSubjectConfigSubjectArgs{
						Organization: pulumi.String("HashiCorp"),
						CommonName:   pulumi.String("my-certificate-authority"),
					},
					SubjectAltName: &certificateauthority.AuthorityConfigSubjectConfigSubjectAltNameArgs{
						DnsNames: pulumi.StringArray{
							pulumi.String("hashicorp.com"),
						},
					},
				},
				X509Config: &certificateauthority.AuthorityConfigX509ConfigArgs{
					CaOptions: &certificateauthority.AuthorityConfigX509ConfigCaOptionsArgs{
						IsCa: pulumi.Bool(true),
					},
					KeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageArgs{
						BaseKeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageBaseKeyUsageArgs{
							CertSign: pulumi.Bool(true),
							CrlSign:  pulumi.Bool(true),
						},
						ExtendedKeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageExtendedKeyUsageArgs{
							ServerAuth: pulumi.Bool(true),
						},
					},
				},
			},
			KeySpec: &certificateauthority.AuthorityKeySpecArgs{
				Algorithm: pulumi.String("RSA_PKCS1_4096_SHA256"),
			},
			DeletionProtection:                 pulumi.Bool(false),
			SkipGracePeriod:                    pulumi.Bool(true),
			IgnoreActiveCertificatesOnDeletion: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		// creating certificate_issuance_config to use it in the managed certificate
		issuanceconfig, err := certificatemanager.NewCertificateIssuanceConfig(ctx, "issuanceconfig", &certificatemanager.CertificateIssuanceConfigArgs{
			Name:        pulumi.String("issuance-config"),
			Description: pulumi.String("sample description for the certificate issuanceConfigs"),
			CertificateAuthorityConfig: &certificatemanager.CertificateIssuanceConfigCertificateAuthorityConfigArgs{
				CertificateAuthorityServiceConfig: &certificatemanager.CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs{
					CaPool: pool.ID(),
				},
			},
			Lifetime:                 pulumi.String("1814400s"),
			RotationWindowPercentage: pulumi.Int(34),
			KeyAlgorithm:             pulumi.String("ECDSA_P256"),
		}, pulumi.DependsOn([]pulumi.Resource{
			caAuthority,
		}))
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificate(ctx, "default", &certificatemanager.CertificateArgs{
			Name:        pulumi.String("issuance-config-cert"),
			Description: pulumi.String("The default cert"),
			Scope:       pulumi.String("EDGE_CACHE"),
			Managed: &certificatemanager.CertificateManagedArgs{
				Domains: pulumi.StringArray{
					pulumi.String("terraform.subdomain1.com"),
				},
				IssuanceConfig: issuanceconfig.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Certificate Manager Certificate Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := certificatemanager.NewDnsAuthorization(ctx, "instance", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		instance2, err := certificatemanager.NewDnsAuthorization(ctx, "instance2", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth2"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain2.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificate(ctx, "default", &certificatemanager.CertificateArgs{
			Name:        pulumi.String("self-managed-cert"),
			Description: pulumi.String("Global cert"),
			Scope:       pulumi.String("EDGE_CACHE"),
			Managed: &certificatemanager.CertificateManagedArgs{
				Domains: pulumi.StringArray{
					instance.Domain,
					instance2.Domain,
				},
				DnsAuthorizations: pulumi.StringArray{
					instance.ID(),
					instance2.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Certificate Manager Self Managed Certificate Regional

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "test-fixtures/cert.pem",
		}, nil)
		if err != nil {
			return err
		}
		invokeFile1, err := std.File(ctx, &std.FileArgs{
			Input: "test-fixtures/private-key.pem",
		}, nil)
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificate(ctx, "default", &certificatemanager.CertificateArgs{
			Name:        pulumi.String("self-managed-cert"),
			Description: pulumi.String("Regional cert"),
			Location:    pulumi.String("us-central1"),
			SelfManaged: &certificatemanager.CertificateSelfManagedArgs{
				PemCertificate: pulumi.String(invokeFile.Result),
				PemPrivateKey:  pulumi.String(invokeFile1.Result),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Certificate Manager Google Managed Certificate Issuance Config All Regions

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificateauthority"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		pool, err := certificateauthority.NewCaPool(ctx, "pool", &certificateauthority.CaPoolArgs{
			Name:     pulumi.String("ca-pool"),
			Location: pulumi.String("us-central1"),
			Tier:     pulumi.String("ENTERPRISE"),
		})
		if err != nil {
			return err
		}
		caAuthority, err := certificateauthority.NewAuthority(ctx, "ca_authority", &certificateauthority.AuthorityArgs{
			Location:               pulumi.String("us-central1"),
			Pool:                   pool.Name,
			CertificateAuthorityId: pulumi.String("ca-authority"),
			Config: &certificateauthority.AuthorityConfigArgs{
				SubjectConfig: &certificateauthority.AuthorityConfigSubjectConfigArgs{
					Subject: &certificateauthority.AuthorityConfigSubjectConfigSubjectArgs{
						Organization: pulumi.String("HashiCorp"),
						CommonName:   pulumi.String("my-certificate-authority"),
					},
					SubjectAltName: &certificateauthority.AuthorityConfigSubjectConfigSubjectAltNameArgs{
						DnsNames: pulumi.StringArray{
							pulumi.String("hashicorp.com"),
						},
					},
				},
				X509Config: &certificateauthority.AuthorityConfigX509ConfigArgs{
					CaOptions: &certificateauthority.AuthorityConfigX509ConfigCaOptionsArgs{
						IsCa: pulumi.Bool(true),
					},
					KeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageArgs{
						BaseKeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageBaseKeyUsageArgs{
							CertSign: pulumi.Bool(true),
							CrlSign:  pulumi.Bool(true),
						},
						ExtendedKeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageExtendedKeyUsageArgs{
							ServerAuth: pulumi.Bool(true),
						},
					},
				},
			},
			KeySpec: &certificateauthority.AuthorityKeySpecArgs{
				Algorithm: pulumi.String("RSA_PKCS1_4096_SHA256"),
			},
			DeletionProtection:                 pulumi.Bool(false),
			SkipGracePeriod:                    pulumi.Bool(true),
			IgnoreActiveCertificatesOnDeletion: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		// creating certificate_issuance_config to use it in the managed certificate
		issuanceconfig, err := certificatemanager.NewCertificateIssuanceConfig(ctx, "issuanceconfig", &certificatemanager.CertificateIssuanceConfigArgs{
			Name:        pulumi.String("issuance-config"),
			Description: pulumi.String("sample description for the certificate issuanceConfigs"),
			CertificateAuthorityConfig: &certificatemanager.CertificateIssuanceConfigCertificateAuthorityConfigArgs{
				CertificateAuthorityServiceConfig: &certificatemanager.CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs{
					CaPool: pool.ID(),
				},
			},
			Lifetime:                 pulumi.String("1814400s"),
			RotationWindowPercentage: pulumi.Int(34),
			KeyAlgorithm:             pulumi.String("ECDSA_P256"),
		}, pulumi.DependsOn([]pulumi.Resource{
			caAuthority,
		}))
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificate(ctx, "default", &certificatemanager.CertificateArgs{
			Name:        pulumi.String("issuance-config-cert"),
			Description: pulumi.String("sample google managed all_regions certificate with issuance config for terraform"),
			Scope:       pulumi.String("ALL_REGIONS"),
			Managed: &certificatemanager.CertificateManagedArgs{
				Domains: pulumi.StringArray{
					pulumi.String("terraform.subdomain1.com"),
				},
				IssuanceConfig: issuanceconfig.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Certificate Manager Google Managed Certificate Dns All Regions

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := certificatemanager.NewDnsAuthorization(ctx, "instance", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		instance2, err := certificatemanager.NewDnsAuthorization(ctx, "instance2", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth2"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain2.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificate(ctx, "default", &certificatemanager.CertificateArgs{
			Name:        pulumi.String("dns-cert"),
			Description: pulumi.String("The default cert"),
			Scope:       pulumi.String("ALL_REGIONS"),
			Managed: &certificatemanager.CertificateManagedArgs{
				Domains: pulumi.StringArray{
					instance.Domain,
					instance2.Domain,
				},
				DnsAuthorizations: pulumi.StringArray{
					instance.ID(),
					instance2.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Certificate Manager Google Managed Regional Certificate Dns Auth

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := certificatemanager.NewDnsAuthorization(ctx, "instance", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth"),
			Location:    pulumi.String("us-central1"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificate(ctx, "default", &certificatemanager.CertificateArgs{
			Name:        pulumi.String("dns-cert"),
			Description: pulumi.String("regional managed certs"),
			Location:    pulumi.String("us-central1"),
			Managed: &certificatemanager.CertificateManagedArgs{
				Domains: pulumi.StringArray{
					instance.Domain,
				},
				DnsAuthorizations: pulumi.StringArray{
					instance.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Certificate can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/certificates/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, Certificate can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:certificatemanager/certificate:Certificate default projects/{{project}}/locations/{{location}}/certificates/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/certificate:Certificate default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/certificate:Certificate default {{location}}/{{name}} ```

func GetCertificate

func GetCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)

GetCertificate gets an existing Certificate 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 NewCertificate

func NewCertificate(ctx *pulumi.Context,
	name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)

NewCertificate registers a new resource with the given unique name, arguments, and options.

func (*Certificate) ElementType

func (*Certificate) ElementType() reflect.Type

func (*Certificate) ToCertificateOutput

func (i *Certificate) ToCertificateOutput() CertificateOutput

func (*Certificate) ToCertificateOutputWithContext

func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateArgs

type CertificateArgs struct {
	// A human-readable description of the resource.
	Description pulumi.StringPtrInput
	// Set of label tags associated with the Certificate resource.
	// **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 Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrInput
	// Configuration and state of a Managed Certificate.
	// Certificate Manager provisions and renews Managed Certificates
	// automatically, for as long as it's authorized to do so.
	// Structure is documented below.
	Managed CertificateManagedPtrInput
	// A user-defined name of the certificate. Certificate names must be unique
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	//
	// ***
	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 scope of the certificate.
	// DEFAULT: Certificates with default scope are served from core Google data centers.
	// If unsure, choose this option.
	// EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
	// See https://cloud.google.com/vpc/docs/edge-locations.
	// ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
	// See https://cloud.google.com/compute/docs/regions-zones
	Scope pulumi.StringPtrInput
	// Certificate data for a SelfManaged Certificate.
	// SelfManaged Certificates are uploaded by the user. Updating such
	// certificates before they expire remains the user's responsibility.
	// Structure is documented below.
	SelfManaged CertificateSelfManagedPtrInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType

func (CertificateArgs) ElementType() reflect.Type

type CertificateArray

type CertificateArray []CertificateInput

func (CertificateArray) ElementType

func (CertificateArray) ElementType() reflect.Type

func (CertificateArray) ToCertificateArrayOutput

func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArray) ToCertificateArrayOutputWithContext

func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateArrayInput

type CertificateArrayInput interface {
	pulumi.Input

	ToCertificateArrayOutput() CertificateArrayOutput
	ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput
}

CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:

CertificateArray{ CertificateArgs{...} }

type CertificateArrayOutput

type CertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificateArrayOutput) ElementType

func (CertificateArrayOutput) ElementType() reflect.Type

func (CertificateArrayOutput) Index

func (CertificateArrayOutput) ToCertificateArrayOutput

func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArrayOutput) ToCertificateArrayOutputWithContext

func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateInput

type CertificateInput interface {
	pulumi.Input

	ToCertificateOutput() CertificateOutput
	ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
}

type CertificateIssuanceConfig

type CertificateIssuanceConfig struct {
	pulumi.CustomResourceState

	// The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
	// Structure is documented below.
	CertificateAuthorityConfig CertificateIssuanceConfigCertificateAuthorityConfigOutput `pulumi:"certificateAuthorityConfig"`
	// The creation timestamp of a CertificateIssuanceConfig. Timestamp is in RFC3339 UTC "Zulu" format,
	// accurate to nanoseconds with up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// One or more paragraphs of text description of a CertificateIssuanceConfig.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// 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"`
	// Key algorithm to use when generating the private key.
	// Possible values are: `RSA_2048`, `ECDSA_P256`.
	KeyAlgorithm pulumi.StringOutput `pulumi:"keyAlgorithm"`
	// 'Set of label tags associated with the CertificateIssuanceConfig resource. An object containing a list of "key": value
	// pairs. Example: { "name": "wrench", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the
	// labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
	// resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Lifetime of issued certificates. A duration in seconds with up to nine fractional digits, ending with 's'.
	// Example: "1814400s". Valid values are from 21 days (1814400s) to 30 days (2592000s)
	Lifetime pulumi.StringOutput `pulumi:"lifetime"`
	// The Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// A user-defined name of the certificate issuance config.
	// CertificateIssuanceConfig names must be unique globally.
	Name    pulumi.StringOutput `pulumi:"name"`
	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"`
	// It specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate.
	// Must be a number between 1-99, inclusive.
	// You must set the rotation window percentage in relation to the certificate lifetime so that certificate renewal occurs at least 7 days after
	// the certificate has been issued and at least 7 days before it expires.
	RotationWindowPercentage pulumi.IntOutput `pulumi:"rotationWindowPercentage"`
	// The last update timestamp of a CertificateIssuanceConfig. Timestamp is in RFC3339 UTC "Zulu" format,
	// accurate to nanoseconds with up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Certificate represents a HTTP-reachable backend for a Certificate.

To get more information about CertificateIssuanceConfig, see:

* [API documentation](https://cloud.google.com/certificate-manager/docs/reference/certificate-manager/rest/v1/projects.locations.certificateIssuanceConfigs) * How-to Guides

## Example Usage

### Certificate Manager Certificate Issuance Config

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificateauthority"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		pool, err := certificateauthority.NewCaPool(ctx, "pool", &certificateauthority.CaPoolArgs{
			Name:     pulumi.String("ca-pool"),
			Location: pulumi.String("us-central1"),
			Tier:     pulumi.String("ENTERPRISE"),
		})
		if err != nil {
			return err
		}
		caAuthority, err := certificateauthority.NewAuthority(ctx, "ca_authority", &certificateauthority.AuthorityArgs{
			Location:               pulumi.String("us-central1"),
			Pool:                   pool.Name,
			CertificateAuthorityId: pulumi.String("ca-authority"),
			Config: &certificateauthority.AuthorityConfigArgs{
				SubjectConfig: &certificateauthority.AuthorityConfigSubjectConfigArgs{
					Subject: &certificateauthority.AuthorityConfigSubjectConfigSubjectArgs{
						Organization: pulumi.String("HashiCorp"),
						CommonName:   pulumi.String("my-certificate-authority"),
					},
					SubjectAltName: &certificateauthority.AuthorityConfigSubjectConfigSubjectAltNameArgs{
						DnsNames: pulumi.StringArray{
							pulumi.String("hashicorp.com"),
						},
					},
				},
				X509Config: &certificateauthority.AuthorityConfigX509ConfigArgs{
					CaOptions: &certificateauthority.AuthorityConfigX509ConfigCaOptionsArgs{
						IsCa: pulumi.Bool(true),
					},
					KeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageArgs{
						BaseKeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageBaseKeyUsageArgs{
							CertSign: pulumi.Bool(true),
							CrlSign:  pulumi.Bool(true),
						},
						ExtendedKeyUsage: &certificateauthority.AuthorityConfigX509ConfigKeyUsageExtendedKeyUsageArgs{
							ServerAuth: pulumi.Bool(true),
						},
					},
				},
			},
			KeySpec: &certificateauthority.AuthorityKeySpecArgs{
				Algorithm: pulumi.String("RSA_PKCS1_4096_SHA256"),
			},
			DeletionProtection:                 pulumi.Bool(false),
			SkipGracePeriod:                    pulumi.Bool(true),
			IgnoreActiveCertificatesOnDeletion: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificateIssuanceConfig(ctx, "default", &certificatemanager.CertificateIssuanceConfigArgs{
			Name:        pulumi.String("issuance-config"),
			Description: pulumi.String("sample description for the certificate issuanceConfigs"),
			CertificateAuthorityConfig: &certificatemanager.CertificateIssuanceConfigCertificateAuthorityConfigArgs{
				CertificateAuthorityServiceConfig: &certificatemanager.CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs{
					CaPool: pool.ID(),
				},
			},
			Lifetime:                 pulumi.String("1814400s"),
			RotationWindowPercentage: pulumi.Int(34),
			KeyAlgorithm:             pulumi.String("ECDSA_P256"),
			Labels: pulumi.StringMap{
				"name":  pulumi.String("wrench"),
				"count": pulumi.String("3"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			caAuthority,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CertificateIssuanceConfig can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/certificateIssuanceConfigs/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, CertificateIssuanceConfig can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:certificatemanager/certificateIssuanceConfig:CertificateIssuanceConfig default projects/{{project}}/locations/{{location}}/certificateIssuanceConfigs/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/certificateIssuanceConfig:CertificateIssuanceConfig default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/certificateIssuanceConfig:CertificateIssuanceConfig default {{location}}/{{name}} ```

func GetCertificateIssuanceConfig

func GetCertificateIssuanceConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateIssuanceConfigState, opts ...pulumi.ResourceOption) (*CertificateIssuanceConfig, error)

GetCertificateIssuanceConfig gets an existing CertificateIssuanceConfig 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 NewCertificateIssuanceConfig

func NewCertificateIssuanceConfig(ctx *pulumi.Context,
	name string, args *CertificateIssuanceConfigArgs, opts ...pulumi.ResourceOption) (*CertificateIssuanceConfig, error)

NewCertificateIssuanceConfig registers a new resource with the given unique name, arguments, and options.

func (*CertificateIssuanceConfig) ElementType

func (*CertificateIssuanceConfig) ElementType() reflect.Type

func (*CertificateIssuanceConfig) ToCertificateIssuanceConfigOutput

func (i *CertificateIssuanceConfig) ToCertificateIssuanceConfigOutput() CertificateIssuanceConfigOutput

func (*CertificateIssuanceConfig) ToCertificateIssuanceConfigOutputWithContext

func (i *CertificateIssuanceConfig) ToCertificateIssuanceConfigOutputWithContext(ctx context.Context) CertificateIssuanceConfigOutput

type CertificateIssuanceConfigArgs

type CertificateIssuanceConfigArgs struct {
	// The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
	// Structure is documented below.
	CertificateAuthorityConfig CertificateIssuanceConfigCertificateAuthorityConfigInput
	// One or more paragraphs of text description of a CertificateIssuanceConfig.
	Description pulumi.StringPtrInput
	// Key algorithm to use when generating the private key.
	// Possible values are: `RSA_2048`, `ECDSA_P256`.
	KeyAlgorithm pulumi.StringInput
	// 'Set of label tags associated with the CertificateIssuanceConfig resource. An object containing a list of "key": value
	// pairs. Example: { "name": "wrench", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the
	// labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
	// resource.
	Labels pulumi.StringMapInput
	// Lifetime of issued certificates. A duration in seconds with up to nine fractional digits, ending with 's'.
	// Example: "1814400s". Valid values are from 21 days (1814400s) to 30 days (2592000s)
	Lifetime pulumi.StringInput
	// The Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrInput
	// A user-defined name of the certificate issuance config.
	// CertificateIssuanceConfig names must be unique globally.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// It specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate.
	// Must be a number between 1-99, inclusive.
	// You must set the rotation window percentage in relation to the certificate lifetime so that certificate renewal occurs at least 7 days after
	// the certificate has been issued and at least 7 days before it expires.
	RotationWindowPercentage pulumi.IntInput
}

The set of arguments for constructing a CertificateIssuanceConfig resource.

func (CertificateIssuanceConfigArgs) ElementType

type CertificateIssuanceConfigArray

type CertificateIssuanceConfigArray []CertificateIssuanceConfigInput

func (CertificateIssuanceConfigArray) ElementType

func (CertificateIssuanceConfigArray) ToCertificateIssuanceConfigArrayOutput

func (i CertificateIssuanceConfigArray) ToCertificateIssuanceConfigArrayOutput() CertificateIssuanceConfigArrayOutput

func (CertificateIssuanceConfigArray) ToCertificateIssuanceConfigArrayOutputWithContext

func (i CertificateIssuanceConfigArray) ToCertificateIssuanceConfigArrayOutputWithContext(ctx context.Context) CertificateIssuanceConfigArrayOutput

type CertificateIssuanceConfigArrayInput

type CertificateIssuanceConfigArrayInput interface {
	pulumi.Input

	ToCertificateIssuanceConfigArrayOutput() CertificateIssuanceConfigArrayOutput
	ToCertificateIssuanceConfigArrayOutputWithContext(context.Context) CertificateIssuanceConfigArrayOutput
}

CertificateIssuanceConfigArrayInput is an input type that accepts CertificateIssuanceConfigArray and CertificateIssuanceConfigArrayOutput values. You can construct a concrete instance of `CertificateIssuanceConfigArrayInput` via:

CertificateIssuanceConfigArray{ CertificateIssuanceConfigArgs{...} }

type CertificateIssuanceConfigArrayOutput

type CertificateIssuanceConfigArrayOutput struct{ *pulumi.OutputState }

func (CertificateIssuanceConfigArrayOutput) ElementType

func (CertificateIssuanceConfigArrayOutput) Index

func (CertificateIssuanceConfigArrayOutput) ToCertificateIssuanceConfigArrayOutput

func (o CertificateIssuanceConfigArrayOutput) ToCertificateIssuanceConfigArrayOutput() CertificateIssuanceConfigArrayOutput

func (CertificateIssuanceConfigArrayOutput) ToCertificateIssuanceConfigArrayOutputWithContext

func (o CertificateIssuanceConfigArrayOutput) ToCertificateIssuanceConfigArrayOutputWithContext(ctx context.Context) CertificateIssuanceConfigArrayOutput

type CertificateIssuanceConfigCertificateAuthorityConfig

type CertificateIssuanceConfigCertificateAuthorityConfig struct {
	// Defines a CertificateAuthorityServiceConfig.
	// Structure is documented below.
	CertificateAuthorityServiceConfig *CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfig `pulumi:"certificateAuthorityServiceConfig"`
}

type CertificateIssuanceConfigCertificateAuthorityConfigArgs

type CertificateIssuanceConfigCertificateAuthorityConfigArgs struct {
	// Defines a CertificateAuthorityServiceConfig.
	// Structure is documented below.
	CertificateAuthorityServiceConfig CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrInput `pulumi:"certificateAuthorityServiceConfig"`
}

func (CertificateIssuanceConfigCertificateAuthorityConfigArgs) ElementType

func (CertificateIssuanceConfigCertificateAuthorityConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigOutputWithContext

func (i CertificateIssuanceConfigCertificateAuthorityConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigOutputWithContext(ctx context.Context) CertificateIssuanceConfigCertificateAuthorityConfigOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutput

func (i CertificateIssuanceConfigCertificateAuthorityConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutput() CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutputWithContext

func (i CertificateIssuanceConfigCertificateAuthorityConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutputWithContext(ctx context.Context) CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfig

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfig struct {
	// A CA pool resource used to issue a certificate.
	// The CA pool string has a relative resource path following the form
	// "projects/{project}/locations/{location}/caPools/{caPool}".
	//
	// ***
	CaPool string `pulumi:"caPool"`
}

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs struct {
	// A CA pool resource used to issue a certificate.
	// The CA pool string has a relative resource path following the form
	// "projects/{project}/locations/{location}/caPools/{caPool}".
	//
	// ***
	CaPool pulumi.StringInput `pulumi:"caPool"`
}

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs) ElementType

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutputWithContext

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutputWithContext

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigInput

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigInput interface {
	pulumi.Input

	ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput() CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput
	ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutputWithContext(context.Context) CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput
}

CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigInput is an input type that accepts CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs and CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput values. You can construct a concrete instance of `CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigInput` via:

CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs{...}

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput struct{ *pulumi.OutputState }

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput) CaPool

A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{caPool}".

***

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput) ElementType

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutputWithContext

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutputWithContext

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrInput

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrInput interface {
	pulumi.Input

	ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput() CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput
	ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutputWithContext(context.Context) CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput
}

CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrInput is an input type that accepts CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs, CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtr and CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput values. You can construct a concrete instance of `CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrInput` via:

        CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigArgs{...}

or:

        nil

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput

type CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput struct{ *pulumi.OutputState }

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput) CaPool

A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{caPool}".

***

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput) ElementType

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigCertificateAuthorityServiceConfigPtrOutputWithContext

type CertificateIssuanceConfigCertificateAuthorityConfigInput

type CertificateIssuanceConfigCertificateAuthorityConfigInput interface {
	pulumi.Input

	ToCertificateIssuanceConfigCertificateAuthorityConfigOutput() CertificateIssuanceConfigCertificateAuthorityConfigOutput
	ToCertificateIssuanceConfigCertificateAuthorityConfigOutputWithContext(context.Context) CertificateIssuanceConfigCertificateAuthorityConfigOutput
}

CertificateIssuanceConfigCertificateAuthorityConfigInput is an input type that accepts CertificateIssuanceConfigCertificateAuthorityConfigArgs and CertificateIssuanceConfigCertificateAuthorityConfigOutput values. You can construct a concrete instance of `CertificateIssuanceConfigCertificateAuthorityConfigInput` via:

CertificateIssuanceConfigCertificateAuthorityConfigArgs{...}

type CertificateIssuanceConfigCertificateAuthorityConfigOutput

type CertificateIssuanceConfigCertificateAuthorityConfigOutput struct{ *pulumi.OutputState }

func (CertificateIssuanceConfigCertificateAuthorityConfigOutput) CertificateAuthorityServiceConfig

Defines a CertificateAuthorityServiceConfig. Structure is documented below.

func (CertificateIssuanceConfigCertificateAuthorityConfigOutput) ElementType

func (CertificateIssuanceConfigCertificateAuthorityConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigOutputWithContext

func (o CertificateIssuanceConfigCertificateAuthorityConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigOutputWithContext(ctx context.Context) CertificateIssuanceConfigCertificateAuthorityConfigOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutputWithContext

func (o CertificateIssuanceConfigCertificateAuthorityConfigOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutputWithContext(ctx context.Context) CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput

type CertificateIssuanceConfigCertificateAuthorityConfigPtrInput

type CertificateIssuanceConfigCertificateAuthorityConfigPtrInput interface {
	pulumi.Input

	ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutput() CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput
	ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutputWithContext(context.Context) CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput
}

CertificateIssuanceConfigCertificateAuthorityConfigPtrInput is an input type that accepts CertificateIssuanceConfigCertificateAuthorityConfigArgs, CertificateIssuanceConfigCertificateAuthorityConfigPtr and CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput values. You can construct a concrete instance of `CertificateIssuanceConfigCertificateAuthorityConfigPtrInput` via:

        CertificateIssuanceConfigCertificateAuthorityConfigArgs{...}

or:

        nil

type CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput

type CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput struct{ *pulumi.OutputState }

func (CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput) CertificateAuthorityServiceConfig

Defines a CertificateAuthorityServiceConfig. Structure is documented below.

func (CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput) Elem

func (CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput) ElementType

func (CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutput

func (CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutputWithContext

func (o CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput) ToCertificateIssuanceConfigCertificateAuthorityConfigPtrOutputWithContext(ctx context.Context) CertificateIssuanceConfigCertificateAuthorityConfigPtrOutput

type CertificateIssuanceConfigInput

type CertificateIssuanceConfigInput interface {
	pulumi.Input

	ToCertificateIssuanceConfigOutput() CertificateIssuanceConfigOutput
	ToCertificateIssuanceConfigOutputWithContext(ctx context.Context) CertificateIssuanceConfigOutput
}

type CertificateIssuanceConfigMap

type CertificateIssuanceConfigMap map[string]CertificateIssuanceConfigInput

func (CertificateIssuanceConfigMap) ElementType

func (CertificateIssuanceConfigMap) ToCertificateIssuanceConfigMapOutput

func (i CertificateIssuanceConfigMap) ToCertificateIssuanceConfigMapOutput() CertificateIssuanceConfigMapOutput

func (CertificateIssuanceConfigMap) ToCertificateIssuanceConfigMapOutputWithContext

func (i CertificateIssuanceConfigMap) ToCertificateIssuanceConfigMapOutputWithContext(ctx context.Context) CertificateIssuanceConfigMapOutput

type CertificateIssuanceConfigMapInput

type CertificateIssuanceConfigMapInput interface {
	pulumi.Input

	ToCertificateIssuanceConfigMapOutput() CertificateIssuanceConfigMapOutput
	ToCertificateIssuanceConfigMapOutputWithContext(context.Context) CertificateIssuanceConfigMapOutput
}

CertificateIssuanceConfigMapInput is an input type that accepts CertificateIssuanceConfigMap and CertificateIssuanceConfigMapOutput values. You can construct a concrete instance of `CertificateIssuanceConfigMapInput` via:

CertificateIssuanceConfigMap{ "key": CertificateIssuanceConfigArgs{...} }

type CertificateIssuanceConfigMapOutput

type CertificateIssuanceConfigMapOutput struct{ *pulumi.OutputState }

func (CertificateIssuanceConfigMapOutput) ElementType

func (CertificateIssuanceConfigMapOutput) MapIndex

func (CertificateIssuanceConfigMapOutput) ToCertificateIssuanceConfigMapOutput

func (o CertificateIssuanceConfigMapOutput) ToCertificateIssuanceConfigMapOutput() CertificateIssuanceConfigMapOutput

func (CertificateIssuanceConfigMapOutput) ToCertificateIssuanceConfigMapOutputWithContext

func (o CertificateIssuanceConfigMapOutput) ToCertificateIssuanceConfigMapOutputWithContext(ctx context.Context) CertificateIssuanceConfigMapOutput

type CertificateIssuanceConfigOutput

type CertificateIssuanceConfigOutput struct{ *pulumi.OutputState }

func (CertificateIssuanceConfigOutput) CertificateAuthorityConfig

The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc. Structure is documented below.

func (CertificateIssuanceConfigOutput) CreateTime

The creation timestamp of a CertificateIssuanceConfig. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (CertificateIssuanceConfigOutput) Description

One or more paragraphs of text description of a CertificateIssuanceConfig.

func (CertificateIssuanceConfigOutput) EffectiveLabels

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (CertificateIssuanceConfigOutput) ElementType

func (CertificateIssuanceConfigOutput) KeyAlgorithm

Key algorithm to use when generating the private key. Possible values are: `RSA_2048`, `ECDSA_P256`.

func (CertificateIssuanceConfigOutput) Labels

'Set of label tags associated with the CertificateIssuanceConfig resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

func (CertificateIssuanceConfigOutput) Lifetime

Lifetime of issued certificates. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "1814400s". Valid values are from 21 days (1814400s) to 30 days (2592000s)

func (CertificateIssuanceConfigOutput) Location

The Certificate Manager location. If not specified, "global" is used.

func (CertificateIssuanceConfigOutput) Name

A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally.

func (CertificateIssuanceConfigOutput) Project

func (CertificateIssuanceConfigOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (CertificateIssuanceConfigOutput) RotationWindowPercentage

func (o CertificateIssuanceConfigOutput) RotationWindowPercentage() pulumi.IntOutput

It specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive. You must set the rotation window percentage in relation to the certificate lifetime so that certificate renewal occurs at least 7 days after the certificate has been issued and at least 7 days before it expires.

func (CertificateIssuanceConfigOutput) ToCertificateIssuanceConfigOutput

func (o CertificateIssuanceConfigOutput) ToCertificateIssuanceConfigOutput() CertificateIssuanceConfigOutput

func (CertificateIssuanceConfigOutput) ToCertificateIssuanceConfigOutputWithContext

func (o CertificateIssuanceConfigOutput) ToCertificateIssuanceConfigOutputWithContext(ctx context.Context) CertificateIssuanceConfigOutput

func (CertificateIssuanceConfigOutput) UpdateTime

The last update timestamp of a CertificateIssuanceConfig. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type CertificateIssuanceConfigState

type CertificateIssuanceConfigState struct {
	// The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
	// Structure is documented below.
	CertificateAuthorityConfig CertificateIssuanceConfigCertificateAuthorityConfigPtrInput
	// The creation timestamp of a CertificateIssuanceConfig. Timestamp is in RFC3339 UTC "Zulu" format,
	// accurate to nanoseconds with up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// One or more paragraphs of text description of a CertificateIssuanceConfig.
	Description pulumi.StringPtrInput
	// 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
	// Key algorithm to use when generating the private key.
	// Possible values are: `RSA_2048`, `ECDSA_P256`.
	KeyAlgorithm pulumi.StringPtrInput
	// 'Set of label tags associated with the CertificateIssuanceConfig resource. An object containing a list of "key": value
	// pairs. Example: { "name": "wrench", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the
	// labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
	// resource.
	Labels pulumi.StringMapInput
	// Lifetime of issued certificates. A duration in seconds with up to nine fractional digits, ending with 's'.
	// Example: "1814400s". Valid values are from 21 days (1814400s) to 30 days (2592000s)
	Lifetime pulumi.StringPtrInput
	// The Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrInput
	// A user-defined name of the certificate issuance config.
	// CertificateIssuanceConfig names must be unique globally.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// It specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate.
	// Must be a number between 1-99, inclusive.
	// You must set the rotation window percentage in relation to the certificate lifetime so that certificate renewal occurs at least 7 days after
	// the certificate has been issued and at least 7 days before it expires.
	RotationWindowPercentage pulumi.IntPtrInput
	// The last update timestamp of a CertificateIssuanceConfig. Timestamp is in RFC3339 UTC "Zulu" format,
	// accurate to nanoseconds with up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (CertificateIssuanceConfigState) ElementType

type CertificateManaged

type CertificateManaged struct {
	// (Output)
	// Detailed state of the latest authorization attempt for each domain
	// specified for this Managed Certificate.
	// Structure is documented below.
	//
	// <a name="nestedProvisioningIssue"></a>The `provisioningIssue` block contains:
	AuthorizationAttemptInfos []CertificateManagedAuthorizationAttemptInfo `pulumi:"authorizationAttemptInfos"`
	// Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
	DnsAuthorizations []string `pulumi:"dnsAuthorizations"`
	// The domains for which a managed SSL certificate will be generated.
	// Wildcard domains are only supported with DNS challenge resolution
	Domains []string `pulumi:"domains"`
	// The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*.
	// If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
	// Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
	IssuanceConfig *string `pulumi:"issuanceConfig"`
	// (Output)
	// Information about issues with provisioning this Managed Certificate.
	// Structure is documented below.
	ProvisioningIssues []CertificateManagedProvisioningIssue `pulumi:"provisioningIssues"`
	// (Output)
	// State of the domain for managed certificate issuance.
	State *string `pulumi:"state"`
}

type CertificateManagedArgs

type CertificateManagedArgs struct {
	// (Output)
	// Detailed state of the latest authorization attempt for each domain
	// specified for this Managed Certificate.
	// Structure is documented below.
	//
	// <a name="nestedProvisioningIssue"></a>The `provisioningIssue` block contains:
	AuthorizationAttemptInfos CertificateManagedAuthorizationAttemptInfoArrayInput `pulumi:"authorizationAttemptInfos"`
	// Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
	DnsAuthorizations pulumi.StringArrayInput `pulumi:"dnsAuthorizations"`
	// The domains for which a managed SSL certificate will be generated.
	// Wildcard domains are only supported with DNS challenge resolution
	Domains pulumi.StringArrayInput `pulumi:"domains"`
	// The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*.
	// If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
	// Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
	IssuanceConfig pulumi.StringPtrInput `pulumi:"issuanceConfig"`
	// (Output)
	// Information about issues with provisioning this Managed Certificate.
	// Structure is documented below.
	ProvisioningIssues CertificateManagedProvisioningIssueArrayInput `pulumi:"provisioningIssues"`
	// (Output)
	// State of the domain for managed certificate issuance.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (CertificateManagedArgs) ElementType

func (CertificateManagedArgs) ElementType() reflect.Type

func (CertificateManagedArgs) ToCertificateManagedOutput

func (i CertificateManagedArgs) ToCertificateManagedOutput() CertificateManagedOutput

func (CertificateManagedArgs) ToCertificateManagedOutputWithContext

func (i CertificateManagedArgs) ToCertificateManagedOutputWithContext(ctx context.Context) CertificateManagedOutput

func (CertificateManagedArgs) ToCertificateManagedPtrOutput

func (i CertificateManagedArgs) ToCertificateManagedPtrOutput() CertificateManagedPtrOutput

func (CertificateManagedArgs) ToCertificateManagedPtrOutputWithContext

func (i CertificateManagedArgs) ToCertificateManagedPtrOutputWithContext(ctx context.Context) CertificateManagedPtrOutput

type CertificateManagedAuthorizationAttemptInfo

type CertificateManagedAuthorizationAttemptInfo struct {
	// Human readable explanation for reaching the state. Provided to help
	// address the configuration issues.
	// Not guaranteed to be stable. For programmatic access use 'failure_reason' field.
	Details *string `pulumi:"details"`
	// Domain name of the authorization attempt.
	Domain *string `pulumi:"domain"`
	// Reason for failure of the authorization attempt for the domain.
	FailureReason *string `pulumi:"failureReason"`
	// State of the domain for managed certificate issuance.
	State *string `pulumi:"state"`
}

type CertificateManagedAuthorizationAttemptInfoArgs

type CertificateManagedAuthorizationAttemptInfoArgs struct {
	// Human readable explanation for reaching the state. Provided to help
	// address the configuration issues.
	// Not guaranteed to be stable. For programmatic access use 'failure_reason' field.
	Details pulumi.StringPtrInput `pulumi:"details"`
	// Domain name of the authorization attempt.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Reason for failure of the authorization attempt for the domain.
	FailureReason pulumi.StringPtrInput `pulumi:"failureReason"`
	// State of the domain for managed certificate issuance.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (CertificateManagedAuthorizationAttemptInfoArgs) ElementType

func (CertificateManagedAuthorizationAttemptInfoArgs) ToCertificateManagedAuthorizationAttemptInfoOutput

func (i CertificateManagedAuthorizationAttemptInfoArgs) ToCertificateManagedAuthorizationAttemptInfoOutput() CertificateManagedAuthorizationAttemptInfoOutput

func (CertificateManagedAuthorizationAttemptInfoArgs) ToCertificateManagedAuthorizationAttemptInfoOutputWithContext

func (i CertificateManagedAuthorizationAttemptInfoArgs) ToCertificateManagedAuthorizationAttemptInfoOutputWithContext(ctx context.Context) CertificateManagedAuthorizationAttemptInfoOutput

type CertificateManagedAuthorizationAttemptInfoArray

type CertificateManagedAuthorizationAttemptInfoArray []CertificateManagedAuthorizationAttemptInfoInput

func (CertificateManagedAuthorizationAttemptInfoArray) ElementType

func (CertificateManagedAuthorizationAttemptInfoArray) ToCertificateManagedAuthorizationAttemptInfoArrayOutput

func (i CertificateManagedAuthorizationAttemptInfoArray) ToCertificateManagedAuthorizationAttemptInfoArrayOutput() CertificateManagedAuthorizationAttemptInfoArrayOutput

func (CertificateManagedAuthorizationAttemptInfoArray) ToCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext

func (i CertificateManagedAuthorizationAttemptInfoArray) ToCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext(ctx context.Context) CertificateManagedAuthorizationAttemptInfoArrayOutput

type CertificateManagedAuthorizationAttemptInfoArrayInput

type CertificateManagedAuthorizationAttemptInfoArrayInput interface {
	pulumi.Input

	ToCertificateManagedAuthorizationAttemptInfoArrayOutput() CertificateManagedAuthorizationAttemptInfoArrayOutput
	ToCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext(context.Context) CertificateManagedAuthorizationAttemptInfoArrayOutput
}

CertificateManagedAuthorizationAttemptInfoArrayInput is an input type that accepts CertificateManagedAuthorizationAttemptInfoArray and CertificateManagedAuthorizationAttemptInfoArrayOutput values. You can construct a concrete instance of `CertificateManagedAuthorizationAttemptInfoArrayInput` via:

CertificateManagedAuthorizationAttemptInfoArray{ CertificateManagedAuthorizationAttemptInfoArgs{...} }

type CertificateManagedAuthorizationAttemptInfoArrayOutput

type CertificateManagedAuthorizationAttemptInfoArrayOutput struct{ *pulumi.OutputState }

func (CertificateManagedAuthorizationAttemptInfoArrayOutput) ElementType

func (CertificateManagedAuthorizationAttemptInfoArrayOutput) Index

func (CertificateManagedAuthorizationAttemptInfoArrayOutput) ToCertificateManagedAuthorizationAttemptInfoArrayOutput

func (CertificateManagedAuthorizationAttemptInfoArrayOutput) ToCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext

func (o CertificateManagedAuthorizationAttemptInfoArrayOutput) ToCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext(ctx context.Context) CertificateManagedAuthorizationAttemptInfoArrayOutput

type CertificateManagedAuthorizationAttemptInfoInput

type CertificateManagedAuthorizationAttemptInfoInput interface {
	pulumi.Input

	ToCertificateManagedAuthorizationAttemptInfoOutput() CertificateManagedAuthorizationAttemptInfoOutput
	ToCertificateManagedAuthorizationAttemptInfoOutputWithContext(context.Context) CertificateManagedAuthorizationAttemptInfoOutput
}

CertificateManagedAuthorizationAttemptInfoInput is an input type that accepts CertificateManagedAuthorizationAttemptInfoArgs and CertificateManagedAuthorizationAttemptInfoOutput values. You can construct a concrete instance of `CertificateManagedAuthorizationAttemptInfoInput` via:

CertificateManagedAuthorizationAttemptInfoArgs{...}

type CertificateManagedAuthorizationAttemptInfoOutput

type CertificateManagedAuthorizationAttemptInfoOutput struct{ *pulumi.OutputState }

func (CertificateManagedAuthorizationAttemptInfoOutput) Details

Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use 'failure_reason' field.

func (CertificateManagedAuthorizationAttemptInfoOutput) Domain

Domain name of the authorization attempt.

func (CertificateManagedAuthorizationAttemptInfoOutput) ElementType

func (CertificateManagedAuthorizationAttemptInfoOutput) FailureReason

Reason for failure of the authorization attempt for the domain.

func (CertificateManagedAuthorizationAttemptInfoOutput) State

State of the domain for managed certificate issuance.

func (CertificateManagedAuthorizationAttemptInfoOutput) ToCertificateManagedAuthorizationAttemptInfoOutput

func (o CertificateManagedAuthorizationAttemptInfoOutput) ToCertificateManagedAuthorizationAttemptInfoOutput() CertificateManagedAuthorizationAttemptInfoOutput

func (CertificateManagedAuthorizationAttemptInfoOutput) ToCertificateManagedAuthorizationAttemptInfoOutputWithContext

func (o CertificateManagedAuthorizationAttemptInfoOutput) ToCertificateManagedAuthorizationAttemptInfoOutputWithContext(ctx context.Context) CertificateManagedAuthorizationAttemptInfoOutput

type CertificateManagedInput

type CertificateManagedInput interface {
	pulumi.Input

	ToCertificateManagedOutput() CertificateManagedOutput
	ToCertificateManagedOutputWithContext(context.Context) CertificateManagedOutput
}

CertificateManagedInput is an input type that accepts CertificateManagedArgs and CertificateManagedOutput values. You can construct a concrete instance of `CertificateManagedInput` via:

CertificateManagedArgs{...}

type CertificateManagedOutput

type CertificateManagedOutput struct{ *pulumi.OutputState }

func (CertificateManagedOutput) AuthorizationAttemptInfos

(Output) Detailed state of the latest authorization attempt for each domain specified for this Managed Certificate. Structure is documented below.

<a name="nestedProvisioningIssue"></a>The `provisioningIssue` block contains:

func (CertificateManagedOutput) DnsAuthorizations

func (o CertificateManagedOutput) DnsAuthorizations() pulumi.StringArrayOutput

Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.

func (CertificateManagedOutput) Domains

The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution

func (CertificateManagedOutput) ElementType

func (CertificateManagedOutput) ElementType() reflect.Type

func (CertificateManagedOutput) IssuanceConfig

func (o CertificateManagedOutput) IssuanceConfig() pulumi.StringPtrOutput

The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.

func (CertificateManagedOutput) ProvisioningIssues

(Output) Information about issues with provisioning this Managed Certificate. Structure is documented below.

func (CertificateManagedOutput) State

(Output) State of the domain for managed certificate issuance.

func (CertificateManagedOutput) ToCertificateManagedOutput

func (o CertificateManagedOutput) ToCertificateManagedOutput() CertificateManagedOutput

func (CertificateManagedOutput) ToCertificateManagedOutputWithContext

func (o CertificateManagedOutput) ToCertificateManagedOutputWithContext(ctx context.Context) CertificateManagedOutput

func (CertificateManagedOutput) ToCertificateManagedPtrOutput

func (o CertificateManagedOutput) ToCertificateManagedPtrOutput() CertificateManagedPtrOutput

func (CertificateManagedOutput) ToCertificateManagedPtrOutputWithContext

func (o CertificateManagedOutput) ToCertificateManagedPtrOutputWithContext(ctx context.Context) CertificateManagedPtrOutput

type CertificateManagedProvisioningIssue

type CertificateManagedProvisioningIssue struct {
	// Human readable explanation about the issue. Provided to help address
	// the configuration issues.
	// Not guaranteed to be stable. For programmatic access use 'reason' field.
	Details *string `pulumi:"details"`
	// Reason for provisioning failures.
	Reason *string `pulumi:"reason"`
}

type CertificateManagedProvisioningIssueArgs

type CertificateManagedProvisioningIssueArgs struct {
	// Human readable explanation about the issue. Provided to help address
	// the configuration issues.
	// Not guaranteed to be stable. For programmatic access use 'reason' field.
	Details pulumi.StringPtrInput `pulumi:"details"`
	// Reason for provisioning failures.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
}

func (CertificateManagedProvisioningIssueArgs) ElementType

func (CertificateManagedProvisioningIssueArgs) ToCertificateManagedProvisioningIssueOutput

func (i CertificateManagedProvisioningIssueArgs) ToCertificateManagedProvisioningIssueOutput() CertificateManagedProvisioningIssueOutput

func (CertificateManagedProvisioningIssueArgs) ToCertificateManagedProvisioningIssueOutputWithContext

func (i CertificateManagedProvisioningIssueArgs) ToCertificateManagedProvisioningIssueOutputWithContext(ctx context.Context) CertificateManagedProvisioningIssueOutput

type CertificateManagedProvisioningIssueArray

type CertificateManagedProvisioningIssueArray []CertificateManagedProvisioningIssueInput

func (CertificateManagedProvisioningIssueArray) ElementType

func (CertificateManagedProvisioningIssueArray) ToCertificateManagedProvisioningIssueArrayOutput

func (i CertificateManagedProvisioningIssueArray) ToCertificateManagedProvisioningIssueArrayOutput() CertificateManagedProvisioningIssueArrayOutput

func (CertificateManagedProvisioningIssueArray) ToCertificateManagedProvisioningIssueArrayOutputWithContext

func (i CertificateManagedProvisioningIssueArray) ToCertificateManagedProvisioningIssueArrayOutputWithContext(ctx context.Context) CertificateManagedProvisioningIssueArrayOutput

type CertificateManagedProvisioningIssueArrayInput

type CertificateManagedProvisioningIssueArrayInput interface {
	pulumi.Input

	ToCertificateManagedProvisioningIssueArrayOutput() CertificateManagedProvisioningIssueArrayOutput
	ToCertificateManagedProvisioningIssueArrayOutputWithContext(context.Context) CertificateManagedProvisioningIssueArrayOutput
}

CertificateManagedProvisioningIssueArrayInput is an input type that accepts CertificateManagedProvisioningIssueArray and CertificateManagedProvisioningIssueArrayOutput values. You can construct a concrete instance of `CertificateManagedProvisioningIssueArrayInput` via:

CertificateManagedProvisioningIssueArray{ CertificateManagedProvisioningIssueArgs{...} }

type CertificateManagedProvisioningIssueArrayOutput

type CertificateManagedProvisioningIssueArrayOutput struct{ *pulumi.OutputState }

func (CertificateManagedProvisioningIssueArrayOutput) ElementType

func (CertificateManagedProvisioningIssueArrayOutput) Index

func (CertificateManagedProvisioningIssueArrayOutput) ToCertificateManagedProvisioningIssueArrayOutput

func (o CertificateManagedProvisioningIssueArrayOutput) ToCertificateManagedProvisioningIssueArrayOutput() CertificateManagedProvisioningIssueArrayOutput

func (CertificateManagedProvisioningIssueArrayOutput) ToCertificateManagedProvisioningIssueArrayOutputWithContext

func (o CertificateManagedProvisioningIssueArrayOutput) ToCertificateManagedProvisioningIssueArrayOutputWithContext(ctx context.Context) CertificateManagedProvisioningIssueArrayOutput

type CertificateManagedProvisioningIssueInput

type CertificateManagedProvisioningIssueInput interface {
	pulumi.Input

	ToCertificateManagedProvisioningIssueOutput() CertificateManagedProvisioningIssueOutput
	ToCertificateManagedProvisioningIssueOutputWithContext(context.Context) CertificateManagedProvisioningIssueOutput
}

CertificateManagedProvisioningIssueInput is an input type that accepts CertificateManagedProvisioningIssueArgs and CertificateManagedProvisioningIssueOutput values. You can construct a concrete instance of `CertificateManagedProvisioningIssueInput` via:

CertificateManagedProvisioningIssueArgs{...}

type CertificateManagedProvisioningIssueOutput

type CertificateManagedProvisioningIssueOutput struct{ *pulumi.OutputState }

func (CertificateManagedProvisioningIssueOutput) Details

Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use 'reason' field.

func (CertificateManagedProvisioningIssueOutput) ElementType

func (CertificateManagedProvisioningIssueOutput) Reason

Reason for provisioning failures.

func (CertificateManagedProvisioningIssueOutput) ToCertificateManagedProvisioningIssueOutput

func (o CertificateManagedProvisioningIssueOutput) ToCertificateManagedProvisioningIssueOutput() CertificateManagedProvisioningIssueOutput

func (CertificateManagedProvisioningIssueOutput) ToCertificateManagedProvisioningIssueOutputWithContext

func (o CertificateManagedProvisioningIssueOutput) ToCertificateManagedProvisioningIssueOutputWithContext(ctx context.Context) CertificateManagedProvisioningIssueOutput

type CertificateManagedPtrInput

type CertificateManagedPtrInput interface {
	pulumi.Input

	ToCertificateManagedPtrOutput() CertificateManagedPtrOutput
	ToCertificateManagedPtrOutputWithContext(context.Context) CertificateManagedPtrOutput
}

CertificateManagedPtrInput is an input type that accepts CertificateManagedArgs, CertificateManagedPtr and CertificateManagedPtrOutput values. You can construct a concrete instance of `CertificateManagedPtrInput` via:

        CertificateManagedArgs{...}

or:

        nil

type CertificateManagedPtrOutput

type CertificateManagedPtrOutput struct{ *pulumi.OutputState }

func (CertificateManagedPtrOutput) AuthorizationAttemptInfos

(Output) Detailed state of the latest authorization attempt for each domain specified for this Managed Certificate. Structure is documented below.

<a name="nestedProvisioningIssue"></a>The `provisioningIssue` block contains:

func (CertificateManagedPtrOutput) DnsAuthorizations

Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.

func (CertificateManagedPtrOutput) Domains

The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution

func (CertificateManagedPtrOutput) Elem

func (CertificateManagedPtrOutput) ElementType

func (CertificateManagedPtrOutput) IssuanceConfig

The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.

func (CertificateManagedPtrOutput) ProvisioningIssues

(Output) Information about issues with provisioning this Managed Certificate. Structure is documented below.

func (CertificateManagedPtrOutput) State

(Output) State of the domain for managed certificate issuance.

func (CertificateManagedPtrOutput) ToCertificateManagedPtrOutput

func (o CertificateManagedPtrOutput) ToCertificateManagedPtrOutput() CertificateManagedPtrOutput

func (CertificateManagedPtrOutput) ToCertificateManagedPtrOutputWithContext

func (o CertificateManagedPtrOutput) ToCertificateManagedPtrOutputWithContext(ctx context.Context) CertificateManagedPtrOutput

type CertificateMap

type CertificateMap map[string]CertificateInput

func (CertificateMap) ElementType

func (CertificateMap) ElementType() reflect.Type

func (CertificateMap) ToCertificateMapOutput

func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMap) ToCertificateMapOutputWithContext

func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateMapEntry

type CertificateMapEntry struct {
	pulumi.CustomResourceState

	// A set of Certificates defines for the given hostname.
	// There can be defined up to fifteen certificates in each Certificate Map Entry.
	// Each certificate must match pattern projects/*/locations/*/certificates/*.
	Certificates pulumi.StringArrayOutput `pulumi:"certificates"`
	// Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// A human-readable description of the resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// 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"`
	// A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com)
	// for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for
	// selecting a proper certificate.
	Hostname pulumi.StringPtrOutput `pulumi:"hostname"`
	// Set of labels associated with a Certificate Map Entry.
	// An object containing a list of "key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **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"`
	// A map entry that is inputted into the cetrificate map
	//
	// ***
	Map pulumi.StringOutput `pulumi:"map"`
	// A predefined matcher for particular cases, other than SNI selection
	Matcher pulumi.StringPtrOutput `pulumi:"matcher"`
	// A user-defined name of the Certificate Map Entry. Certificate Map Entry
	// names must be unique globally and match pattern
	// 'projects/*/locations/*/certificateMaps/*/certificateMapEntries/*'
	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"`
	// A serving state of this Certificate Map Entry.
	State pulumi.StringOutput `pulumi:"state"`
	// Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

CertificateMapEntry is a list of certificate configurations, that have been issued for a particular hostname

## Example Usage

### Certificate Manager Certificate Map Entry Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		certificateMap, err := certificatemanager.NewCertificateMap(ctx, "certificate_map", &certificatemanager.CertificateMapArgs{
			Name:        pulumi.String("cert-map-entry"),
			Description: pulumi.String("My acceptance test certificate map"),
			Labels: pulumi.StringMap{
				"terraform": pulumi.String("true"),
				"acc-test":  pulumi.String("true"),
			},
		})
		if err != nil {
			return err
		}
		instance, err := certificatemanager.NewDnsAuthorization(ctx, "instance", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		instance2, err := certificatemanager.NewDnsAuthorization(ctx, "instance2", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth2"),
			Description: pulumi.String("The default dnss"),
			Domain:      pulumi.String("subdomain2.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		certificate, err := certificatemanager.NewCertificate(ctx, "certificate", &certificatemanager.CertificateArgs{
			Name:        pulumi.String("cert-map-entry"),
			Description: pulumi.String("The default cert"),
			Scope:       pulumi.String("DEFAULT"),
			Managed: &certificatemanager.CertificateManagedArgs{
				Domains: pulumi.StringArray{
					instance.Domain,
					instance2.Domain,
				},
				DnsAuthorizations: pulumi.StringArray{
					instance.ID(),
					instance2.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewCertificateMapEntry(ctx, "default", &certificatemanager.CertificateMapEntryArgs{
			Name:        pulumi.String("cert-map-entry"),
			Description: pulumi.String("My acceptance test certificate map entry"),
			Map:         certificateMap.Name,
			Labels: pulumi.StringMap{
				"terraform": pulumi.String("true"),
				"acc-test":  pulumi.String("true"),
			},
			Certificates: pulumi.StringArray{
				certificate.ID(),
			},
			Matcher: pulumi.String("PRIMARY"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CertificateMapEntry can be imported using any of these accepted formats:

* `projects/{{project}}/locations/global/certificateMaps/{{map}}/certificateMapEntries/{{name}}`

* `{{project}}/{{map}}/{{name}}`

* `{{map}}/{{name}}`

When using the `pulumi import` command, CertificateMapEntry can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default projects/{{project}}/locations/global/certificateMaps/{{map}}/certificateMapEntries/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default {{project}}/{{map}}/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default {{map}}/{{name}} ```

func GetCertificateMapEntry

func GetCertificateMapEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateMapEntryState, opts ...pulumi.ResourceOption) (*CertificateMapEntry, error)

GetCertificateMapEntry gets an existing CertificateMapEntry 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 NewCertificateMapEntry

func NewCertificateMapEntry(ctx *pulumi.Context,
	name string, args *CertificateMapEntryArgs, opts ...pulumi.ResourceOption) (*CertificateMapEntry, error)

NewCertificateMapEntry registers a new resource with the given unique name, arguments, and options.

func (*CertificateMapEntry) ElementType

func (*CertificateMapEntry) ElementType() reflect.Type

func (*CertificateMapEntry) ToCertificateMapEntryOutput

func (i *CertificateMapEntry) ToCertificateMapEntryOutput() CertificateMapEntryOutput

func (*CertificateMapEntry) ToCertificateMapEntryOutputWithContext

func (i *CertificateMapEntry) ToCertificateMapEntryOutputWithContext(ctx context.Context) CertificateMapEntryOutput

type CertificateMapEntryArgs

type CertificateMapEntryArgs struct {
	// A set of Certificates defines for the given hostname.
	// There can be defined up to fifteen certificates in each Certificate Map Entry.
	// Each certificate must match pattern projects/*/locations/*/certificates/*.
	Certificates pulumi.StringArrayInput
	// A human-readable description of the resource.
	Description pulumi.StringPtrInput
	// A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com)
	// for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for
	// selecting a proper certificate.
	Hostname pulumi.StringPtrInput
	// Set of labels associated with a Certificate Map Entry.
	// An object containing a list of "key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **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
	// A map entry that is inputted into the cetrificate map
	//
	// ***
	Map pulumi.StringInput
	// A predefined matcher for particular cases, other than SNI selection
	Matcher pulumi.StringPtrInput
	// A user-defined name of the Certificate Map Entry. Certificate Map Entry
	// names must be unique globally and match pattern
	// 'projects/*/locations/*/certificateMaps/*/certificateMapEntries/*'
	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 set of arguments for constructing a CertificateMapEntry resource.

func (CertificateMapEntryArgs) ElementType

func (CertificateMapEntryArgs) ElementType() reflect.Type

type CertificateMapEntryArray

type CertificateMapEntryArray []CertificateMapEntryInput

func (CertificateMapEntryArray) ElementType

func (CertificateMapEntryArray) ElementType() reflect.Type

func (CertificateMapEntryArray) ToCertificateMapEntryArrayOutput

func (i CertificateMapEntryArray) ToCertificateMapEntryArrayOutput() CertificateMapEntryArrayOutput

func (CertificateMapEntryArray) ToCertificateMapEntryArrayOutputWithContext

func (i CertificateMapEntryArray) ToCertificateMapEntryArrayOutputWithContext(ctx context.Context) CertificateMapEntryArrayOutput

type CertificateMapEntryArrayInput

type CertificateMapEntryArrayInput interface {
	pulumi.Input

	ToCertificateMapEntryArrayOutput() CertificateMapEntryArrayOutput
	ToCertificateMapEntryArrayOutputWithContext(context.Context) CertificateMapEntryArrayOutput
}

CertificateMapEntryArrayInput is an input type that accepts CertificateMapEntryArray and CertificateMapEntryArrayOutput values. You can construct a concrete instance of `CertificateMapEntryArrayInput` via:

CertificateMapEntryArray{ CertificateMapEntryArgs{...} }

type CertificateMapEntryArrayOutput

type CertificateMapEntryArrayOutput struct{ *pulumi.OutputState }

func (CertificateMapEntryArrayOutput) ElementType

func (CertificateMapEntryArrayOutput) Index

func (CertificateMapEntryArrayOutput) ToCertificateMapEntryArrayOutput

func (o CertificateMapEntryArrayOutput) ToCertificateMapEntryArrayOutput() CertificateMapEntryArrayOutput

func (CertificateMapEntryArrayOutput) ToCertificateMapEntryArrayOutputWithContext

func (o CertificateMapEntryArrayOutput) ToCertificateMapEntryArrayOutputWithContext(ctx context.Context) CertificateMapEntryArrayOutput

type CertificateMapEntryInput

type CertificateMapEntryInput interface {
	pulumi.Input

	ToCertificateMapEntryOutput() CertificateMapEntryOutput
	ToCertificateMapEntryOutputWithContext(ctx context.Context) CertificateMapEntryOutput
}

type CertificateMapEntryMap

type CertificateMapEntryMap map[string]CertificateMapEntryInput

func (CertificateMapEntryMap) ElementType

func (CertificateMapEntryMap) ElementType() reflect.Type

func (CertificateMapEntryMap) ToCertificateMapEntryMapOutput

func (i CertificateMapEntryMap) ToCertificateMapEntryMapOutput() CertificateMapEntryMapOutput

func (CertificateMapEntryMap) ToCertificateMapEntryMapOutputWithContext

func (i CertificateMapEntryMap) ToCertificateMapEntryMapOutputWithContext(ctx context.Context) CertificateMapEntryMapOutput

type CertificateMapEntryMapInput

type CertificateMapEntryMapInput interface {
	pulumi.Input

	ToCertificateMapEntryMapOutput() CertificateMapEntryMapOutput
	ToCertificateMapEntryMapOutputWithContext(context.Context) CertificateMapEntryMapOutput
}

CertificateMapEntryMapInput is an input type that accepts CertificateMapEntryMap and CertificateMapEntryMapOutput values. You can construct a concrete instance of `CertificateMapEntryMapInput` via:

CertificateMapEntryMap{ "key": CertificateMapEntryArgs{...} }

type CertificateMapEntryMapOutput

type CertificateMapEntryMapOutput struct{ *pulumi.OutputState }

func (CertificateMapEntryMapOutput) ElementType

func (CertificateMapEntryMapOutput) MapIndex

func (CertificateMapEntryMapOutput) ToCertificateMapEntryMapOutput

func (o CertificateMapEntryMapOutput) ToCertificateMapEntryMapOutput() CertificateMapEntryMapOutput

func (CertificateMapEntryMapOutput) ToCertificateMapEntryMapOutputWithContext

func (o CertificateMapEntryMapOutput) ToCertificateMapEntryMapOutputWithContext(ctx context.Context) CertificateMapEntryMapOutput

type CertificateMapEntryOutput

type CertificateMapEntryOutput struct{ *pulumi.OutputState }

func (CertificateMapEntryOutput) Certificates

A set of Certificates defines for the given hostname. There can be defined up to fifteen certificates in each Certificate Map Entry. Each certificate must match pattern projects/*/locations/*/certificates/*.

func (CertificateMapEntryOutput) CreateTime

Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (CertificateMapEntryOutput) Description

A human-readable description of the resource.

func (CertificateMapEntryOutput) EffectiveLabels

func (o CertificateMapEntryOutput) 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 (CertificateMapEntryOutput) ElementType

func (CertificateMapEntryOutput) ElementType() reflect.Type

func (CertificateMapEntryOutput) Hostname

A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.

func (CertificateMapEntryOutput) Labels

Set of labels associated with a Certificate Map Entry. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

**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 (CertificateMapEntryOutput) Map

A map entry that is inputted into the cetrificate map

***

func (CertificateMapEntryOutput) Matcher

A predefined matcher for particular cases, other than SNI selection

func (CertificateMapEntryOutput) Name

A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern 'projects/*/locations/*/certificateMaps/*/certificateMapEntries/*'

func (CertificateMapEntryOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (CertificateMapEntryOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (CertificateMapEntryOutput) State

A serving state of this Certificate Map Entry.

func (CertificateMapEntryOutput) ToCertificateMapEntryOutput

func (o CertificateMapEntryOutput) ToCertificateMapEntryOutput() CertificateMapEntryOutput

func (CertificateMapEntryOutput) ToCertificateMapEntryOutputWithContext

func (o CertificateMapEntryOutput) ToCertificateMapEntryOutputWithContext(ctx context.Context) CertificateMapEntryOutput

func (CertificateMapEntryOutput) UpdateTime

Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type CertificateMapEntryState

type CertificateMapEntryState struct {
	// A set of Certificates defines for the given hostname.
	// There can be defined up to fifteen certificates in each Certificate Map Entry.
	// Each certificate must match pattern projects/*/locations/*/certificates/*.
	Certificates pulumi.StringArrayInput
	// Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// A human-readable description of the resource.
	Description pulumi.StringPtrInput
	// 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
	// A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com)
	// for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for
	// selecting a proper certificate.
	Hostname pulumi.StringPtrInput
	// Set of labels associated with a Certificate Map Entry.
	// An object containing a list of "key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **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
	// A map entry that is inputted into the cetrificate map
	//
	// ***
	Map pulumi.StringPtrInput
	// A predefined matcher for particular cases, other than SNI selection
	Matcher pulumi.StringPtrInput
	// A user-defined name of the Certificate Map Entry. Certificate Map Entry
	// names must be unique globally and match pattern
	// 'projects/*/locations/*/certificateMaps/*/certificateMapEntries/*'
	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
	// A serving state of this Certificate Map Entry.
	State pulumi.StringPtrInput
	// Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (CertificateMapEntryState) ElementType

func (CertificateMapEntryState) ElementType() reflect.Type

type CertificateMapGclbTarget

type CertificateMapGclbTarget struct {
	// An IP configuration where this Certificate Map is serving
	// Structure is documented below.
	IpConfigs []CertificateMapGclbTargetIpConfig `pulumi:"ipConfigs"`
	// Proxy name must be in the format projects/*/locations/*/targetHttpsProxies/*.
	// This field is part of a union field `targetProxy`: Only one of `targetHttpsProxy` or
	// `targetSslProxy` may be set.
	TargetHttpsProxy *string `pulumi:"targetHttpsProxy"`
	// Proxy name must be in the format projects/*/locations/*/targetSslProxies/*.
	// This field is part of a union field `targetProxy`: Only one of `targetHttpsProxy` or
	// `targetSslProxy` may be set.
	TargetSslProxy *string `pulumi:"targetSslProxy"`
}

type CertificateMapGclbTargetArgs

type CertificateMapGclbTargetArgs struct {
	// An IP configuration where this Certificate Map is serving
	// Structure is documented below.
	IpConfigs CertificateMapGclbTargetIpConfigArrayInput `pulumi:"ipConfigs"`
	// Proxy name must be in the format projects/*/locations/*/targetHttpsProxies/*.
	// This field is part of a union field `targetProxy`: Only one of `targetHttpsProxy` or
	// `targetSslProxy` may be set.
	TargetHttpsProxy pulumi.StringPtrInput `pulumi:"targetHttpsProxy"`
	// Proxy name must be in the format projects/*/locations/*/targetSslProxies/*.
	// This field is part of a union field `targetProxy`: Only one of `targetHttpsProxy` or
	// `targetSslProxy` may be set.
	TargetSslProxy pulumi.StringPtrInput `pulumi:"targetSslProxy"`
}

func (CertificateMapGclbTargetArgs) ElementType

func (CertificateMapGclbTargetArgs) ToCertificateMapGclbTargetOutput

func (i CertificateMapGclbTargetArgs) ToCertificateMapGclbTargetOutput() CertificateMapGclbTargetOutput

func (CertificateMapGclbTargetArgs) ToCertificateMapGclbTargetOutputWithContext

func (i CertificateMapGclbTargetArgs) ToCertificateMapGclbTargetOutputWithContext(ctx context.Context) CertificateMapGclbTargetOutput

type CertificateMapGclbTargetArray

type CertificateMapGclbTargetArray []CertificateMapGclbTargetInput

func (CertificateMapGclbTargetArray) ElementType

func (CertificateMapGclbTargetArray) ToCertificateMapGclbTargetArrayOutput

func (i CertificateMapGclbTargetArray) ToCertificateMapGclbTargetArrayOutput() CertificateMapGclbTargetArrayOutput

func (CertificateMapGclbTargetArray) ToCertificateMapGclbTargetArrayOutputWithContext

func (i CertificateMapGclbTargetArray) ToCertificateMapGclbTargetArrayOutputWithContext(ctx context.Context) CertificateMapGclbTargetArrayOutput

type CertificateMapGclbTargetArrayInput

type CertificateMapGclbTargetArrayInput interface {
	pulumi.Input

	ToCertificateMapGclbTargetArrayOutput() CertificateMapGclbTargetArrayOutput
	ToCertificateMapGclbTargetArrayOutputWithContext(context.Context) CertificateMapGclbTargetArrayOutput
}

CertificateMapGclbTargetArrayInput is an input type that accepts CertificateMapGclbTargetArray and CertificateMapGclbTargetArrayOutput values. You can construct a concrete instance of `CertificateMapGclbTargetArrayInput` via:

CertificateMapGclbTargetArray{ CertificateMapGclbTargetArgs{...} }

type CertificateMapGclbTargetArrayOutput

type CertificateMapGclbTargetArrayOutput struct{ *pulumi.OutputState }

func (CertificateMapGclbTargetArrayOutput) ElementType

func (CertificateMapGclbTargetArrayOutput) Index

func (CertificateMapGclbTargetArrayOutput) ToCertificateMapGclbTargetArrayOutput

func (o CertificateMapGclbTargetArrayOutput) ToCertificateMapGclbTargetArrayOutput() CertificateMapGclbTargetArrayOutput

func (CertificateMapGclbTargetArrayOutput) ToCertificateMapGclbTargetArrayOutputWithContext

func (o CertificateMapGclbTargetArrayOutput) ToCertificateMapGclbTargetArrayOutputWithContext(ctx context.Context) CertificateMapGclbTargetArrayOutput

type CertificateMapGclbTargetInput

type CertificateMapGclbTargetInput interface {
	pulumi.Input

	ToCertificateMapGclbTargetOutput() CertificateMapGclbTargetOutput
	ToCertificateMapGclbTargetOutputWithContext(context.Context) CertificateMapGclbTargetOutput
}

CertificateMapGclbTargetInput is an input type that accepts CertificateMapGclbTargetArgs and CertificateMapGclbTargetOutput values. You can construct a concrete instance of `CertificateMapGclbTargetInput` via:

CertificateMapGclbTargetArgs{...}

type CertificateMapGclbTargetIpConfig

type CertificateMapGclbTargetIpConfig struct {
	// An external IP address
	IpAddress *string `pulumi:"ipAddress"`
	// A list of ports
	Ports []int `pulumi:"ports"`
}

type CertificateMapGclbTargetIpConfigArgs

type CertificateMapGclbTargetIpConfigArgs struct {
	// An external IP address
	IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"`
	// A list of ports
	Ports pulumi.IntArrayInput `pulumi:"ports"`
}

func (CertificateMapGclbTargetIpConfigArgs) ElementType

func (CertificateMapGclbTargetIpConfigArgs) ToCertificateMapGclbTargetIpConfigOutput

func (i CertificateMapGclbTargetIpConfigArgs) ToCertificateMapGclbTargetIpConfigOutput() CertificateMapGclbTargetIpConfigOutput

func (CertificateMapGclbTargetIpConfigArgs) ToCertificateMapGclbTargetIpConfigOutputWithContext

func (i CertificateMapGclbTargetIpConfigArgs) ToCertificateMapGclbTargetIpConfigOutputWithContext(ctx context.Context) CertificateMapGclbTargetIpConfigOutput

type CertificateMapGclbTargetIpConfigArray

type CertificateMapGclbTargetIpConfigArray []CertificateMapGclbTargetIpConfigInput

func (CertificateMapGclbTargetIpConfigArray) ElementType

func (CertificateMapGclbTargetIpConfigArray) ToCertificateMapGclbTargetIpConfigArrayOutput

func (i CertificateMapGclbTargetIpConfigArray) ToCertificateMapGclbTargetIpConfigArrayOutput() CertificateMapGclbTargetIpConfigArrayOutput

func (CertificateMapGclbTargetIpConfigArray) ToCertificateMapGclbTargetIpConfigArrayOutputWithContext

func (i CertificateMapGclbTargetIpConfigArray) ToCertificateMapGclbTargetIpConfigArrayOutputWithContext(ctx context.Context) CertificateMapGclbTargetIpConfigArrayOutput

type CertificateMapGclbTargetIpConfigArrayInput

type CertificateMapGclbTargetIpConfigArrayInput interface {
	pulumi.Input

	ToCertificateMapGclbTargetIpConfigArrayOutput() CertificateMapGclbTargetIpConfigArrayOutput
	ToCertificateMapGclbTargetIpConfigArrayOutputWithContext(context.Context) CertificateMapGclbTargetIpConfigArrayOutput
}

CertificateMapGclbTargetIpConfigArrayInput is an input type that accepts CertificateMapGclbTargetIpConfigArray and CertificateMapGclbTargetIpConfigArrayOutput values. You can construct a concrete instance of `CertificateMapGclbTargetIpConfigArrayInput` via:

CertificateMapGclbTargetIpConfigArray{ CertificateMapGclbTargetIpConfigArgs{...} }

type CertificateMapGclbTargetIpConfigArrayOutput

type CertificateMapGclbTargetIpConfigArrayOutput struct{ *pulumi.OutputState }

func (CertificateMapGclbTargetIpConfigArrayOutput) ElementType

func (CertificateMapGclbTargetIpConfigArrayOutput) Index

func (CertificateMapGclbTargetIpConfigArrayOutput) ToCertificateMapGclbTargetIpConfigArrayOutput

func (o CertificateMapGclbTargetIpConfigArrayOutput) ToCertificateMapGclbTargetIpConfigArrayOutput() CertificateMapGclbTargetIpConfigArrayOutput

func (CertificateMapGclbTargetIpConfigArrayOutput) ToCertificateMapGclbTargetIpConfigArrayOutputWithContext

func (o CertificateMapGclbTargetIpConfigArrayOutput) ToCertificateMapGclbTargetIpConfigArrayOutputWithContext(ctx context.Context) CertificateMapGclbTargetIpConfigArrayOutput

type CertificateMapGclbTargetIpConfigInput

type CertificateMapGclbTargetIpConfigInput interface {
	pulumi.Input

	ToCertificateMapGclbTargetIpConfigOutput() CertificateMapGclbTargetIpConfigOutput
	ToCertificateMapGclbTargetIpConfigOutputWithContext(context.Context) CertificateMapGclbTargetIpConfigOutput
}

CertificateMapGclbTargetIpConfigInput is an input type that accepts CertificateMapGclbTargetIpConfigArgs and CertificateMapGclbTargetIpConfigOutput values. You can construct a concrete instance of `CertificateMapGclbTargetIpConfigInput` via:

CertificateMapGclbTargetIpConfigArgs{...}

type CertificateMapGclbTargetIpConfigOutput

type CertificateMapGclbTargetIpConfigOutput struct{ *pulumi.OutputState }

func (CertificateMapGclbTargetIpConfigOutput) ElementType

func (CertificateMapGclbTargetIpConfigOutput) IpAddress

An external IP address

func (CertificateMapGclbTargetIpConfigOutput) Ports

A list of ports

func (CertificateMapGclbTargetIpConfigOutput) ToCertificateMapGclbTargetIpConfigOutput

func (o CertificateMapGclbTargetIpConfigOutput) ToCertificateMapGclbTargetIpConfigOutput() CertificateMapGclbTargetIpConfigOutput

func (CertificateMapGclbTargetIpConfigOutput) ToCertificateMapGclbTargetIpConfigOutputWithContext

func (o CertificateMapGclbTargetIpConfigOutput) ToCertificateMapGclbTargetIpConfigOutputWithContext(ctx context.Context) CertificateMapGclbTargetIpConfigOutput

type CertificateMapGclbTargetOutput

type CertificateMapGclbTargetOutput struct{ *pulumi.OutputState }

func (CertificateMapGclbTargetOutput) ElementType

func (CertificateMapGclbTargetOutput) IpConfigs

An IP configuration where this Certificate Map is serving Structure is documented below.

func (CertificateMapGclbTargetOutput) TargetHttpsProxy

Proxy name must be in the format projects/*/locations/*/targetHttpsProxies/*. This field is part of a union field `targetProxy`: Only one of `targetHttpsProxy` or `targetSslProxy` may be set.

func (CertificateMapGclbTargetOutput) TargetSslProxy

Proxy name must be in the format projects/*/locations/*/targetSslProxies/*. This field is part of a union field `targetProxy`: Only one of `targetHttpsProxy` or `targetSslProxy` may be set.

func (CertificateMapGclbTargetOutput) ToCertificateMapGclbTargetOutput

func (o CertificateMapGclbTargetOutput) ToCertificateMapGclbTargetOutput() CertificateMapGclbTargetOutput

func (CertificateMapGclbTargetOutput) ToCertificateMapGclbTargetOutputWithContext

func (o CertificateMapGclbTargetOutput) ToCertificateMapGclbTargetOutputWithContext(ctx context.Context) CertificateMapGclbTargetOutput

type CertificateMapInput

type CertificateMapInput interface {
	pulumi.Input

	ToCertificateMapOutput() CertificateMapOutput
	ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput
}

CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:

CertificateMap{ "key": CertificateArgs{...} }

type CertificateMapOutput

type CertificateMapOutput struct{ *pulumi.OutputState }

func (CertificateMapOutput) ElementType

func (CertificateMapOutput) ElementType() reflect.Type

func (CertificateMapOutput) MapIndex

func (CertificateMapOutput) ToCertificateMapOutput

func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMapOutput) ToCertificateMapOutputWithContext

func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateMapResource

type CertificateMapResource struct {
	pulumi.CustomResourceState

	// Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format,
	// accurate to nanoseconds with up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// A human-readable description of the resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// 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"`
	// A list of target proxies that use this Certificate Map
	// Structure is documented below.
	GclbTargets CertificateMapGclbTargetArrayOutput `pulumi:"gclbTargets"`
	// Set of labels associated with a Certificate Map resource.
	//
	// **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"`
	// A user-defined name of the Certificate Map. Certificate Map names must be unique
	// globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
	//
	// ***
	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"`
	// Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format,
	// accurate to nanoseconds with up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

CertificateMap defines a collection of certificate configurations, which are usable by any associated target proxies

## Example Usage

### Certificate Manager Certificate Map Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificatemanager.NewCertificateMap(ctx, "default", &certificatemanager.CertificateMapArgs{
			Name:        pulumi.String("cert-map"),
			Description: pulumi.String("My acceptance test certificate map"),
			Labels: pulumi.StringMap{
				"terraform": pulumi.String("true"),
				"acc-test":  pulumi.String("true"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CertificateMap can be imported using any of these accepted formats:

* `projects/{{project}}/locations/global/certificateMaps/{{name}}`

* `{{project}}/{{name}}`

* `{{name}}`

When using the `pulumi import` command, CertificateMap can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default projects/{{project}}/locations/global/certificateMaps/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{project}}/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{name}} ```

func GetCertificateMapResource

func GetCertificateMapResource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateMapResourceState, opts ...pulumi.ResourceOption) (*CertificateMapResource, error)

GetCertificateMapResource gets an existing CertificateMapResource 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 NewCertificateMapResource

func NewCertificateMapResource(ctx *pulumi.Context,
	name string, args *CertificateMapResourceArgs, opts ...pulumi.ResourceOption) (*CertificateMapResource, error)

NewCertificateMapResource registers a new resource with the given unique name, arguments, and options.

func (*CertificateMapResource) ElementType

func (*CertificateMapResource) ElementType() reflect.Type

func (*CertificateMapResource) ToCertificateMapResourceOutput

func (i *CertificateMapResource) ToCertificateMapResourceOutput() CertificateMapResourceOutput

func (*CertificateMapResource) ToCertificateMapResourceOutputWithContext

func (i *CertificateMapResource) ToCertificateMapResourceOutputWithContext(ctx context.Context) CertificateMapResourceOutput

type CertificateMapResourceArgs

type CertificateMapResourceArgs struct {
	// A human-readable description of the resource.
	Description pulumi.StringPtrInput
	// Set of labels associated with a Certificate Map resource.
	//
	// **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
	// A user-defined name of the Certificate Map. Certificate Map names must be unique
	// globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
	//
	// ***
	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 set of arguments for constructing a CertificateMapResource resource.

func (CertificateMapResourceArgs) ElementType

func (CertificateMapResourceArgs) ElementType() reflect.Type

type CertificateMapResourceArray

type CertificateMapResourceArray []CertificateMapResourceInput

func (CertificateMapResourceArray) ElementType

func (CertificateMapResourceArray) ToCertificateMapResourceArrayOutput

func (i CertificateMapResourceArray) ToCertificateMapResourceArrayOutput() CertificateMapResourceArrayOutput

func (CertificateMapResourceArray) ToCertificateMapResourceArrayOutputWithContext

func (i CertificateMapResourceArray) ToCertificateMapResourceArrayOutputWithContext(ctx context.Context) CertificateMapResourceArrayOutput

type CertificateMapResourceArrayInput

type CertificateMapResourceArrayInput interface {
	pulumi.Input

	ToCertificateMapResourceArrayOutput() CertificateMapResourceArrayOutput
	ToCertificateMapResourceArrayOutputWithContext(context.Context) CertificateMapResourceArrayOutput
}

CertificateMapResourceArrayInput is an input type that accepts CertificateMapResourceArray and CertificateMapResourceArrayOutput values. You can construct a concrete instance of `CertificateMapResourceArrayInput` via:

CertificateMapResourceArray{ CertificateMapResourceArgs{...} }

type CertificateMapResourceArrayOutput

type CertificateMapResourceArrayOutput struct{ *pulumi.OutputState }

func (CertificateMapResourceArrayOutput) ElementType

func (CertificateMapResourceArrayOutput) Index

func (CertificateMapResourceArrayOutput) ToCertificateMapResourceArrayOutput

func (o CertificateMapResourceArrayOutput) ToCertificateMapResourceArrayOutput() CertificateMapResourceArrayOutput

func (CertificateMapResourceArrayOutput) ToCertificateMapResourceArrayOutputWithContext

func (o CertificateMapResourceArrayOutput) ToCertificateMapResourceArrayOutputWithContext(ctx context.Context) CertificateMapResourceArrayOutput

type CertificateMapResourceInput

type CertificateMapResourceInput interface {
	pulumi.Input

	ToCertificateMapResourceOutput() CertificateMapResourceOutput
	ToCertificateMapResourceOutputWithContext(ctx context.Context) CertificateMapResourceOutput
}

type CertificateMapResourceMap

type CertificateMapResourceMap map[string]CertificateMapResourceInput

func (CertificateMapResourceMap) ElementType

func (CertificateMapResourceMap) ElementType() reflect.Type

func (CertificateMapResourceMap) ToCertificateMapResourceMapOutput

func (i CertificateMapResourceMap) ToCertificateMapResourceMapOutput() CertificateMapResourceMapOutput

func (CertificateMapResourceMap) ToCertificateMapResourceMapOutputWithContext

func (i CertificateMapResourceMap) ToCertificateMapResourceMapOutputWithContext(ctx context.Context) CertificateMapResourceMapOutput

type CertificateMapResourceMapInput

type CertificateMapResourceMapInput interface {
	pulumi.Input

	ToCertificateMapResourceMapOutput() CertificateMapResourceMapOutput
	ToCertificateMapResourceMapOutputWithContext(context.Context) CertificateMapResourceMapOutput
}

CertificateMapResourceMapInput is an input type that accepts CertificateMapResourceMap and CertificateMapResourceMapOutput values. You can construct a concrete instance of `CertificateMapResourceMapInput` via:

CertificateMapResourceMap{ "key": CertificateMapResourceArgs{...} }

type CertificateMapResourceMapOutput

type CertificateMapResourceMapOutput struct{ *pulumi.OutputState }

func (CertificateMapResourceMapOutput) ElementType

func (CertificateMapResourceMapOutput) MapIndex

func (CertificateMapResourceMapOutput) ToCertificateMapResourceMapOutput

func (o CertificateMapResourceMapOutput) ToCertificateMapResourceMapOutput() CertificateMapResourceMapOutput

func (CertificateMapResourceMapOutput) ToCertificateMapResourceMapOutputWithContext

func (o CertificateMapResourceMapOutput) ToCertificateMapResourceMapOutputWithContext(ctx context.Context) CertificateMapResourceMapOutput

type CertificateMapResourceOutput

type CertificateMapResourceOutput struct{ *pulumi.OutputState }

func (CertificateMapResourceOutput) CreateTime

Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (CertificateMapResourceOutput) Description

A human-readable description of the resource.

func (CertificateMapResourceOutput) EffectiveLabels

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (CertificateMapResourceOutput) ElementType

func (CertificateMapResourceOutput) GclbTargets

A list of target proxies that use this Certificate Map Structure is documented below.

func (CertificateMapResourceOutput) Labels

Set of labels associated with a Certificate Map resource.

**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 (CertificateMapResourceOutput) Name

A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match the pattern `projects/*/locations/*/certificateMaps/*`.

***

func (CertificateMapResourceOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (CertificateMapResourceOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (CertificateMapResourceOutput) ToCertificateMapResourceOutput

func (o CertificateMapResourceOutput) ToCertificateMapResourceOutput() CertificateMapResourceOutput

func (CertificateMapResourceOutput) ToCertificateMapResourceOutputWithContext

func (o CertificateMapResourceOutput) ToCertificateMapResourceOutputWithContext(ctx context.Context) CertificateMapResourceOutput

func (CertificateMapResourceOutput) UpdateTime

Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format, accurate to nanoseconds with up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type CertificateMapResourceState

type CertificateMapResourceState struct {
	// Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format,
	// accurate to nanoseconds with up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// A human-readable description of the resource.
	Description pulumi.StringPtrInput
	// 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
	// A list of target proxies that use this Certificate Map
	// Structure is documented below.
	GclbTargets CertificateMapGclbTargetArrayInput
	// Set of labels associated with a Certificate Map resource.
	//
	// **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
	// A user-defined name of the Certificate Map. Certificate Map names must be unique
	// globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
	//
	// ***
	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
	// Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format,
	// accurate to nanoseconds with up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (CertificateMapResourceState) ElementType

type CertificateOutput

type CertificateOutput struct{ *pulumi.OutputState }

func (CertificateOutput) Description

func (o CertificateOutput) Description() pulumi.StringPtrOutput

A human-readable description of the resource.

func (CertificateOutput) EffectiveLabels

func (o CertificateOutput) 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 (CertificateOutput) ElementType

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) Labels

Set of label tags associated with the Certificate resource. **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 (CertificateOutput) Location

The Certificate Manager location. If not specified, "global" is used.

func (CertificateOutput) Managed

Configuration and state of a Managed Certificate. Certificate Manager provisions and renews Managed Certificates automatically, for as long as it's authorized to do so. Structure is documented below.

func (CertificateOutput) Name

A user-defined name of the certificate. Certificate names must be unique The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

***

func (CertificateOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (CertificateOutput) PulumiLabels

func (o CertificateOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (CertificateOutput) SanDnsnames added in v8.1.0

func (o CertificateOutput) SanDnsnames() pulumi.StringArrayOutput

The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6)

func (CertificateOutput) Scope

The scope of the certificate. DEFAULT: Certificates with default scope are served from core Google data centers. If unsure, choose this option. EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence. See https://cloud.google.com/vpc/docs/edge-locations. ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs). See https://cloud.google.com/compute/docs/regions-zones

func (CertificateOutput) SelfManaged

Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility. Structure is documented below.

func (CertificateOutput) ToCertificateOutput

func (o CertificateOutput) ToCertificateOutput() CertificateOutput

func (CertificateOutput) ToCertificateOutputWithContext

func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateSelfManaged

type CertificateSelfManaged struct {
	// (Optional, Deprecated)
	// The certificate chain in PEM-encoded form.
	// Leaf certificate comes first, followed by intermediate ones if any.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	//
	// > **Warning:** `certificatePem` is deprecated and will be removed in a future major release. Use `pemCertificate` instead.
	//
	// Deprecated: `certificatePem` is deprecated and will be removed in a future major release. Use `pemCertificate` instead.
	CertificatePem *string `pulumi:"certificatePem"`
	// The certificate chain in PEM-encoded form.
	// Leaf certificate comes first, followed by intermediate ones if any.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PemCertificate *string `pulumi:"pemCertificate"`
	// The private key of the leaf certificate in PEM-encoded form.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PemPrivateKey *string `pulumi:"pemPrivateKey"`
	// (Optional, Deprecated)
	// The private key of the leaf certificate in PEM-encoded form.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	//
	// > **Warning:** `privateKeyPem` is deprecated and will be removed in a future major release. Use `pemPrivateKey` instead.
	//
	// Deprecated: `privateKeyPem` is deprecated and will be removed in a future major release. Use `pemPrivateKey` instead.
	PrivateKeyPem *string `pulumi:"privateKeyPem"`
}

type CertificateSelfManagedArgs

type CertificateSelfManagedArgs struct {
	// (Optional, Deprecated)
	// The certificate chain in PEM-encoded form.
	// Leaf certificate comes first, followed by intermediate ones if any.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	//
	// > **Warning:** `certificatePem` is deprecated and will be removed in a future major release. Use `pemCertificate` instead.
	//
	// Deprecated: `certificatePem` is deprecated and will be removed in a future major release. Use `pemCertificate` instead.
	CertificatePem pulumi.StringPtrInput `pulumi:"certificatePem"`
	// The certificate chain in PEM-encoded form.
	// Leaf certificate comes first, followed by intermediate ones if any.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PemCertificate pulumi.StringPtrInput `pulumi:"pemCertificate"`
	// The private key of the leaf certificate in PEM-encoded form.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PemPrivateKey pulumi.StringPtrInput `pulumi:"pemPrivateKey"`
	// (Optional, Deprecated)
	// The private key of the leaf certificate in PEM-encoded form.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	//
	// > **Warning:** `privateKeyPem` is deprecated and will be removed in a future major release. Use `pemPrivateKey` instead.
	//
	// Deprecated: `privateKeyPem` is deprecated and will be removed in a future major release. Use `pemPrivateKey` instead.
	PrivateKeyPem pulumi.StringPtrInput `pulumi:"privateKeyPem"`
}

func (CertificateSelfManagedArgs) ElementType

func (CertificateSelfManagedArgs) ElementType() reflect.Type

func (CertificateSelfManagedArgs) ToCertificateSelfManagedOutput

func (i CertificateSelfManagedArgs) ToCertificateSelfManagedOutput() CertificateSelfManagedOutput

func (CertificateSelfManagedArgs) ToCertificateSelfManagedOutputWithContext

func (i CertificateSelfManagedArgs) ToCertificateSelfManagedOutputWithContext(ctx context.Context) CertificateSelfManagedOutput

func (CertificateSelfManagedArgs) ToCertificateSelfManagedPtrOutput

func (i CertificateSelfManagedArgs) ToCertificateSelfManagedPtrOutput() CertificateSelfManagedPtrOutput

func (CertificateSelfManagedArgs) ToCertificateSelfManagedPtrOutputWithContext

func (i CertificateSelfManagedArgs) ToCertificateSelfManagedPtrOutputWithContext(ctx context.Context) CertificateSelfManagedPtrOutput

type CertificateSelfManagedInput

type CertificateSelfManagedInput interface {
	pulumi.Input

	ToCertificateSelfManagedOutput() CertificateSelfManagedOutput
	ToCertificateSelfManagedOutputWithContext(context.Context) CertificateSelfManagedOutput
}

CertificateSelfManagedInput is an input type that accepts CertificateSelfManagedArgs and CertificateSelfManagedOutput values. You can construct a concrete instance of `CertificateSelfManagedInput` via:

CertificateSelfManagedArgs{...}

type CertificateSelfManagedOutput

type CertificateSelfManagedOutput struct{ *pulumi.OutputState }

func (CertificateSelfManagedOutput) CertificatePem deprecated

(Optional, Deprecated) The certificate chain in PEM-encoded form. Leaf certificate comes first, followed by intermediate ones if any. **Note**: This property is sensitive and will not be displayed in the plan.

> **Warning:** `certificatePem` is deprecated and will be removed in a future major release. Use `pemCertificate` instead.

Deprecated: `certificatePem` is deprecated and will be removed in a future major release. Use `pemCertificate` instead.

func (CertificateSelfManagedOutput) ElementType

func (CertificateSelfManagedOutput) PemCertificate

The certificate chain in PEM-encoded form. Leaf certificate comes first, followed by intermediate ones if any. **Note**: This property is sensitive and will not be displayed in the plan.

func (CertificateSelfManagedOutput) PemPrivateKey

The private key of the leaf certificate in PEM-encoded form. **Note**: This property is sensitive and will not be displayed in the plan.

func (CertificateSelfManagedOutput) PrivateKeyPem deprecated

(Optional, Deprecated) The private key of the leaf certificate in PEM-encoded form. **Note**: This property is sensitive and will not be displayed in the plan.

> **Warning:** `privateKeyPem` is deprecated and will be removed in a future major release. Use `pemPrivateKey` instead.

Deprecated: `privateKeyPem` is deprecated and will be removed in a future major release. Use `pemPrivateKey` instead.

func (CertificateSelfManagedOutput) ToCertificateSelfManagedOutput

func (o CertificateSelfManagedOutput) ToCertificateSelfManagedOutput() CertificateSelfManagedOutput

func (CertificateSelfManagedOutput) ToCertificateSelfManagedOutputWithContext

func (o CertificateSelfManagedOutput) ToCertificateSelfManagedOutputWithContext(ctx context.Context) CertificateSelfManagedOutput

func (CertificateSelfManagedOutput) ToCertificateSelfManagedPtrOutput

func (o CertificateSelfManagedOutput) ToCertificateSelfManagedPtrOutput() CertificateSelfManagedPtrOutput

func (CertificateSelfManagedOutput) ToCertificateSelfManagedPtrOutputWithContext

func (o CertificateSelfManagedOutput) ToCertificateSelfManagedPtrOutputWithContext(ctx context.Context) CertificateSelfManagedPtrOutput

type CertificateSelfManagedPtrInput

type CertificateSelfManagedPtrInput interface {
	pulumi.Input

	ToCertificateSelfManagedPtrOutput() CertificateSelfManagedPtrOutput
	ToCertificateSelfManagedPtrOutputWithContext(context.Context) CertificateSelfManagedPtrOutput
}

CertificateSelfManagedPtrInput is an input type that accepts CertificateSelfManagedArgs, CertificateSelfManagedPtr and CertificateSelfManagedPtrOutput values. You can construct a concrete instance of `CertificateSelfManagedPtrInput` via:

        CertificateSelfManagedArgs{...}

or:

        nil

type CertificateSelfManagedPtrOutput

type CertificateSelfManagedPtrOutput struct{ *pulumi.OutputState }

func (CertificateSelfManagedPtrOutput) CertificatePem deprecated

(Optional, Deprecated) The certificate chain in PEM-encoded form. Leaf certificate comes first, followed by intermediate ones if any. **Note**: This property is sensitive and will not be displayed in the plan.

> **Warning:** `certificatePem` is deprecated and will be removed in a future major release. Use `pemCertificate` instead.

Deprecated: `certificatePem` is deprecated and will be removed in a future major release. Use `pemCertificate` instead.

func (CertificateSelfManagedPtrOutput) Elem

func (CertificateSelfManagedPtrOutput) ElementType

func (CertificateSelfManagedPtrOutput) PemCertificate

The certificate chain in PEM-encoded form. Leaf certificate comes first, followed by intermediate ones if any. **Note**: This property is sensitive and will not be displayed in the plan.

func (CertificateSelfManagedPtrOutput) PemPrivateKey

The private key of the leaf certificate in PEM-encoded form. **Note**: This property is sensitive and will not be displayed in the plan.

func (CertificateSelfManagedPtrOutput) PrivateKeyPem deprecated

(Optional, Deprecated) The private key of the leaf certificate in PEM-encoded form. **Note**: This property is sensitive and will not be displayed in the plan.

> **Warning:** `privateKeyPem` is deprecated and will be removed in a future major release. Use `pemPrivateKey` instead.

Deprecated: `privateKeyPem` is deprecated and will be removed in a future major release. Use `pemPrivateKey` instead.

func (CertificateSelfManagedPtrOutput) ToCertificateSelfManagedPtrOutput

func (o CertificateSelfManagedPtrOutput) ToCertificateSelfManagedPtrOutput() CertificateSelfManagedPtrOutput

func (CertificateSelfManagedPtrOutput) ToCertificateSelfManagedPtrOutputWithContext

func (o CertificateSelfManagedPtrOutput) ToCertificateSelfManagedPtrOutputWithContext(ctx context.Context) CertificateSelfManagedPtrOutput

type CertificateState

type CertificateState struct {
	// A human-readable description of the resource.
	Description pulumi.StringPtrInput
	// 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
	// Set of label tags associated with the Certificate resource.
	// **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 Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrInput
	// Configuration and state of a Managed Certificate.
	// Certificate Manager provisions and renews Managed Certificates
	// automatically, for as long as it's authorized to do so.
	// Structure is documented below.
	Managed CertificateManagedPtrInput
	// A user-defined name of the certificate. Certificate names must be unique
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	//
	// ***
	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
	// The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6)
	SanDnsnames pulumi.StringArrayInput
	// The scope of the certificate.
	// DEFAULT: Certificates with default scope are served from core Google data centers.
	// If unsure, choose this option.
	// EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
	// See https://cloud.google.com/vpc/docs/edge-locations.
	// ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
	// See https://cloud.google.com/compute/docs/regions-zones
	Scope pulumi.StringPtrInput
	// Certificate data for a SelfManaged Certificate.
	// SelfManaged Certificates are uploaded by the user. Updating such
	// certificates before they expire remains the user's responsibility.
	// Structure is documented below.
	SelfManaged CertificateSelfManagedPtrInput
}

func (CertificateState) ElementType

func (CertificateState) ElementType() reflect.Type

type DnsAuthorization

type DnsAuthorization struct {
	pulumi.CustomResourceState

	// A human-readable description of the resource.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The structure describing the DNS Resource Record that needs to be added
	// to DNS configuration for the authorization to be usable by
	// certificate.
	// Structure is documented below.
	DnsResourceRecords DnsAuthorizationDnsResourceRecordArrayOutput `pulumi:"dnsResourceRecords"`
	// A domain which is being authorized. A DnsAuthorization resource covers a
	// single domain and its wildcard, e.g. authorization for "example.com" can
	// be used to issue certificates for "example.com" and "*.example.com".
	Domain pulumi.StringOutput `pulumi:"domain"`
	// 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"`
	// Set of label tags associated with the DNS Authorization resource.
	// **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 Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Name of the resource; provided by the client when the resource is created.
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	//
	// ***
	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"`
	// type of DNS authorization. If unset during the resource creation, FIXED_RECORD will
	// be used for global resources, and PER_PROJECT_RECORD will be used for other locations.
	// FIXED_RECORD DNS authorization uses DNS-01 validation method
	// PER_PROJECT_RECORD DNS authorization allows for independent management
	// of Google-managed certificates with DNS authorization across multiple
	// projects.
	// Possible values are: `FIXED_RECORD`, `PER_PROJECT_RECORD`.
	Type pulumi.StringOutput `pulumi:"type"`
}

DnsAuthorization represents a HTTP-reachable backend for a DnsAuthorization.

## Example Usage

### Certificate Manager Dns Authorization Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificatemanager.NewDnsAuthorization(ctx, "default", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth"),
			Location:    pulumi.String("global"),
			Description: pulumi.String("The default dns"),
			Domain:      pulumi.String("subdomain.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		ctx.Export("recordNameToInsert", _default.DnsResourceRecords.ApplyT(func(dnsResourceRecords []certificatemanager.DnsAuthorizationDnsResourceRecord) (*string, error) {
			return &dnsResourceRecords[0].Name, nil
		}).(pulumi.StringPtrOutput))
		ctx.Export("recordTypeToInsert", _default.DnsResourceRecords.ApplyT(func(dnsResourceRecords []certificatemanager.DnsAuthorizationDnsResourceRecord) (*string, error) {
			return &dnsResourceRecords[0].Type, nil
		}).(pulumi.StringPtrOutput))
		ctx.Export("recordDataToInsert", _default.DnsResourceRecords.ApplyT(func(dnsResourceRecords []certificatemanager.DnsAuthorizationDnsResourceRecord) (*string, error) {
			return &dnsResourceRecords[0].Data, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}

``` ### Certificate Manager Dns Authorization Regional

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificatemanager.NewDnsAuthorization(ctx, "default", &certificatemanager.DnsAuthorizationArgs{
			Name:        pulumi.String("dns-auth"),
			Location:    pulumi.String("us-central1"),
			Description: pulumi.String("reginal dns"),
			Type:        pulumi.String("PER_PROJECT_RECORD"),
			Domain:      pulumi.String("subdomain.hashicorptest.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DnsAuthorization can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/dnsAuthorizations/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, DnsAuthorization can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default projects/{{project}}/locations/{{location}}/dnsAuthorizations/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{location}}/{{name}} ```

func GetDnsAuthorization

func GetDnsAuthorization(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsAuthorizationState, opts ...pulumi.ResourceOption) (*DnsAuthorization, error)

GetDnsAuthorization gets an existing DnsAuthorization 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 NewDnsAuthorization

func NewDnsAuthorization(ctx *pulumi.Context,
	name string, args *DnsAuthorizationArgs, opts ...pulumi.ResourceOption) (*DnsAuthorization, error)

NewDnsAuthorization registers a new resource with the given unique name, arguments, and options.

func (*DnsAuthorization) ElementType

func (*DnsAuthorization) ElementType() reflect.Type

func (*DnsAuthorization) ToDnsAuthorizationOutput

func (i *DnsAuthorization) ToDnsAuthorizationOutput() DnsAuthorizationOutput

func (*DnsAuthorization) ToDnsAuthorizationOutputWithContext

func (i *DnsAuthorization) ToDnsAuthorizationOutputWithContext(ctx context.Context) DnsAuthorizationOutput

type DnsAuthorizationArgs

type DnsAuthorizationArgs struct {
	// A human-readable description of the resource.
	Description pulumi.StringPtrInput
	// A domain which is being authorized. A DnsAuthorization resource covers a
	// single domain and its wildcard, e.g. authorization for "example.com" can
	// be used to issue certificates for "example.com" and "*.example.com".
	Domain pulumi.StringInput
	// Set of label tags associated with the DNS Authorization resource.
	// **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 Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrInput
	// Name of the resource; provided by the client when the resource is created.
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	//
	// ***
	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
	// type of DNS authorization. If unset during the resource creation, FIXED_RECORD will
	// be used for global resources, and PER_PROJECT_RECORD will be used for other locations.
	// FIXED_RECORD DNS authorization uses DNS-01 validation method
	// PER_PROJECT_RECORD DNS authorization allows for independent management
	// of Google-managed certificates with DNS authorization across multiple
	// projects.
	// Possible values are: `FIXED_RECORD`, `PER_PROJECT_RECORD`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a DnsAuthorization resource.

func (DnsAuthorizationArgs) ElementType

func (DnsAuthorizationArgs) ElementType() reflect.Type

type DnsAuthorizationArray

type DnsAuthorizationArray []DnsAuthorizationInput

func (DnsAuthorizationArray) ElementType

func (DnsAuthorizationArray) ElementType() reflect.Type

func (DnsAuthorizationArray) ToDnsAuthorizationArrayOutput

func (i DnsAuthorizationArray) ToDnsAuthorizationArrayOutput() DnsAuthorizationArrayOutput

func (DnsAuthorizationArray) ToDnsAuthorizationArrayOutputWithContext

func (i DnsAuthorizationArray) ToDnsAuthorizationArrayOutputWithContext(ctx context.Context) DnsAuthorizationArrayOutput

type DnsAuthorizationArrayInput

type DnsAuthorizationArrayInput interface {
	pulumi.Input

	ToDnsAuthorizationArrayOutput() DnsAuthorizationArrayOutput
	ToDnsAuthorizationArrayOutputWithContext(context.Context) DnsAuthorizationArrayOutput
}

DnsAuthorizationArrayInput is an input type that accepts DnsAuthorizationArray and DnsAuthorizationArrayOutput values. You can construct a concrete instance of `DnsAuthorizationArrayInput` via:

DnsAuthorizationArray{ DnsAuthorizationArgs{...} }

type DnsAuthorizationArrayOutput

type DnsAuthorizationArrayOutput struct{ *pulumi.OutputState }

func (DnsAuthorizationArrayOutput) ElementType

func (DnsAuthorizationArrayOutput) Index

func (DnsAuthorizationArrayOutput) ToDnsAuthorizationArrayOutput

func (o DnsAuthorizationArrayOutput) ToDnsAuthorizationArrayOutput() DnsAuthorizationArrayOutput

func (DnsAuthorizationArrayOutput) ToDnsAuthorizationArrayOutputWithContext

func (o DnsAuthorizationArrayOutput) ToDnsAuthorizationArrayOutputWithContext(ctx context.Context) DnsAuthorizationArrayOutput

type DnsAuthorizationDnsResourceRecord

type DnsAuthorizationDnsResourceRecord struct {
	// (Output)
	// Data of the DNS Resource Record.
	Data *string `pulumi:"data"`
	// Name of the resource; provided by the client when the resource is created.
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	//
	// ***
	Name *string `pulumi:"name"`
	// type of DNS authorization. If unset during the resource creation, FIXED_RECORD will
	// be used for global resources, and PER_PROJECT_RECORD will be used for other locations.
	// FIXED_RECORD DNS authorization uses DNS-01 validation method
	// PER_PROJECT_RECORD DNS authorization allows for independent management
	// of Google-managed certificates with DNS authorization across multiple
	// projects.
	// Possible values are: `FIXED_RECORD`, `PER_PROJECT_RECORD`.
	Type *string `pulumi:"type"`
}

type DnsAuthorizationDnsResourceRecordArgs

type DnsAuthorizationDnsResourceRecordArgs struct {
	// (Output)
	// Data of the DNS Resource Record.
	Data pulumi.StringPtrInput `pulumi:"data"`
	// Name of the resource; provided by the client when the resource is created.
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	//
	// ***
	Name pulumi.StringPtrInput `pulumi:"name"`
	// type of DNS authorization. If unset during the resource creation, FIXED_RECORD will
	// be used for global resources, and PER_PROJECT_RECORD will be used for other locations.
	// FIXED_RECORD DNS authorization uses DNS-01 validation method
	// PER_PROJECT_RECORD DNS authorization allows for independent management
	// of Google-managed certificates with DNS authorization across multiple
	// projects.
	// Possible values are: `FIXED_RECORD`, `PER_PROJECT_RECORD`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (DnsAuthorizationDnsResourceRecordArgs) ElementType

func (DnsAuthorizationDnsResourceRecordArgs) ToDnsAuthorizationDnsResourceRecordOutput

func (i DnsAuthorizationDnsResourceRecordArgs) ToDnsAuthorizationDnsResourceRecordOutput() DnsAuthorizationDnsResourceRecordOutput

func (DnsAuthorizationDnsResourceRecordArgs) ToDnsAuthorizationDnsResourceRecordOutputWithContext

func (i DnsAuthorizationDnsResourceRecordArgs) ToDnsAuthorizationDnsResourceRecordOutputWithContext(ctx context.Context) DnsAuthorizationDnsResourceRecordOutput

type DnsAuthorizationDnsResourceRecordArray

type DnsAuthorizationDnsResourceRecordArray []DnsAuthorizationDnsResourceRecordInput

func (DnsAuthorizationDnsResourceRecordArray) ElementType

func (DnsAuthorizationDnsResourceRecordArray) ToDnsAuthorizationDnsResourceRecordArrayOutput

func (i DnsAuthorizationDnsResourceRecordArray) ToDnsAuthorizationDnsResourceRecordArrayOutput() DnsAuthorizationDnsResourceRecordArrayOutput

func (DnsAuthorizationDnsResourceRecordArray) ToDnsAuthorizationDnsResourceRecordArrayOutputWithContext

func (i DnsAuthorizationDnsResourceRecordArray) ToDnsAuthorizationDnsResourceRecordArrayOutputWithContext(ctx context.Context) DnsAuthorizationDnsResourceRecordArrayOutput

type DnsAuthorizationDnsResourceRecordArrayInput

type DnsAuthorizationDnsResourceRecordArrayInput interface {
	pulumi.Input

	ToDnsAuthorizationDnsResourceRecordArrayOutput() DnsAuthorizationDnsResourceRecordArrayOutput
	ToDnsAuthorizationDnsResourceRecordArrayOutputWithContext(context.Context) DnsAuthorizationDnsResourceRecordArrayOutput
}

DnsAuthorizationDnsResourceRecordArrayInput is an input type that accepts DnsAuthorizationDnsResourceRecordArray and DnsAuthorizationDnsResourceRecordArrayOutput values. You can construct a concrete instance of `DnsAuthorizationDnsResourceRecordArrayInput` via:

DnsAuthorizationDnsResourceRecordArray{ DnsAuthorizationDnsResourceRecordArgs{...} }

type DnsAuthorizationDnsResourceRecordArrayOutput

type DnsAuthorizationDnsResourceRecordArrayOutput struct{ *pulumi.OutputState }

func (DnsAuthorizationDnsResourceRecordArrayOutput) ElementType

func (DnsAuthorizationDnsResourceRecordArrayOutput) Index

func (DnsAuthorizationDnsResourceRecordArrayOutput) ToDnsAuthorizationDnsResourceRecordArrayOutput

func (o DnsAuthorizationDnsResourceRecordArrayOutput) ToDnsAuthorizationDnsResourceRecordArrayOutput() DnsAuthorizationDnsResourceRecordArrayOutput

func (DnsAuthorizationDnsResourceRecordArrayOutput) ToDnsAuthorizationDnsResourceRecordArrayOutputWithContext

func (o DnsAuthorizationDnsResourceRecordArrayOutput) ToDnsAuthorizationDnsResourceRecordArrayOutputWithContext(ctx context.Context) DnsAuthorizationDnsResourceRecordArrayOutput

type DnsAuthorizationDnsResourceRecordInput

type DnsAuthorizationDnsResourceRecordInput interface {
	pulumi.Input

	ToDnsAuthorizationDnsResourceRecordOutput() DnsAuthorizationDnsResourceRecordOutput
	ToDnsAuthorizationDnsResourceRecordOutputWithContext(context.Context) DnsAuthorizationDnsResourceRecordOutput
}

DnsAuthorizationDnsResourceRecordInput is an input type that accepts DnsAuthorizationDnsResourceRecordArgs and DnsAuthorizationDnsResourceRecordOutput values. You can construct a concrete instance of `DnsAuthorizationDnsResourceRecordInput` via:

DnsAuthorizationDnsResourceRecordArgs{...}

type DnsAuthorizationDnsResourceRecordOutput

type DnsAuthorizationDnsResourceRecordOutput struct{ *pulumi.OutputState }

func (DnsAuthorizationDnsResourceRecordOutput) Data

(Output) Data of the DNS Resource Record.

func (DnsAuthorizationDnsResourceRecordOutput) ElementType

func (DnsAuthorizationDnsResourceRecordOutput) Name

Name of the resource; provided by the client when the resource is created. The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

***

func (DnsAuthorizationDnsResourceRecordOutput) ToDnsAuthorizationDnsResourceRecordOutput

func (o DnsAuthorizationDnsResourceRecordOutput) ToDnsAuthorizationDnsResourceRecordOutput() DnsAuthorizationDnsResourceRecordOutput

func (DnsAuthorizationDnsResourceRecordOutput) ToDnsAuthorizationDnsResourceRecordOutputWithContext

func (o DnsAuthorizationDnsResourceRecordOutput) ToDnsAuthorizationDnsResourceRecordOutputWithContext(ctx context.Context) DnsAuthorizationDnsResourceRecordOutput

func (DnsAuthorizationDnsResourceRecordOutput) Type

type of DNS authorization. If unset during the resource creation, FIXED_RECORD will be used for global resources, and PER_PROJECT_RECORD will be used for other locations. FIXED_RECORD DNS authorization uses DNS-01 validation method PER_PROJECT_RECORD DNS authorization allows for independent management of Google-managed certificates with DNS authorization across multiple projects. Possible values are: `FIXED_RECORD`, `PER_PROJECT_RECORD`.

type DnsAuthorizationInput

type DnsAuthorizationInput interface {
	pulumi.Input

	ToDnsAuthorizationOutput() DnsAuthorizationOutput
	ToDnsAuthorizationOutputWithContext(ctx context.Context) DnsAuthorizationOutput
}

type DnsAuthorizationMap

type DnsAuthorizationMap map[string]DnsAuthorizationInput

func (DnsAuthorizationMap) ElementType

func (DnsAuthorizationMap) ElementType() reflect.Type

func (DnsAuthorizationMap) ToDnsAuthorizationMapOutput

func (i DnsAuthorizationMap) ToDnsAuthorizationMapOutput() DnsAuthorizationMapOutput

func (DnsAuthorizationMap) ToDnsAuthorizationMapOutputWithContext

func (i DnsAuthorizationMap) ToDnsAuthorizationMapOutputWithContext(ctx context.Context) DnsAuthorizationMapOutput

type DnsAuthorizationMapInput

type DnsAuthorizationMapInput interface {
	pulumi.Input

	ToDnsAuthorizationMapOutput() DnsAuthorizationMapOutput
	ToDnsAuthorizationMapOutputWithContext(context.Context) DnsAuthorizationMapOutput
}

DnsAuthorizationMapInput is an input type that accepts DnsAuthorizationMap and DnsAuthorizationMapOutput values. You can construct a concrete instance of `DnsAuthorizationMapInput` via:

DnsAuthorizationMap{ "key": DnsAuthorizationArgs{...} }

type DnsAuthorizationMapOutput

type DnsAuthorizationMapOutput struct{ *pulumi.OutputState }

func (DnsAuthorizationMapOutput) ElementType

func (DnsAuthorizationMapOutput) ElementType() reflect.Type

func (DnsAuthorizationMapOutput) MapIndex

func (DnsAuthorizationMapOutput) ToDnsAuthorizationMapOutput

func (o DnsAuthorizationMapOutput) ToDnsAuthorizationMapOutput() DnsAuthorizationMapOutput

func (DnsAuthorizationMapOutput) ToDnsAuthorizationMapOutputWithContext

func (o DnsAuthorizationMapOutput) ToDnsAuthorizationMapOutputWithContext(ctx context.Context) DnsAuthorizationMapOutput

type DnsAuthorizationOutput

type DnsAuthorizationOutput struct{ *pulumi.OutputState }

func (DnsAuthorizationOutput) Description

A human-readable description of the resource.

func (DnsAuthorizationOutput) DnsResourceRecords

The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate. Structure is documented below.

func (DnsAuthorizationOutput) Domain

A domain which is being authorized. A DnsAuthorization resource covers a single domain and its wildcard, e.g. authorization for "example.com" can be used to issue certificates for "example.com" and "*.example.com".

func (DnsAuthorizationOutput) EffectiveLabels

func (o DnsAuthorizationOutput) 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 (DnsAuthorizationOutput) ElementType

func (DnsAuthorizationOutput) ElementType() reflect.Type

func (DnsAuthorizationOutput) Labels

Set of label tags associated with the DNS Authorization resource. **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 (DnsAuthorizationOutput) Location

The Certificate Manager location. If not specified, "global" is used.

func (DnsAuthorizationOutput) Name

Name of the resource; provided by the client when the resource is created. The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

***

func (DnsAuthorizationOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (DnsAuthorizationOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (DnsAuthorizationOutput) ToDnsAuthorizationOutput

func (o DnsAuthorizationOutput) ToDnsAuthorizationOutput() DnsAuthorizationOutput

func (DnsAuthorizationOutput) ToDnsAuthorizationOutputWithContext

func (o DnsAuthorizationOutput) ToDnsAuthorizationOutputWithContext(ctx context.Context) DnsAuthorizationOutput

func (DnsAuthorizationOutput) Type

type of DNS authorization. If unset during the resource creation, FIXED_RECORD will be used for global resources, and PER_PROJECT_RECORD will be used for other locations. FIXED_RECORD DNS authorization uses DNS-01 validation method PER_PROJECT_RECORD DNS authorization allows for independent management of Google-managed certificates with DNS authorization across multiple projects. Possible values are: `FIXED_RECORD`, `PER_PROJECT_RECORD`.

type DnsAuthorizationState

type DnsAuthorizationState struct {
	// A human-readable description of the resource.
	Description pulumi.StringPtrInput
	// The structure describing the DNS Resource Record that needs to be added
	// to DNS configuration for the authorization to be usable by
	// certificate.
	// Structure is documented below.
	DnsResourceRecords DnsAuthorizationDnsResourceRecordArrayInput
	// A domain which is being authorized. A DnsAuthorization resource covers a
	// single domain and its wildcard, e.g. authorization for "example.com" can
	// be used to issue certificates for "example.com" and "*.example.com".
	Domain pulumi.StringPtrInput
	// 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
	// Set of label tags associated with the DNS Authorization resource.
	// **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 Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringPtrInput
	// Name of the resource; provided by the client when the resource is created.
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	//
	// ***
	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
	// type of DNS authorization. If unset during the resource creation, FIXED_RECORD will
	// be used for global resources, and PER_PROJECT_RECORD will be used for other locations.
	// FIXED_RECORD DNS authorization uses DNS-01 validation method
	// PER_PROJECT_RECORD DNS authorization allows for independent management
	// of Google-managed certificates with DNS authorization across multiple
	// projects.
	// Possible values are: `FIXED_RECORD`, `PER_PROJECT_RECORD`.
	Type pulumi.StringPtrInput
}

func (DnsAuthorizationState) ElementType

func (DnsAuthorizationState) ElementType() reflect.Type

type GetCertificateMapArgs

type GetCertificateMapArgs struct {
	// The name of the certificate map.
	//
	// ***
	Name string `pulumi:"name"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getCertificateMap.

type GetCertificateMapGclbTarget

type GetCertificateMapGclbTarget struct {
	// An IP configuration where this Certificate Map is serving
	IpConfigs []GetCertificateMapGclbTargetIpConfig `pulumi:"ipConfigs"`
	// Proxy name must be in the format projects/*/locations/*/targetHttpsProxies/*.
	// This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or
	// 'targetSslProxy' may be set.
	TargetHttpsProxy string `pulumi:"targetHttpsProxy"`
	// Proxy name must be in the format projects/*/locations/*/targetSslProxies/*.
	// This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or
	// 'targetSslProxy' may be set.
	TargetSslProxy string `pulumi:"targetSslProxy"`
}

type GetCertificateMapGclbTargetArgs

type GetCertificateMapGclbTargetArgs struct {
	// An IP configuration where this Certificate Map is serving
	IpConfigs GetCertificateMapGclbTargetIpConfigArrayInput `pulumi:"ipConfigs"`
	// Proxy name must be in the format projects/*/locations/*/targetHttpsProxies/*.
	// This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or
	// 'targetSslProxy' may be set.
	TargetHttpsProxy pulumi.StringInput `pulumi:"targetHttpsProxy"`
	// Proxy name must be in the format projects/*/locations/*/targetSslProxies/*.
	// This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or
	// 'targetSslProxy' may be set.
	TargetSslProxy pulumi.StringInput `pulumi:"targetSslProxy"`
}

func (GetCertificateMapGclbTargetArgs) ElementType

func (GetCertificateMapGclbTargetArgs) ToGetCertificateMapGclbTargetOutput

func (i GetCertificateMapGclbTargetArgs) ToGetCertificateMapGclbTargetOutput() GetCertificateMapGclbTargetOutput

func (GetCertificateMapGclbTargetArgs) ToGetCertificateMapGclbTargetOutputWithContext

func (i GetCertificateMapGclbTargetArgs) ToGetCertificateMapGclbTargetOutputWithContext(ctx context.Context) GetCertificateMapGclbTargetOutput

type GetCertificateMapGclbTargetArray

type GetCertificateMapGclbTargetArray []GetCertificateMapGclbTargetInput

func (GetCertificateMapGclbTargetArray) ElementType

func (GetCertificateMapGclbTargetArray) ToGetCertificateMapGclbTargetArrayOutput

func (i GetCertificateMapGclbTargetArray) ToGetCertificateMapGclbTargetArrayOutput() GetCertificateMapGclbTargetArrayOutput

func (GetCertificateMapGclbTargetArray) ToGetCertificateMapGclbTargetArrayOutputWithContext

func (i GetCertificateMapGclbTargetArray) ToGetCertificateMapGclbTargetArrayOutputWithContext(ctx context.Context) GetCertificateMapGclbTargetArrayOutput

type GetCertificateMapGclbTargetArrayInput

type GetCertificateMapGclbTargetArrayInput interface {
	pulumi.Input

	ToGetCertificateMapGclbTargetArrayOutput() GetCertificateMapGclbTargetArrayOutput
	ToGetCertificateMapGclbTargetArrayOutputWithContext(context.Context) GetCertificateMapGclbTargetArrayOutput
}

GetCertificateMapGclbTargetArrayInput is an input type that accepts GetCertificateMapGclbTargetArray and GetCertificateMapGclbTargetArrayOutput values. You can construct a concrete instance of `GetCertificateMapGclbTargetArrayInput` via:

GetCertificateMapGclbTargetArray{ GetCertificateMapGclbTargetArgs{...} }

type GetCertificateMapGclbTargetArrayOutput

type GetCertificateMapGclbTargetArrayOutput struct{ *pulumi.OutputState }

func (GetCertificateMapGclbTargetArrayOutput) ElementType

func (GetCertificateMapGclbTargetArrayOutput) Index

func (GetCertificateMapGclbTargetArrayOutput) ToGetCertificateMapGclbTargetArrayOutput

func (o GetCertificateMapGclbTargetArrayOutput) ToGetCertificateMapGclbTargetArrayOutput() GetCertificateMapGclbTargetArrayOutput

func (GetCertificateMapGclbTargetArrayOutput) ToGetCertificateMapGclbTargetArrayOutputWithContext

func (o GetCertificateMapGclbTargetArrayOutput) ToGetCertificateMapGclbTargetArrayOutputWithContext(ctx context.Context) GetCertificateMapGclbTargetArrayOutput

type GetCertificateMapGclbTargetInput

type GetCertificateMapGclbTargetInput interface {
	pulumi.Input

	ToGetCertificateMapGclbTargetOutput() GetCertificateMapGclbTargetOutput
	ToGetCertificateMapGclbTargetOutputWithContext(context.Context) GetCertificateMapGclbTargetOutput
}

GetCertificateMapGclbTargetInput is an input type that accepts GetCertificateMapGclbTargetArgs and GetCertificateMapGclbTargetOutput values. You can construct a concrete instance of `GetCertificateMapGclbTargetInput` via:

GetCertificateMapGclbTargetArgs{...}

type GetCertificateMapGclbTargetIpConfig

type GetCertificateMapGclbTargetIpConfig struct {
	// An external IP address
	IpAddress string `pulumi:"ipAddress"`
	// A list of ports
	Ports []int `pulumi:"ports"`
}

type GetCertificateMapGclbTargetIpConfigArgs

type GetCertificateMapGclbTargetIpConfigArgs struct {
	// An external IP address
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// A list of ports
	Ports pulumi.IntArrayInput `pulumi:"ports"`
}

func (GetCertificateMapGclbTargetIpConfigArgs) ElementType

func (GetCertificateMapGclbTargetIpConfigArgs) ToGetCertificateMapGclbTargetIpConfigOutput

func (i GetCertificateMapGclbTargetIpConfigArgs) ToGetCertificateMapGclbTargetIpConfigOutput() GetCertificateMapGclbTargetIpConfigOutput

func (GetCertificateMapGclbTargetIpConfigArgs) ToGetCertificateMapGclbTargetIpConfigOutputWithContext

func (i GetCertificateMapGclbTargetIpConfigArgs) ToGetCertificateMapGclbTargetIpConfigOutputWithContext(ctx context.Context) GetCertificateMapGclbTargetIpConfigOutput

type GetCertificateMapGclbTargetIpConfigArray

type GetCertificateMapGclbTargetIpConfigArray []GetCertificateMapGclbTargetIpConfigInput

func (GetCertificateMapGclbTargetIpConfigArray) ElementType

func (GetCertificateMapGclbTargetIpConfigArray) ToGetCertificateMapGclbTargetIpConfigArrayOutput

func (i GetCertificateMapGclbTargetIpConfigArray) ToGetCertificateMapGclbTargetIpConfigArrayOutput() GetCertificateMapGclbTargetIpConfigArrayOutput

func (GetCertificateMapGclbTargetIpConfigArray) ToGetCertificateMapGclbTargetIpConfigArrayOutputWithContext

func (i GetCertificateMapGclbTargetIpConfigArray) ToGetCertificateMapGclbTargetIpConfigArrayOutputWithContext(ctx context.Context) GetCertificateMapGclbTargetIpConfigArrayOutput

type GetCertificateMapGclbTargetIpConfigArrayInput

type GetCertificateMapGclbTargetIpConfigArrayInput interface {
	pulumi.Input

	ToGetCertificateMapGclbTargetIpConfigArrayOutput() GetCertificateMapGclbTargetIpConfigArrayOutput
	ToGetCertificateMapGclbTargetIpConfigArrayOutputWithContext(context.Context) GetCertificateMapGclbTargetIpConfigArrayOutput
}

GetCertificateMapGclbTargetIpConfigArrayInput is an input type that accepts GetCertificateMapGclbTargetIpConfigArray and GetCertificateMapGclbTargetIpConfigArrayOutput values. You can construct a concrete instance of `GetCertificateMapGclbTargetIpConfigArrayInput` via:

GetCertificateMapGclbTargetIpConfigArray{ GetCertificateMapGclbTargetIpConfigArgs{...} }

type GetCertificateMapGclbTargetIpConfigArrayOutput

type GetCertificateMapGclbTargetIpConfigArrayOutput struct{ *pulumi.OutputState }

func (GetCertificateMapGclbTargetIpConfigArrayOutput) ElementType

func (GetCertificateMapGclbTargetIpConfigArrayOutput) Index

func (GetCertificateMapGclbTargetIpConfigArrayOutput) ToGetCertificateMapGclbTargetIpConfigArrayOutput

func (o GetCertificateMapGclbTargetIpConfigArrayOutput) ToGetCertificateMapGclbTargetIpConfigArrayOutput() GetCertificateMapGclbTargetIpConfigArrayOutput

func (GetCertificateMapGclbTargetIpConfigArrayOutput) ToGetCertificateMapGclbTargetIpConfigArrayOutputWithContext

func (o GetCertificateMapGclbTargetIpConfigArrayOutput) ToGetCertificateMapGclbTargetIpConfigArrayOutputWithContext(ctx context.Context) GetCertificateMapGclbTargetIpConfigArrayOutput

type GetCertificateMapGclbTargetIpConfigInput

type GetCertificateMapGclbTargetIpConfigInput interface {
	pulumi.Input

	ToGetCertificateMapGclbTargetIpConfigOutput() GetCertificateMapGclbTargetIpConfigOutput
	ToGetCertificateMapGclbTargetIpConfigOutputWithContext(context.Context) GetCertificateMapGclbTargetIpConfigOutput
}

GetCertificateMapGclbTargetIpConfigInput is an input type that accepts GetCertificateMapGclbTargetIpConfigArgs and GetCertificateMapGclbTargetIpConfigOutput values. You can construct a concrete instance of `GetCertificateMapGclbTargetIpConfigInput` via:

GetCertificateMapGclbTargetIpConfigArgs{...}

type GetCertificateMapGclbTargetIpConfigOutput

type GetCertificateMapGclbTargetIpConfigOutput struct{ *pulumi.OutputState }

func (GetCertificateMapGclbTargetIpConfigOutput) ElementType

func (GetCertificateMapGclbTargetIpConfigOutput) IpAddress

An external IP address

func (GetCertificateMapGclbTargetIpConfigOutput) Ports

A list of ports

func (GetCertificateMapGclbTargetIpConfigOutput) ToGetCertificateMapGclbTargetIpConfigOutput

func (o GetCertificateMapGclbTargetIpConfigOutput) ToGetCertificateMapGclbTargetIpConfigOutput() GetCertificateMapGclbTargetIpConfigOutput

func (GetCertificateMapGclbTargetIpConfigOutput) ToGetCertificateMapGclbTargetIpConfigOutputWithContext

func (o GetCertificateMapGclbTargetIpConfigOutput) ToGetCertificateMapGclbTargetIpConfigOutputWithContext(ctx context.Context) GetCertificateMapGclbTargetIpConfigOutput

type GetCertificateMapGclbTargetOutput

type GetCertificateMapGclbTargetOutput struct{ *pulumi.OutputState }

func (GetCertificateMapGclbTargetOutput) ElementType

func (GetCertificateMapGclbTargetOutput) IpConfigs

An IP configuration where this Certificate Map is serving

func (GetCertificateMapGclbTargetOutput) TargetHttpsProxy

Proxy name must be in the format projects/*/locations/*/targetHttpsProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.

func (GetCertificateMapGclbTargetOutput) TargetSslProxy

Proxy name must be in the format projects/*/locations/*/targetSslProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.

func (GetCertificateMapGclbTargetOutput) ToGetCertificateMapGclbTargetOutput

func (o GetCertificateMapGclbTargetOutput) ToGetCertificateMapGclbTargetOutput() GetCertificateMapGclbTargetOutput

func (GetCertificateMapGclbTargetOutput) ToGetCertificateMapGclbTargetOutputWithContext

func (o GetCertificateMapGclbTargetOutput) ToGetCertificateMapGclbTargetOutputWithContext(ctx context.Context) GetCertificateMapGclbTargetOutput

type GetCertificateMapOutputArgs

type GetCertificateMapOutputArgs struct {
	// The name of the certificate map.
	//
	// ***
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getCertificateMap.

func (GetCertificateMapOutputArgs) ElementType

type GetCertificateMapResult

type GetCertificateMapResult struct {
	CreateTime      string                        `pulumi:"createTime"`
	Description     string                        `pulumi:"description"`
	EffectiveLabels map[string]string             `pulumi:"effectiveLabels"`
	GclbTargets     []GetCertificateMapGclbTarget `pulumi:"gclbTargets"`
	// The provider-assigned unique ID for this managed resource.
	Id           string            `pulumi:"id"`
	Labels       map[string]string `pulumi:"labels"`
	Name         string            `pulumi:"name"`
	Project      *string           `pulumi:"project"`
	PulumiLabels map[string]string `pulumi:"pulumiLabels"`
	UpdateTime   string            `pulumi:"updateTime"`
}

A collection of values returned by getCertificateMap.

func GetCertificateMap

func GetCertificateMap(ctx *pulumi.Context, args *GetCertificateMapArgs, opts ...pulumi.InvokeOption) (*GetCertificateMapResult, error)

Get info about a Google Certificate Manager Certificate Map resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificatemanager.GetCertificateMap(ctx, &certificatemanager.GetCertificateMapArgs{
			Name: "cert-map",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCertificateMapResultOutput

type GetCertificateMapResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCertificateMap.

func (GetCertificateMapResultOutput) CreateTime

func (GetCertificateMapResultOutput) Description

func (GetCertificateMapResultOutput) EffectiveLabels

func (GetCertificateMapResultOutput) ElementType

func (GetCertificateMapResultOutput) GclbTargets

func (GetCertificateMapResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCertificateMapResultOutput) Labels

func (GetCertificateMapResultOutput) Name

func (GetCertificateMapResultOutput) Project

func (GetCertificateMapResultOutput) PulumiLabels

func (GetCertificateMapResultOutput) ToGetCertificateMapResultOutput

func (o GetCertificateMapResultOutput) ToGetCertificateMapResultOutput() GetCertificateMapResultOutput

func (GetCertificateMapResultOutput) ToGetCertificateMapResultOutputWithContext

func (o GetCertificateMapResultOutput) ToGetCertificateMapResultOutputWithContext(ctx context.Context) GetCertificateMapResultOutput

func (GetCertificateMapResultOutput) UpdateTime

type GetCertificatesArgs added in v8.1.0

type GetCertificatesArgs struct {
	// Filter expression to restrict the certificates returned.
	Filter *string `pulumi:"filter"`
	// The region in which the resource belongs. If it is not provided, `GLOBAL` is used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getCertificates.

type GetCertificatesCertificate added in v8.1.0

type GetCertificatesCertificate struct {
	// A human-readable description of the resource.
	Description     string            `pulumi:"description"`
	EffectiveLabels map[string]string `pulumi:"effectiveLabels"`
	// Set of label tags associated with the Certificate resource.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels map[string]string `pulumi:"labels"`
	// The Certificate Manager location. If not specified, "global" is used.
	Location string `pulumi:"location"`
	// Configuration and state of a Managed Certificate.
	// Certificate Manager provisions and renews Managed Certificates
	// automatically, for as long as it's authorized to do so.
	Manageds []GetCertificatesCertificateManaged `pulumi:"manageds"`
	// A user-defined name of the certificate. Certificate names must be unique
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	Name string `pulumi:"name"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project string `pulumi:"project"`
	// The combination of labels configured directly on the resource
	//  and default labels configured on the provider.
	PulumiLabels map[string]string `pulumi:"pulumiLabels"`
	// The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6)
	SanDnsnames []string `pulumi:"sanDnsnames"`
	// The scope of the certificate.
	//
	// DEFAULT: Certificates with default scope are served from core Google data centers.
	// If unsure, choose this option.
	//
	// EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
	// See https://cloud.google.com/vpc/docs/edge-locations.
	//
	// ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
	// See https://cloud.google.com/compute/docs/regions-zones
	Scope string `pulumi:"scope"`
}

type GetCertificatesCertificateArgs added in v8.1.0

type GetCertificatesCertificateArgs struct {
	// A human-readable description of the resource.
	Description     pulumi.StringInput    `pulumi:"description"`
	EffectiveLabels pulumi.StringMapInput `pulumi:"effectiveLabels"`
	// Set of label tags associated with the Certificate resource.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// The Certificate Manager location. If not specified, "global" is used.
	Location pulumi.StringInput `pulumi:"location"`
	// Configuration and state of a Managed Certificate.
	// Certificate Manager provisions and renews Managed Certificates
	// automatically, for as long as it's authorized to do so.
	Manageds GetCertificatesCertificateManagedArrayInput `pulumi:"manageds"`
	// A user-defined name of the certificate. Certificate names must be unique
	// The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
	// and all following characters must be a dash, underscore, letter or digit.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringInput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	//  and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput `pulumi:"pulumiLabels"`
	// The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6)
	SanDnsnames pulumi.StringArrayInput `pulumi:"sanDnsnames"`
	// The scope of the certificate.
	//
	// DEFAULT: Certificates with default scope are served from core Google data centers.
	// If unsure, choose this option.
	//
	// EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
	// See https://cloud.google.com/vpc/docs/edge-locations.
	//
	// ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs).
	// See https://cloud.google.com/compute/docs/regions-zones
	Scope pulumi.StringInput `pulumi:"scope"`
}

func (GetCertificatesCertificateArgs) ElementType added in v8.1.0

func (GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput added in v8.1.0

func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput

func (GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext added in v8.1.0

func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput

type GetCertificatesCertificateArray added in v8.1.0

type GetCertificatesCertificateArray []GetCertificatesCertificateInput

func (GetCertificatesCertificateArray) ElementType added in v8.1.0

func (GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput added in v8.1.0

func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput

func (GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext added in v8.1.0

func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput

type GetCertificatesCertificateArrayInput added in v8.1.0

type GetCertificatesCertificateArrayInput interface {
	pulumi.Input

	ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
	ToGetCertificatesCertificateArrayOutputWithContext(context.Context) GetCertificatesCertificateArrayOutput
}

GetCertificatesCertificateArrayInput is an input type that accepts GetCertificatesCertificateArray and GetCertificatesCertificateArrayOutput values. You can construct a concrete instance of `GetCertificatesCertificateArrayInput` via:

GetCertificatesCertificateArray{ GetCertificatesCertificateArgs{...} }

type GetCertificatesCertificateArrayOutput added in v8.1.0

type GetCertificatesCertificateArrayOutput struct{ *pulumi.OutputState }

func (GetCertificatesCertificateArrayOutput) ElementType added in v8.1.0

func (GetCertificatesCertificateArrayOutput) Index added in v8.1.0

func (GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput added in v8.1.0

func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput

func (GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext added in v8.1.0

func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput

type GetCertificatesCertificateInput added in v8.1.0

type GetCertificatesCertificateInput interface {
	pulumi.Input

	ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
	ToGetCertificatesCertificateOutputWithContext(context.Context) GetCertificatesCertificateOutput
}

GetCertificatesCertificateInput is an input type that accepts GetCertificatesCertificateArgs and GetCertificatesCertificateOutput values. You can construct a concrete instance of `GetCertificatesCertificateInput` via:

GetCertificatesCertificateArgs{...}

type GetCertificatesCertificateManaged added in v8.1.0

type GetCertificatesCertificateManaged struct {
	// Detailed state of the latest authorization attempt for each domain
	// specified for this Managed Certificate.
	AuthorizationAttemptInfos []GetCertificatesCertificateManagedAuthorizationAttemptInfo `pulumi:"authorizationAttemptInfos"`
	// Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
	DnsAuthorizations []string `pulumi:"dnsAuthorizations"`
	// The domains for which a managed SSL certificate will be generated.
	// Wildcard domains are only supported with DNS challenge resolution
	Domains []string `pulumi:"domains"`
	// The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*.
	// If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
	// Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
	IssuanceConfig string `pulumi:"issuanceConfig"`
	// Information about issues with provisioning this Managed Certificate.
	ProvisioningIssues []GetCertificatesCertificateManagedProvisioningIssue `pulumi:"provisioningIssues"`
	// A state of this Managed Certificate.
	State string `pulumi:"state"`
}

type GetCertificatesCertificateManagedArgs added in v8.1.0

type GetCertificatesCertificateManagedArgs struct {
	// Detailed state of the latest authorization attempt for each domain
	// specified for this Managed Certificate.
	AuthorizationAttemptInfos GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayInput `pulumi:"authorizationAttemptInfos"`
	// Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
	DnsAuthorizations pulumi.StringArrayInput `pulumi:"dnsAuthorizations"`
	// The domains for which a managed SSL certificate will be generated.
	// Wildcard domains are only supported with DNS challenge resolution
	Domains pulumi.StringArrayInput `pulumi:"domains"`
	// The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*.
	// If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
	// Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
	IssuanceConfig pulumi.StringInput `pulumi:"issuanceConfig"`
	// Information about issues with provisioning this Managed Certificate.
	ProvisioningIssues GetCertificatesCertificateManagedProvisioningIssueArrayInput `pulumi:"provisioningIssues"`
	// A state of this Managed Certificate.
	State pulumi.StringInput `pulumi:"state"`
}

func (GetCertificatesCertificateManagedArgs) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedArgs) ToGetCertificatesCertificateManagedOutput added in v8.1.0

func (i GetCertificatesCertificateManagedArgs) ToGetCertificatesCertificateManagedOutput() GetCertificatesCertificateManagedOutput

func (GetCertificatesCertificateManagedArgs) ToGetCertificatesCertificateManagedOutputWithContext added in v8.1.0

func (i GetCertificatesCertificateManagedArgs) ToGetCertificatesCertificateManagedOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedOutput

type GetCertificatesCertificateManagedArray added in v8.1.0

type GetCertificatesCertificateManagedArray []GetCertificatesCertificateManagedInput

func (GetCertificatesCertificateManagedArray) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedArray) ToGetCertificatesCertificateManagedArrayOutput added in v8.1.0

func (i GetCertificatesCertificateManagedArray) ToGetCertificatesCertificateManagedArrayOutput() GetCertificatesCertificateManagedArrayOutput

func (GetCertificatesCertificateManagedArray) ToGetCertificatesCertificateManagedArrayOutputWithContext added in v8.1.0

func (i GetCertificatesCertificateManagedArray) ToGetCertificatesCertificateManagedArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedArrayOutput

type GetCertificatesCertificateManagedArrayInput added in v8.1.0

type GetCertificatesCertificateManagedArrayInput interface {
	pulumi.Input

	ToGetCertificatesCertificateManagedArrayOutput() GetCertificatesCertificateManagedArrayOutput
	ToGetCertificatesCertificateManagedArrayOutputWithContext(context.Context) GetCertificatesCertificateManagedArrayOutput
}

GetCertificatesCertificateManagedArrayInput is an input type that accepts GetCertificatesCertificateManagedArray and GetCertificatesCertificateManagedArrayOutput values. You can construct a concrete instance of `GetCertificatesCertificateManagedArrayInput` via:

GetCertificatesCertificateManagedArray{ GetCertificatesCertificateManagedArgs{...} }

type GetCertificatesCertificateManagedArrayOutput added in v8.1.0

type GetCertificatesCertificateManagedArrayOutput struct{ *pulumi.OutputState }

func (GetCertificatesCertificateManagedArrayOutput) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedArrayOutput) Index added in v8.1.0

func (GetCertificatesCertificateManagedArrayOutput) ToGetCertificatesCertificateManagedArrayOutput added in v8.1.0

func (o GetCertificatesCertificateManagedArrayOutput) ToGetCertificatesCertificateManagedArrayOutput() GetCertificatesCertificateManagedArrayOutput

func (GetCertificatesCertificateManagedArrayOutput) ToGetCertificatesCertificateManagedArrayOutputWithContext added in v8.1.0

func (o GetCertificatesCertificateManagedArrayOutput) ToGetCertificatesCertificateManagedArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedArrayOutput

type GetCertificatesCertificateManagedAuthorizationAttemptInfo added in v8.1.0

type GetCertificatesCertificateManagedAuthorizationAttemptInfo struct {
	// Human readable explanation for reaching the state. Provided to help
	// address the configuration issues.
	// Not guaranteed to be stable. For programmatic access use 'failure_reason' field.
	Details string `pulumi:"details"`
	// Domain name of the authorization attempt.
	Domain string `pulumi:"domain"`
	// Reason for failure of the authorization attempt for the domain.
	FailureReason string `pulumi:"failureReason"`
	// State of the domain for managed certificate issuance.
	State string `pulumi:"state"`
}

type GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs added in v8.1.0

type GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs struct {
	// Human readable explanation for reaching the state. Provided to help
	// address the configuration issues.
	// Not guaranteed to be stable. For programmatic access use 'failure_reason' field.
	Details pulumi.StringInput `pulumi:"details"`
	// Domain name of the authorization attempt.
	Domain pulumi.StringInput `pulumi:"domain"`
	// Reason for failure of the authorization attempt for the domain.
	FailureReason pulumi.StringInput `pulumi:"failureReason"`
	// State of the domain for managed certificate issuance.
	State pulumi.StringInput `pulumi:"state"`
}

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoOutput added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoOutputWithContext added in v8.1.0

func (i GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput

type GetCertificatesCertificateManagedAuthorizationAttemptInfoArray added in v8.1.0

type GetCertificatesCertificateManagedAuthorizationAttemptInfoArray []GetCertificatesCertificateManagedAuthorizationAttemptInfoInput

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArray) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArray) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArray) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext added in v8.1.0

func (i GetCertificatesCertificateManagedAuthorizationAttemptInfoArray) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput

type GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayInput added in v8.1.0

type GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayInput interface {
	pulumi.Input

	ToGetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput() GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput
	ToGetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext(context.Context) GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput
}

GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayInput is an input type that accepts GetCertificatesCertificateManagedAuthorizationAttemptInfoArray and GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput values. You can construct a concrete instance of `GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayInput` via:

GetCertificatesCertificateManagedAuthorizationAttemptInfoArray{ GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs{...} }

type GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput added in v8.1.0

type GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput struct{ *pulumi.OutputState }

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput) Index added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext added in v8.1.0

func (o GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedAuthorizationAttemptInfoArrayOutput

type GetCertificatesCertificateManagedAuthorizationAttemptInfoInput added in v8.1.0

type GetCertificatesCertificateManagedAuthorizationAttemptInfoInput interface {
	pulumi.Input

	ToGetCertificatesCertificateManagedAuthorizationAttemptInfoOutput() GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput
	ToGetCertificatesCertificateManagedAuthorizationAttemptInfoOutputWithContext(context.Context) GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput
}

GetCertificatesCertificateManagedAuthorizationAttemptInfoInput is an input type that accepts GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs and GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput values. You can construct a concrete instance of `GetCertificatesCertificateManagedAuthorizationAttemptInfoInput` via:

GetCertificatesCertificateManagedAuthorizationAttemptInfoArgs{...}

type GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput added in v8.1.0

type GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput struct{ *pulumi.OutputState }

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput) Details added in v8.1.0

Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use 'failure_reason' field.

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput) Domain added in v8.1.0

Domain name of the authorization attempt.

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput) FailureReason added in v8.1.0

Reason for failure of the authorization attempt for the domain.

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput) State added in v8.1.0

State of the domain for managed certificate issuance.

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoOutput added in v8.1.0

func (GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoOutputWithContext added in v8.1.0

func (o GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput) ToGetCertificatesCertificateManagedAuthorizationAttemptInfoOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedAuthorizationAttemptInfoOutput

type GetCertificatesCertificateManagedInput added in v8.1.0

type GetCertificatesCertificateManagedInput interface {
	pulumi.Input

	ToGetCertificatesCertificateManagedOutput() GetCertificatesCertificateManagedOutput
	ToGetCertificatesCertificateManagedOutputWithContext(context.Context) GetCertificatesCertificateManagedOutput
}

GetCertificatesCertificateManagedInput is an input type that accepts GetCertificatesCertificateManagedArgs and GetCertificatesCertificateManagedOutput values. You can construct a concrete instance of `GetCertificatesCertificateManagedInput` via:

GetCertificatesCertificateManagedArgs{...}

type GetCertificatesCertificateManagedOutput added in v8.1.0

type GetCertificatesCertificateManagedOutput struct{ *pulumi.OutputState }

func (GetCertificatesCertificateManagedOutput) AuthorizationAttemptInfos added in v8.1.0

Detailed state of the latest authorization attempt for each domain specified for this Managed Certificate.

func (GetCertificatesCertificateManagedOutput) DnsAuthorizations added in v8.1.0

Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.

func (GetCertificatesCertificateManagedOutput) Domains added in v8.1.0

The domains for which a managed SSL certificate will be generated. Wildcard domains are only supported with DNS challenge resolution

func (GetCertificatesCertificateManagedOutput) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedOutput) IssuanceConfig added in v8.1.0

The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*. If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.

func (GetCertificatesCertificateManagedOutput) ProvisioningIssues added in v8.1.0

Information about issues with provisioning this Managed Certificate.

func (GetCertificatesCertificateManagedOutput) State added in v8.1.0

A state of this Managed Certificate.

func (GetCertificatesCertificateManagedOutput) ToGetCertificatesCertificateManagedOutput added in v8.1.0

func (o GetCertificatesCertificateManagedOutput) ToGetCertificatesCertificateManagedOutput() GetCertificatesCertificateManagedOutput

func (GetCertificatesCertificateManagedOutput) ToGetCertificatesCertificateManagedOutputWithContext added in v8.1.0

func (o GetCertificatesCertificateManagedOutput) ToGetCertificatesCertificateManagedOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedOutput

type GetCertificatesCertificateManagedProvisioningIssue added in v8.1.0

type GetCertificatesCertificateManagedProvisioningIssue struct {
	// Human readable explanation about the issue. Provided to help address
	// the configuration issues.
	// Not guaranteed to be stable. For programmatic access use 'reason' field.
	Details string `pulumi:"details"`
	// Reason for provisioning failures.
	Reason string `pulumi:"reason"`
}

type GetCertificatesCertificateManagedProvisioningIssueArgs added in v8.1.0

type GetCertificatesCertificateManagedProvisioningIssueArgs struct {
	// Human readable explanation about the issue. Provided to help address
	// the configuration issues.
	// Not guaranteed to be stable. For programmatic access use 'reason' field.
	Details pulumi.StringInput `pulumi:"details"`
	// Reason for provisioning failures.
	Reason pulumi.StringInput `pulumi:"reason"`
}

func (GetCertificatesCertificateManagedProvisioningIssueArgs) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedProvisioningIssueArgs) ToGetCertificatesCertificateManagedProvisioningIssueOutput added in v8.1.0

func (GetCertificatesCertificateManagedProvisioningIssueArgs) ToGetCertificatesCertificateManagedProvisioningIssueOutputWithContext added in v8.1.0

func (i GetCertificatesCertificateManagedProvisioningIssueArgs) ToGetCertificatesCertificateManagedProvisioningIssueOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedProvisioningIssueOutput

type GetCertificatesCertificateManagedProvisioningIssueArray added in v8.1.0

type GetCertificatesCertificateManagedProvisioningIssueArray []GetCertificatesCertificateManagedProvisioningIssueInput

func (GetCertificatesCertificateManagedProvisioningIssueArray) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedProvisioningIssueArray) ToGetCertificatesCertificateManagedProvisioningIssueArrayOutput added in v8.1.0

func (i GetCertificatesCertificateManagedProvisioningIssueArray) ToGetCertificatesCertificateManagedProvisioningIssueArrayOutput() GetCertificatesCertificateManagedProvisioningIssueArrayOutput

func (GetCertificatesCertificateManagedProvisioningIssueArray) ToGetCertificatesCertificateManagedProvisioningIssueArrayOutputWithContext added in v8.1.0

func (i GetCertificatesCertificateManagedProvisioningIssueArray) ToGetCertificatesCertificateManagedProvisioningIssueArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedProvisioningIssueArrayOutput

type GetCertificatesCertificateManagedProvisioningIssueArrayInput added in v8.1.0

type GetCertificatesCertificateManagedProvisioningIssueArrayInput interface {
	pulumi.Input

	ToGetCertificatesCertificateManagedProvisioningIssueArrayOutput() GetCertificatesCertificateManagedProvisioningIssueArrayOutput
	ToGetCertificatesCertificateManagedProvisioningIssueArrayOutputWithContext(context.Context) GetCertificatesCertificateManagedProvisioningIssueArrayOutput
}

GetCertificatesCertificateManagedProvisioningIssueArrayInput is an input type that accepts GetCertificatesCertificateManagedProvisioningIssueArray and GetCertificatesCertificateManagedProvisioningIssueArrayOutput values. You can construct a concrete instance of `GetCertificatesCertificateManagedProvisioningIssueArrayInput` via:

GetCertificatesCertificateManagedProvisioningIssueArray{ GetCertificatesCertificateManagedProvisioningIssueArgs{...} }

type GetCertificatesCertificateManagedProvisioningIssueArrayOutput added in v8.1.0

type GetCertificatesCertificateManagedProvisioningIssueArrayOutput struct{ *pulumi.OutputState }

func (GetCertificatesCertificateManagedProvisioningIssueArrayOutput) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedProvisioningIssueArrayOutput) Index added in v8.1.0

func (GetCertificatesCertificateManagedProvisioningIssueArrayOutput) ToGetCertificatesCertificateManagedProvisioningIssueArrayOutput added in v8.1.0

func (GetCertificatesCertificateManagedProvisioningIssueArrayOutput) ToGetCertificatesCertificateManagedProvisioningIssueArrayOutputWithContext added in v8.1.0

func (o GetCertificatesCertificateManagedProvisioningIssueArrayOutput) ToGetCertificatesCertificateManagedProvisioningIssueArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedProvisioningIssueArrayOutput

type GetCertificatesCertificateManagedProvisioningIssueInput added in v8.1.0

type GetCertificatesCertificateManagedProvisioningIssueInput interface {
	pulumi.Input

	ToGetCertificatesCertificateManagedProvisioningIssueOutput() GetCertificatesCertificateManagedProvisioningIssueOutput
	ToGetCertificatesCertificateManagedProvisioningIssueOutputWithContext(context.Context) GetCertificatesCertificateManagedProvisioningIssueOutput
}

GetCertificatesCertificateManagedProvisioningIssueInput is an input type that accepts GetCertificatesCertificateManagedProvisioningIssueArgs and GetCertificatesCertificateManagedProvisioningIssueOutput values. You can construct a concrete instance of `GetCertificatesCertificateManagedProvisioningIssueInput` via:

GetCertificatesCertificateManagedProvisioningIssueArgs{...}

type GetCertificatesCertificateManagedProvisioningIssueOutput added in v8.1.0

type GetCertificatesCertificateManagedProvisioningIssueOutput struct{ *pulumi.OutputState }

func (GetCertificatesCertificateManagedProvisioningIssueOutput) Details added in v8.1.0

Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use 'reason' field.

func (GetCertificatesCertificateManagedProvisioningIssueOutput) ElementType added in v8.1.0

func (GetCertificatesCertificateManagedProvisioningIssueOutput) Reason added in v8.1.0

Reason for provisioning failures.

func (GetCertificatesCertificateManagedProvisioningIssueOutput) ToGetCertificatesCertificateManagedProvisioningIssueOutput added in v8.1.0

func (GetCertificatesCertificateManagedProvisioningIssueOutput) ToGetCertificatesCertificateManagedProvisioningIssueOutputWithContext added in v8.1.0

func (o GetCertificatesCertificateManagedProvisioningIssueOutput) ToGetCertificatesCertificateManagedProvisioningIssueOutputWithContext(ctx context.Context) GetCertificatesCertificateManagedProvisioningIssueOutput

type GetCertificatesCertificateOutput added in v8.1.0

type GetCertificatesCertificateOutput struct{ *pulumi.OutputState }

func (GetCertificatesCertificateOutput) Description added in v8.1.0

A human-readable description of the resource.

func (GetCertificatesCertificateOutput) EffectiveLabels added in v8.1.0

func (GetCertificatesCertificateOutput) ElementType added in v8.1.0

func (GetCertificatesCertificateOutput) Labels added in v8.1.0

Set of label tags associated with the Certificate resource.

**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

func (GetCertificatesCertificateOutput) Location added in v8.1.0

The Certificate Manager location. If not specified, "global" is used.

func (GetCertificatesCertificateOutput) Manageds added in v8.1.0

Configuration and state of a Managed Certificate. Certificate Manager provisions and renews Managed Certificates automatically, for as long as it's authorized to do so.

func (GetCertificatesCertificateOutput) Name added in v8.1.0

A user-defined name of the certificate. Certificate names must be unique The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit.

func (GetCertificatesCertificateOutput) Project added in v8.1.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (GetCertificatesCertificateOutput) PulumiLabels added in v8.1.0

The combination of labels configured directly on the resource

and default labels configured on the provider.

func (GetCertificatesCertificateOutput) SanDnsnames added in v8.1.0

The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6)

func (GetCertificatesCertificateOutput) Scope added in v8.1.0

The scope of the certificate.

DEFAULT: Certificates with default scope are served from core Google data centers. If unsure, choose this option.

EDGE_CACHE: Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence. See https://cloud.google.com/vpc/docs/edge-locations.

ALL_REGIONS: Certificates with ALL_REGIONS scope are served from all GCP regions (You can only use ALL_REGIONS with global certs). See https://cloud.google.com/compute/docs/regions-zones

func (GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput added in v8.1.0

func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput

func (GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext added in v8.1.0

func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput

type GetCertificatesOutputArgs added in v8.1.0

type GetCertificatesOutputArgs struct {
	// Filter expression to restrict the certificates returned.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// The region in which the resource belongs. If it is not provided, `GLOBAL` is used.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getCertificates.

func (GetCertificatesOutputArgs) ElementType added in v8.1.0

func (GetCertificatesOutputArgs) ElementType() reflect.Type

type GetCertificatesResult added in v8.1.0

type GetCertificatesResult struct {
	Certificates []GetCertificatesCertificate `pulumi:"certificates"`
	Filter       *string                      `pulumi:"filter"`
	// The provider-assigned unique ID for this managed resource.
	Id     string  `pulumi:"id"`
	Region *string `pulumi:"region"`
}

A collection of values returned by getCertificates.

func GetCertificates added in v8.1.0

func GetCertificates(ctx *pulumi.Context, args *GetCertificatesArgs, opts ...pulumi.InvokeOption) (*GetCertificatesResult, error)

List all certificates within Google Certificate Manager for a given project, region or filter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificatemanager.GetCertificates(ctx, &certificatemanager.GetCertificatesArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### With A Filter

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificatemanager.GetCertificates(ctx, &certificatemanager.GetCertificatesArgs{
			Filter: pulumi.StringRef("name:projects/PROJECT_ID/locations/REGION/certificates/certificate-name-*"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCertificatesResultOutput added in v8.1.0

type GetCertificatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCertificates.

func GetCertificatesOutput added in v8.1.0

func (GetCertificatesResultOutput) Certificates added in v8.1.0

func (GetCertificatesResultOutput) ElementType added in v8.1.0

func (GetCertificatesResultOutput) Filter added in v8.1.0

func (GetCertificatesResultOutput) Id added in v8.1.0

The provider-assigned unique ID for this managed resource.

func (GetCertificatesResultOutput) Region added in v8.1.0

func (GetCertificatesResultOutput) ToGetCertificatesResultOutput added in v8.1.0

func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput

func (GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext added in v8.1.0

func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput

type TrustConfig

type TrustConfig struct {
	pulumi.CustomResourceState

	// Allowlisted PEM-encoded certificates. A certificate matching an allowlisted certificate is always considered valid as long as
	// the certificate is parseable, proof of private key possession is established, and constraints on the certificate's SAN field are met.
	// Structure is documented below.
	AllowlistedCertificates TrustConfigAllowlistedCertificateArrayOutput `pulumi:"allowlistedCertificates"`
	// The creation timestamp of a TrustConfig.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// One or more paragraphs of text description of a trust config.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// 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"`
	// Set of label tags associated with the trust config.
	// **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 trust config location.
	//
	// ***
	Location pulumi.StringOutput `pulumi:"location"`
	// A user-defined name of the trust config. Trust config names must be unique globally.
	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"`
	// Set of trust stores to perform validation against.
	// This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.
	// Structure is documented below.
	TrustStores TrustConfigTrustStoreArrayOutput `pulumi:"trustStores"`
	// The last update timestamp of a TrustConfig.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

TrustConfig represents a resource that represents your Public Key Infrastructure (PKI) configuration in Certificate Manager for use in mutual TLS authentication scenarios.

To get more information about TrustConfig, see:

* [API documentation](https://cloud.google.com/certificate-manager/docs/reference/certificate-manager/rest/v1/projects.locations.trustConfigs/create) * How-to Guides

## Example Usage

### Certificate Manager Trust Config

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "test-fixtures/cert.pem",
		}, nil)
		if err != nil {
			return err
		}
		invokeFile1, err := std.File(ctx, &std.FileArgs{
			Input: "test-fixtures/cert.pem",
		}, nil)
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewTrustConfig(ctx, "default", &certificatemanager.TrustConfigArgs{
			Name:        pulumi.String("trust-config"),
			Description: pulumi.String("sample description for the trust config"),
			Location:    pulumi.String("us-central1"),
			TrustStores: certificatemanager.TrustConfigTrustStoreArray{
				&certificatemanager.TrustConfigTrustStoreArgs{
					TrustAnchors: certificatemanager.TrustConfigTrustStoreTrustAnchorArray{
						&certificatemanager.TrustConfigTrustStoreTrustAnchorArgs{
							PemCertificate: pulumi.String(invokeFile.Result),
						},
					},
					IntermediateCas: certificatemanager.TrustConfigTrustStoreIntermediateCaArray{
						&certificatemanager.TrustConfigTrustStoreIntermediateCaArgs{
							PemCertificate: pulumi.String(invokeFile1.Result),
						},
					},
				},
			},
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Certificate Manager Trust Config Allowlisted Certificates

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "test-fixtures/cert.pem",
		}, nil)
		if err != nil {
			return err
		}
		invokeFile1, err := std.File(ctx, &std.FileArgs{
			Input: "test-fixtures/cert2.pem",
		}, nil)
		if err != nil {
			return err
		}
		_, err = certificatemanager.NewTrustConfig(ctx, "default", &certificatemanager.TrustConfigArgs{
			Name:        pulumi.String("trust-config"),
			Description: pulumi.String("A sample trust config resource with allowlisted certificates"),
			Location:    pulumi.String("global"),
			AllowlistedCertificates: certificatemanager.TrustConfigAllowlistedCertificateArray{
				&certificatemanager.TrustConfigAllowlistedCertificateArgs{
					PemCertificate: pulumi.String(invokeFile.Result),
				},
				&certificatemanager.TrustConfigAllowlistedCertificateArgs{
					PemCertificate: pulumi.String(invokeFile1.Result),
				},
			},
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TrustConfig can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/trustConfigs/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, TrustConfig can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:certificatemanager/trustConfig:TrustConfig default projects/{{project}}/locations/{{location}}/trustConfigs/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/trustConfig:TrustConfig default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:certificatemanager/trustConfig:TrustConfig default {{location}}/{{name}} ```

func GetTrustConfig

func GetTrustConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TrustConfigState, opts ...pulumi.ResourceOption) (*TrustConfig, error)

GetTrustConfig gets an existing TrustConfig 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 NewTrustConfig

func NewTrustConfig(ctx *pulumi.Context,
	name string, args *TrustConfigArgs, opts ...pulumi.ResourceOption) (*TrustConfig, error)

NewTrustConfig registers a new resource with the given unique name, arguments, and options.

func (*TrustConfig) ElementType

func (*TrustConfig) ElementType() reflect.Type

func (*TrustConfig) ToTrustConfigOutput

func (i *TrustConfig) ToTrustConfigOutput() TrustConfigOutput

func (*TrustConfig) ToTrustConfigOutputWithContext

func (i *TrustConfig) ToTrustConfigOutputWithContext(ctx context.Context) TrustConfigOutput

type TrustConfigAllowlistedCertificate

type TrustConfigAllowlistedCertificate struct {
	// PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.
	PemCertificate string `pulumi:"pemCertificate"`
}

type TrustConfigAllowlistedCertificateArgs

type TrustConfigAllowlistedCertificateArgs struct {
	// PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.
	PemCertificate pulumi.StringInput `pulumi:"pemCertificate"`
}

func (TrustConfigAllowlistedCertificateArgs) ElementType

func (TrustConfigAllowlistedCertificateArgs) ToTrustConfigAllowlistedCertificateOutput

func (i TrustConfigAllowlistedCertificateArgs) ToTrustConfigAllowlistedCertificateOutput() TrustConfigAllowlistedCertificateOutput

func (TrustConfigAllowlistedCertificateArgs) ToTrustConfigAllowlistedCertificateOutputWithContext

func (i TrustConfigAllowlistedCertificateArgs) ToTrustConfigAllowlistedCertificateOutputWithContext(ctx context.Context) TrustConfigAllowlistedCertificateOutput

type TrustConfigAllowlistedCertificateArray

type TrustConfigAllowlistedCertificateArray []TrustConfigAllowlistedCertificateInput

func (TrustConfigAllowlistedCertificateArray) ElementType

func (TrustConfigAllowlistedCertificateArray) ToTrustConfigAllowlistedCertificateArrayOutput

func (i TrustConfigAllowlistedCertificateArray) ToTrustConfigAllowlistedCertificateArrayOutput() TrustConfigAllowlistedCertificateArrayOutput

func (TrustConfigAllowlistedCertificateArray) ToTrustConfigAllowlistedCertificateArrayOutputWithContext

func (i TrustConfigAllowlistedCertificateArray) ToTrustConfigAllowlistedCertificateArrayOutputWithContext(ctx context.Context) TrustConfigAllowlistedCertificateArrayOutput

type TrustConfigAllowlistedCertificateArrayInput

type TrustConfigAllowlistedCertificateArrayInput interface {
	pulumi.Input

	ToTrustConfigAllowlistedCertificateArrayOutput() TrustConfigAllowlistedCertificateArrayOutput
	ToTrustConfigAllowlistedCertificateArrayOutputWithContext(context.Context) TrustConfigAllowlistedCertificateArrayOutput
}

TrustConfigAllowlistedCertificateArrayInput is an input type that accepts TrustConfigAllowlistedCertificateArray and TrustConfigAllowlistedCertificateArrayOutput values. You can construct a concrete instance of `TrustConfigAllowlistedCertificateArrayInput` via:

TrustConfigAllowlistedCertificateArray{ TrustConfigAllowlistedCertificateArgs{...} }

type TrustConfigAllowlistedCertificateArrayOutput

type TrustConfigAllowlistedCertificateArrayOutput struct{ *pulumi.OutputState }

func (TrustConfigAllowlistedCertificateArrayOutput) ElementType

func (TrustConfigAllowlistedCertificateArrayOutput) Index

func (TrustConfigAllowlistedCertificateArrayOutput) ToTrustConfigAllowlistedCertificateArrayOutput

func (o TrustConfigAllowlistedCertificateArrayOutput) ToTrustConfigAllowlistedCertificateArrayOutput() TrustConfigAllowlistedCertificateArrayOutput

func (TrustConfigAllowlistedCertificateArrayOutput) ToTrustConfigAllowlistedCertificateArrayOutputWithContext

func (o TrustConfigAllowlistedCertificateArrayOutput) ToTrustConfigAllowlistedCertificateArrayOutputWithContext(ctx context.Context) TrustConfigAllowlistedCertificateArrayOutput

type TrustConfigAllowlistedCertificateInput

type TrustConfigAllowlistedCertificateInput interface {
	pulumi.Input

	ToTrustConfigAllowlistedCertificateOutput() TrustConfigAllowlistedCertificateOutput
	ToTrustConfigAllowlistedCertificateOutputWithContext(context.Context) TrustConfigAllowlistedCertificateOutput
}

TrustConfigAllowlistedCertificateInput is an input type that accepts TrustConfigAllowlistedCertificateArgs and TrustConfigAllowlistedCertificateOutput values. You can construct a concrete instance of `TrustConfigAllowlistedCertificateInput` via:

TrustConfigAllowlistedCertificateArgs{...}

type TrustConfigAllowlistedCertificateOutput

type TrustConfigAllowlistedCertificateOutput struct{ *pulumi.OutputState }

func (TrustConfigAllowlistedCertificateOutput) ElementType

func (TrustConfigAllowlistedCertificateOutput) PemCertificate

PEM certificate that is allowlisted. The certificate can be up to 5k bytes, and must be a parseable X.509 certificate.

func (TrustConfigAllowlistedCertificateOutput) ToTrustConfigAllowlistedCertificateOutput

func (o TrustConfigAllowlistedCertificateOutput) ToTrustConfigAllowlistedCertificateOutput() TrustConfigAllowlistedCertificateOutput

func (TrustConfigAllowlistedCertificateOutput) ToTrustConfigAllowlistedCertificateOutputWithContext

func (o TrustConfigAllowlistedCertificateOutput) ToTrustConfigAllowlistedCertificateOutputWithContext(ctx context.Context) TrustConfigAllowlistedCertificateOutput

type TrustConfigArgs

type TrustConfigArgs struct {
	// Allowlisted PEM-encoded certificates. A certificate matching an allowlisted certificate is always considered valid as long as
	// the certificate is parseable, proof of private key possession is established, and constraints on the certificate's SAN field are met.
	// Structure is documented below.
	AllowlistedCertificates TrustConfigAllowlistedCertificateArrayInput
	// One or more paragraphs of text description of a trust config.
	Description pulumi.StringPtrInput
	// Set of label tags associated with the trust config.
	// **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 trust config location.
	//
	// ***
	Location pulumi.StringInput
	// A user-defined name of the trust config. Trust config names must be unique globally.
	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
	// Set of trust stores to perform validation against.
	// This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.
	// Structure is documented below.
	TrustStores TrustConfigTrustStoreArrayInput
}

The set of arguments for constructing a TrustConfig resource.

func (TrustConfigArgs) ElementType

func (TrustConfigArgs) ElementType() reflect.Type

type TrustConfigArray

type TrustConfigArray []TrustConfigInput

func (TrustConfigArray) ElementType

func (TrustConfigArray) ElementType() reflect.Type

func (TrustConfigArray) ToTrustConfigArrayOutput

func (i TrustConfigArray) ToTrustConfigArrayOutput() TrustConfigArrayOutput

func (TrustConfigArray) ToTrustConfigArrayOutputWithContext

func (i TrustConfigArray) ToTrustConfigArrayOutputWithContext(ctx context.Context) TrustConfigArrayOutput

type TrustConfigArrayInput

type TrustConfigArrayInput interface {
	pulumi.Input

	ToTrustConfigArrayOutput() TrustConfigArrayOutput
	ToTrustConfigArrayOutputWithContext(context.Context) TrustConfigArrayOutput
}

TrustConfigArrayInput is an input type that accepts TrustConfigArray and TrustConfigArrayOutput values. You can construct a concrete instance of `TrustConfigArrayInput` via:

TrustConfigArray{ TrustConfigArgs{...} }

type TrustConfigArrayOutput

type TrustConfigArrayOutput struct{ *pulumi.OutputState }

func (TrustConfigArrayOutput) ElementType

func (TrustConfigArrayOutput) ElementType() reflect.Type

func (TrustConfigArrayOutput) Index

func (TrustConfigArrayOutput) ToTrustConfigArrayOutput

func (o TrustConfigArrayOutput) ToTrustConfigArrayOutput() TrustConfigArrayOutput

func (TrustConfigArrayOutput) ToTrustConfigArrayOutputWithContext

func (o TrustConfigArrayOutput) ToTrustConfigArrayOutputWithContext(ctx context.Context) TrustConfigArrayOutput

type TrustConfigInput

type TrustConfigInput interface {
	pulumi.Input

	ToTrustConfigOutput() TrustConfigOutput
	ToTrustConfigOutputWithContext(ctx context.Context) TrustConfigOutput
}

type TrustConfigMap

type TrustConfigMap map[string]TrustConfigInput

func (TrustConfigMap) ElementType

func (TrustConfigMap) ElementType() reflect.Type

func (TrustConfigMap) ToTrustConfigMapOutput

func (i TrustConfigMap) ToTrustConfigMapOutput() TrustConfigMapOutput

func (TrustConfigMap) ToTrustConfigMapOutputWithContext

func (i TrustConfigMap) ToTrustConfigMapOutputWithContext(ctx context.Context) TrustConfigMapOutput

type TrustConfigMapInput

type TrustConfigMapInput interface {
	pulumi.Input

	ToTrustConfigMapOutput() TrustConfigMapOutput
	ToTrustConfigMapOutputWithContext(context.Context) TrustConfigMapOutput
}

TrustConfigMapInput is an input type that accepts TrustConfigMap and TrustConfigMapOutput values. You can construct a concrete instance of `TrustConfigMapInput` via:

TrustConfigMap{ "key": TrustConfigArgs{...} }

type TrustConfigMapOutput

type TrustConfigMapOutput struct{ *pulumi.OutputState }

func (TrustConfigMapOutput) ElementType

func (TrustConfigMapOutput) ElementType() reflect.Type

func (TrustConfigMapOutput) MapIndex

func (TrustConfigMapOutput) ToTrustConfigMapOutput

func (o TrustConfigMapOutput) ToTrustConfigMapOutput() TrustConfigMapOutput

func (TrustConfigMapOutput) ToTrustConfigMapOutputWithContext

func (o TrustConfigMapOutput) ToTrustConfigMapOutputWithContext(ctx context.Context) TrustConfigMapOutput

type TrustConfigOutput

type TrustConfigOutput struct{ *pulumi.OutputState }

func (TrustConfigOutput) AllowlistedCertificates

Allowlisted PEM-encoded certificates. A certificate matching an allowlisted certificate is always considered valid as long as the certificate is parseable, proof of private key possession is established, and constraints on the certificate's SAN field are met. Structure is documented below.

func (TrustConfigOutput) CreateTime

func (o TrustConfigOutput) CreateTime() pulumi.StringOutput

The creation timestamp of a TrustConfig. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TrustConfigOutput) Description

func (o TrustConfigOutput) Description() pulumi.StringPtrOutput

One or more paragraphs of text description of a trust config.

func (TrustConfigOutput) EffectiveLabels

func (o TrustConfigOutput) 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 (TrustConfigOutput) ElementType

func (TrustConfigOutput) ElementType() reflect.Type

func (TrustConfigOutput) Labels

Set of label tags associated with the trust config. **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 (TrustConfigOutput) Location

func (o TrustConfigOutput) Location() pulumi.StringOutput

The trust config location.

***

func (TrustConfigOutput) Name

A user-defined name of the trust config. Trust config names must be unique globally.

func (TrustConfigOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (TrustConfigOutput) PulumiLabels

func (o TrustConfigOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (TrustConfigOutput) ToTrustConfigOutput

func (o TrustConfigOutput) ToTrustConfigOutput() TrustConfigOutput

func (TrustConfigOutput) ToTrustConfigOutputWithContext

func (o TrustConfigOutput) ToTrustConfigOutputWithContext(ctx context.Context) TrustConfigOutput

func (TrustConfigOutput) TrustStores

Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Structure is documented below.

func (TrustConfigOutput) UpdateTime

func (o TrustConfigOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of a TrustConfig. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type TrustConfigState

type TrustConfigState struct {
	// Allowlisted PEM-encoded certificates. A certificate matching an allowlisted certificate is always considered valid as long as
	// the certificate is parseable, proof of private key possession is established, and constraints on the certificate's SAN field are met.
	// Structure is documented below.
	AllowlistedCertificates TrustConfigAllowlistedCertificateArrayInput
	// The creation timestamp of a TrustConfig.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// One or more paragraphs of text description of a trust config.
	Description pulumi.StringPtrInput
	// 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
	// Set of label tags associated with the trust config.
	// **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 trust config location.
	//
	// ***
	Location pulumi.StringPtrInput
	// A user-defined name of the trust config. Trust config names must be unique globally.
	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
	// Set of trust stores to perform validation against.
	// This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.
	// Structure is documented below.
	TrustStores TrustConfigTrustStoreArrayInput
	// The last update timestamp of a TrustConfig.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (TrustConfigState) ElementType

func (TrustConfigState) ElementType() reflect.Type

type TrustConfigTrustStore

type TrustConfigTrustStore struct {
	// Set of intermediate CA certificates used for the path building phase of chain validation.
	// The field is currently not supported if trust config is used for the workload certificate feature.
	// Structure is documented below.
	IntermediateCas []TrustConfigTrustStoreIntermediateCa `pulumi:"intermediateCas"`
	// List of Trust Anchors to be used while performing validation against a given TrustStore.
	// Structure is documented below.
	TrustAnchors []TrustConfigTrustStoreTrustAnchor `pulumi:"trustAnchors"`
}

type TrustConfigTrustStoreArgs

type TrustConfigTrustStoreArgs struct {
	// Set of intermediate CA certificates used for the path building phase of chain validation.
	// The field is currently not supported if trust config is used for the workload certificate feature.
	// Structure is documented below.
	IntermediateCas TrustConfigTrustStoreIntermediateCaArrayInput `pulumi:"intermediateCas"`
	// List of Trust Anchors to be used while performing validation against a given TrustStore.
	// Structure is documented below.
	TrustAnchors TrustConfigTrustStoreTrustAnchorArrayInput `pulumi:"trustAnchors"`
}

func (TrustConfigTrustStoreArgs) ElementType

func (TrustConfigTrustStoreArgs) ElementType() reflect.Type

func (TrustConfigTrustStoreArgs) ToTrustConfigTrustStoreOutput

func (i TrustConfigTrustStoreArgs) ToTrustConfigTrustStoreOutput() TrustConfigTrustStoreOutput

func (TrustConfigTrustStoreArgs) ToTrustConfigTrustStoreOutputWithContext

func (i TrustConfigTrustStoreArgs) ToTrustConfigTrustStoreOutputWithContext(ctx context.Context) TrustConfigTrustStoreOutput

type TrustConfigTrustStoreArray

type TrustConfigTrustStoreArray []TrustConfigTrustStoreInput

func (TrustConfigTrustStoreArray) ElementType

func (TrustConfigTrustStoreArray) ElementType() reflect.Type

func (TrustConfigTrustStoreArray) ToTrustConfigTrustStoreArrayOutput

func (i TrustConfigTrustStoreArray) ToTrustConfigTrustStoreArrayOutput() TrustConfigTrustStoreArrayOutput

func (TrustConfigTrustStoreArray) ToTrustConfigTrustStoreArrayOutputWithContext

func (i TrustConfigTrustStoreArray) ToTrustConfigTrustStoreArrayOutputWithContext(ctx context.Context) TrustConfigTrustStoreArrayOutput

type TrustConfigTrustStoreArrayInput

type TrustConfigTrustStoreArrayInput interface {
	pulumi.Input

	ToTrustConfigTrustStoreArrayOutput() TrustConfigTrustStoreArrayOutput
	ToTrustConfigTrustStoreArrayOutputWithContext(context.Context) TrustConfigTrustStoreArrayOutput
}

TrustConfigTrustStoreArrayInput is an input type that accepts TrustConfigTrustStoreArray and TrustConfigTrustStoreArrayOutput values. You can construct a concrete instance of `TrustConfigTrustStoreArrayInput` via:

TrustConfigTrustStoreArray{ TrustConfigTrustStoreArgs{...} }

type TrustConfigTrustStoreArrayOutput

type TrustConfigTrustStoreArrayOutput struct{ *pulumi.OutputState }

func (TrustConfigTrustStoreArrayOutput) ElementType

func (TrustConfigTrustStoreArrayOutput) Index

func (TrustConfigTrustStoreArrayOutput) ToTrustConfigTrustStoreArrayOutput

func (o TrustConfigTrustStoreArrayOutput) ToTrustConfigTrustStoreArrayOutput() TrustConfigTrustStoreArrayOutput

func (TrustConfigTrustStoreArrayOutput) ToTrustConfigTrustStoreArrayOutputWithContext

func (o TrustConfigTrustStoreArrayOutput) ToTrustConfigTrustStoreArrayOutputWithContext(ctx context.Context) TrustConfigTrustStoreArrayOutput

type TrustConfigTrustStoreInput

type TrustConfigTrustStoreInput interface {
	pulumi.Input

	ToTrustConfigTrustStoreOutput() TrustConfigTrustStoreOutput
	ToTrustConfigTrustStoreOutputWithContext(context.Context) TrustConfigTrustStoreOutput
}

TrustConfigTrustStoreInput is an input type that accepts TrustConfigTrustStoreArgs and TrustConfigTrustStoreOutput values. You can construct a concrete instance of `TrustConfigTrustStoreInput` via:

TrustConfigTrustStoreArgs{...}

type TrustConfigTrustStoreIntermediateCa

type TrustConfigTrustStoreIntermediateCa struct {
	// PEM intermediate certificate used for building up paths for validation.
	// Each certificate provided in PEM format may occupy up to 5kB.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PemCertificate *string `pulumi:"pemCertificate"`
}

type TrustConfigTrustStoreIntermediateCaArgs

type TrustConfigTrustStoreIntermediateCaArgs struct {
	// PEM intermediate certificate used for building up paths for validation.
	// Each certificate provided in PEM format may occupy up to 5kB.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PemCertificate pulumi.StringPtrInput `pulumi:"pemCertificate"`
}

func (TrustConfigTrustStoreIntermediateCaArgs) ElementType

func (TrustConfigTrustStoreIntermediateCaArgs) ToTrustConfigTrustStoreIntermediateCaOutput

func (i TrustConfigTrustStoreIntermediateCaArgs) ToTrustConfigTrustStoreIntermediateCaOutput() TrustConfigTrustStoreIntermediateCaOutput

func (TrustConfigTrustStoreIntermediateCaArgs) ToTrustConfigTrustStoreIntermediateCaOutputWithContext

func (i TrustConfigTrustStoreIntermediateCaArgs) ToTrustConfigTrustStoreIntermediateCaOutputWithContext(ctx context.Context) TrustConfigTrustStoreIntermediateCaOutput

type TrustConfigTrustStoreIntermediateCaArray

type TrustConfigTrustStoreIntermediateCaArray []TrustConfigTrustStoreIntermediateCaInput

func (TrustConfigTrustStoreIntermediateCaArray) ElementType

func (TrustConfigTrustStoreIntermediateCaArray) ToTrustConfigTrustStoreIntermediateCaArrayOutput

func (i TrustConfigTrustStoreIntermediateCaArray) ToTrustConfigTrustStoreIntermediateCaArrayOutput() TrustConfigTrustStoreIntermediateCaArrayOutput

func (TrustConfigTrustStoreIntermediateCaArray) ToTrustConfigTrustStoreIntermediateCaArrayOutputWithContext

func (i TrustConfigTrustStoreIntermediateCaArray) ToTrustConfigTrustStoreIntermediateCaArrayOutputWithContext(ctx context.Context) TrustConfigTrustStoreIntermediateCaArrayOutput

type TrustConfigTrustStoreIntermediateCaArrayInput

type TrustConfigTrustStoreIntermediateCaArrayInput interface {
	pulumi.Input

	ToTrustConfigTrustStoreIntermediateCaArrayOutput() TrustConfigTrustStoreIntermediateCaArrayOutput
	ToTrustConfigTrustStoreIntermediateCaArrayOutputWithContext(context.Context) TrustConfigTrustStoreIntermediateCaArrayOutput
}

TrustConfigTrustStoreIntermediateCaArrayInput is an input type that accepts TrustConfigTrustStoreIntermediateCaArray and TrustConfigTrustStoreIntermediateCaArrayOutput values. You can construct a concrete instance of `TrustConfigTrustStoreIntermediateCaArrayInput` via:

TrustConfigTrustStoreIntermediateCaArray{ TrustConfigTrustStoreIntermediateCaArgs{...} }

type TrustConfigTrustStoreIntermediateCaArrayOutput

type TrustConfigTrustStoreIntermediateCaArrayOutput struct{ *pulumi.OutputState }

func (TrustConfigTrustStoreIntermediateCaArrayOutput) ElementType

func (TrustConfigTrustStoreIntermediateCaArrayOutput) Index

func (TrustConfigTrustStoreIntermediateCaArrayOutput) ToTrustConfigTrustStoreIntermediateCaArrayOutput

func (o TrustConfigTrustStoreIntermediateCaArrayOutput) ToTrustConfigTrustStoreIntermediateCaArrayOutput() TrustConfigTrustStoreIntermediateCaArrayOutput

func (TrustConfigTrustStoreIntermediateCaArrayOutput) ToTrustConfigTrustStoreIntermediateCaArrayOutputWithContext

func (o TrustConfigTrustStoreIntermediateCaArrayOutput) ToTrustConfigTrustStoreIntermediateCaArrayOutputWithContext(ctx context.Context) TrustConfigTrustStoreIntermediateCaArrayOutput

type TrustConfigTrustStoreIntermediateCaInput

type TrustConfigTrustStoreIntermediateCaInput interface {
	pulumi.Input

	ToTrustConfigTrustStoreIntermediateCaOutput() TrustConfigTrustStoreIntermediateCaOutput
	ToTrustConfigTrustStoreIntermediateCaOutputWithContext(context.Context) TrustConfigTrustStoreIntermediateCaOutput
}

TrustConfigTrustStoreIntermediateCaInput is an input type that accepts TrustConfigTrustStoreIntermediateCaArgs and TrustConfigTrustStoreIntermediateCaOutput values. You can construct a concrete instance of `TrustConfigTrustStoreIntermediateCaInput` via:

TrustConfigTrustStoreIntermediateCaArgs{...}

type TrustConfigTrustStoreIntermediateCaOutput

type TrustConfigTrustStoreIntermediateCaOutput struct{ *pulumi.OutputState }

func (TrustConfigTrustStoreIntermediateCaOutput) ElementType

func (TrustConfigTrustStoreIntermediateCaOutput) PemCertificate

PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB. **Note**: This property is sensitive and will not be displayed in the plan.

func (TrustConfigTrustStoreIntermediateCaOutput) ToTrustConfigTrustStoreIntermediateCaOutput

func (o TrustConfigTrustStoreIntermediateCaOutput) ToTrustConfigTrustStoreIntermediateCaOutput() TrustConfigTrustStoreIntermediateCaOutput

func (TrustConfigTrustStoreIntermediateCaOutput) ToTrustConfigTrustStoreIntermediateCaOutputWithContext

func (o TrustConfigTrustStoreIntermediateCaOutput) ToTrustConfigTrustStoreIntermediateCaOutputWithContext(ctx context.Context) TrustConfigTrustStoreIntermediateCaOutput

type TrustConfigTrustStoreOutput

type TrustConfigTrustStoreOutput struct{ *pulumi.OutputState }

func (TrustConfigTrustStoreOutput) ElementType

func (TrustConfigTrustStoreOutput) IntermediateCas

Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if trust config is used for the workload certificate feature. Structure is documented below.

func (TrustConfigTrustStoreOutput) ToTrustConfigTrustStoreOutput

func (o TrustConfigTrustStoreOutput) ToTrustConfigTrustStoreOutput() TrustConfigTrustStoreOutput

func (TrustConfigTrustStoreOutput) ToTrustConfigTrustStoreOutputWithContext

func (o TrustConfigTrustStoreOutput) ToTrustConfigTrustStoreOutputWithContext(ctx context.Context) TrustConfigTrustStoreOutput

func (TrustConfigTrustStoreOutput) TrustAnchors

List of Trust Anchors to be used while performing validation against a given TrustStore. Structure is documented below.

type TrustConfigTrustStoreTrustAnchor

type TrustConfigTrustStoreTrustAnchor struct {
	// PEM root certificate of the PKI used for validation.
	// Each certificate provided in PEM format may occupy up to 5kB.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PemCertificate *string `pulumi:"pemCertificate"`
}

type TrustConfigTrustStoreTrustAnchorArgs

type TrustConfigTrustStoreTrustAnchorArgs struct {
	// PEM root certificate of the PKI used for validation.
	// Each certificate provided in PEM format may occupy up to 5kB.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PemCertificate pulumi.StringPtrInput `pulumi:"pemCertificate"`
}

func (TrustConfigTrustStoreTrustAnchorArgs) ElementType

func (TrustConfigTrustStoreTrustAnchorArgs) ToTrustConfigTrustStoreTrustAnchorOutput

func (i TrustConfigTrustStoreTrustAnchorArgs) ToTrustConfigTrustStoreTrustAnchorOutput() TrustConfigTrustStoreTrustAnchorOutput

func (TrustConfigTrustStoreTrustAnchorArgs) ToTrustConfigTrustStoreTrustAnchorOutputWithContext

func (i TrustConfigTrustStoreTrustAnchorArgs) ToTrustConfigTrustStoreTrustAnchorOutputWithContext(ctx context.Context) TrustConfigTrustStoreTrustAnchorOutput

type TrustConfigTrustStoreTrustAnchorArray

type TrustConfigTrustStoreTrustAnchorArray []TrustConfigTrustStoreTrustAnchorInput

func (TrustConfigTrustStoreTrustAnchorArray) ElementType

func (TrustConfigTrustStoreTrustAnchorArray) ToTrustConfigTrustStoreTrustAnchorArrayOutput

func (i TrustConfigTrustStoreTrustAnchorArray) ToTrustConfigTrustStoreTrustAnchorArrayOutput() TrustConfigTrustStoreTrustAnchorArrayOutput

func (TrustConfigTrustStoreTrustAnchorArray) ToTrustConfigTrustStoreTrustAnchorArrayOutputWithContext

func (i TrustConfigTrustStoreTrustAnchorArray) ToTrustConfigTrustStoreTrustAnchorArrayOutputWithContext(ctx context.Context) TrustConfigTrustStoreTrustAnchorArrayOutput

type TrustConfigTrustStoreTrustAnchorArrayInput

type TrustConfigTrustStoreTrustAnchorArrayInput interface {
	pulumi.Input

	ToTrustConfigTrustStoreTrustAnchorArrayOutput() TrustConfigTrustStoreTrustAnchorArrayOutput
	ToTrustConfigTrustStoreTrustAnchorArrayOutputWithContext(context.Context) TrustConfigTrustStoreTrustAnchorArrayOutput
}

TrustConfigTrustStoreTrustAnchorArrayInput is an input type that accepts TrustConfigTrustStoreTrustAnchorArray and TrustConfigTrustStoreTrustAnchorArrayOutput values. You can construct a concrete instance of `TrustConfigTrustStoreTrustAnchorArrayInput` via:

TrustConfigTrustStoreTrustAnchorArray{ TrustConfigTrustStoreTrustAnchorArgs{...} }

type TrustConfigTrustStoreTrustAnchorArrayOutput

type TrustConfigTrustStoreTrustAnchorArrayOutput struct{ *pulumi.OutputState }

func (TrustConfigTrustStoreTrustAnchorArrayOutput) ElementType

func (TrustConfigTrustStoreTrustAnchorArrayOutput) Index

func (TrustConfigTrustStoreTrustAnchorArrayOutput) ToTrustConfigTrustStoreTrustAnchorArrayOutput

func (o TrustConfigTrustStoreTrustAnchorArrayOutput) ToTrustConfigTrustStoreTrustAnchorArrayOutput() TrustConfigTrustStoreTrustAnchorArrayOutput

func (TrustConfigTrustStoreTrustAnchorArrayOutput) ToTrustConfigTrustStoreTrustAnchorArrayOutputWithContext

func (o TrustConfigTrustStoreTrustAnchorArrayOutput) ToTrustConfigTrustStoreTrustAnchorArrayOutputWithContext(ctx context.Context) TrustConfigTrustStoreTrustAnchorArrayOutput

type TrustConfigTrustStoreTrustAnchorInput

type TrustConfigTrustStoreTrustAnchorInput interface {
	pulumi.Input

	ToTrustConfigTrustStoreTrustAnchorOutput() TrustConfigTrustStoreTrustAnchorOutput
	ToTrustConfigTrustStoreTrustAnchorOutputWithContext(context.Context) TrustConfigTrustStoreTrustAnchorOutput
}

TrustConfigTrustStoreTrustAnchorInput is an input type that accepts TrustConfigTrustStoreTrustAnchorArgs and TrustConfigTrustStoreTrustAnchorOutput values. You can construct a concrete instance of `TrustConfigTrustStoreTrustAnchorInput` via:

TrustConfigTrustStoreTrustAnchorArgs{...}

type TrustConfigTrustStoreTrustAnchorOutput

type TrustConfigTrustStoreTrustAnchorOutput struct{ *pulumi.OutputState }

func (TrustConfigTrustStoreTrustAnchorOutput) ElementType

func (TrustConfigTrustStoreTrustAnchorOutput) PemCertificate

PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB. **Note**: This property is sensitive and will not be displayed in the plan.

func (TrustConfigTrustStoreTrustAnchorOutput) ToTrustConfigTrustStoreTrustAnchorOutput

func (o TrustConfigTrustStoreTrustAnchorOutput) ToTrustConfigTrustStoreTrustAnchorOutput() TrustConfigTrustStoreTrustAnchorOutput

func (TrustConfigTrustStoreTrustAnchorOutput) ToTrustConfigTrustStoreTrustAnchorOutputWithContext

func (o TrustConfigTrustStoreTrustAnchorOutput) ToTrustConfigTrustStoreTrustAnchorOutputWithContext(ctx context.Context) TrustConfigTrustStoreTrustAnchorOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL