GetBackendBucket

Get information about a BackendBucket.

Using GetBackendBucket

function getBackendBucket(args: GetBackendBucketArgs, opts?: InvokeOptions): Promise<GetBackendBucketResult>
function  get_backend_bucket(name=None, project=None, opts=None)
func LookupBackendBucket(ctx *Context, args *LookupBackendBucketArgs, opts ...InvokeOption) (*LookupBackendBucketResult, error)

Note: This function is named LookupBackendBucket in the Go SDK.

public static class GetBackendBucket {
    public static Task<GetBackendBucketResult> InvokeAsync(GetBackendBucketArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

Name of the resource.

Project string

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

Name string

Name of the resource.

Project string

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

name string

Name of the resource.

project string

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

name str

Name of the resource.

project str

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

GetBackendBucket Result

The following output properties are available:

BucketName string

Cloud Storage bucket name.

CdnPolicies List<GetBackendBucketCdnPolicy>

Cloud CDN configuration for this Backend Bucket. Structure is documented below.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Description string

An optional textual description of the resource; provided by the client when the resource is created.

EnableCdn bool

Whether Cloud CDN is enabled for this BackendBucket.

Id string

The provider-assigned unique ID for this managed resource.

Name string
SelfLink string

The URI of the created resource.

Project string
BucketName string

Cloud Storage bucket name.

CdnPolicies []GetBackendBucketCdnPolicy

Cloud CDN configuration for this Backend Bucket. Structure is documented below.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Description string

An optional textual description of the resource; provided by the client when the resource is created.

EnableCdn bool

Whether Cloud CDN is enabled for this BackendBucket.

Id string

The provider-assigned unique ID for this managed resource.

Name string
SelfLink string

The URI of the created resource.

Project string
bucketName string

Cloud Storage bucket name.

cdnPolicies GetBackendBucketCdnPolicy[]

Cloud CDN configuration for this Backend Bucket. Structure is documented below.

creationTimestamp string

Creation timestamp in RFC3339 text format.

description string

An optional textual description of the resource; provided by the client when the resource is created.

enableCdn boolean

Whether Cloud CDN is enabled for this BackendBucket.

id string

The provider-assigned unique ID for this managed resource.

name string
selfLink string

The URI of the created resource.

project string
bucket_name str

Cloud Storage bucket name.

cdn_policies List[GetBackendBucketCdnPolicy]

Cloud CDN configuration for this Backend Bucket. Structure is documented below.

creation_timestamp str

Creation timestamp in RFC3339 text format.

description str

An optional textual description of the resource; provided by the client when the resource is created.

enable_cdn bool

Whether Cloud CDN is enabled for this BackendBucket.

id str

The provider-assigned unique ID for this managed resource.

name str
self_link str

The URI of the created resource.

project str

Supporting Types

GetBackendBucketCdnPolicy

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

SignedUrlCacheMaxAgeSec int

Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a “Cache-Control: public, max-age=[TTL]” header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.

SignedUrlCacheMaxAgeSec int

Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a “Cache-Control: public, max-age=[TTL]” header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.

signedUrlCacheMaxAgeSec number

Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a “Cache-Control: public, max-age=[TTL]” header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.

signedUrlCacheMaxAgeSec float

Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a “Cache-Control: public, max-age=[TTL]” header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.