Google Native

Pulumi Official
Package maintained by Pulumi
v0.20.0 published on Monday, Jun 6, 2022 by Pulumi

getResponsePolicy

Fetches the representation of an existing Response Policy.

Using getResponsePolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getResponsePolicy(args: GetResponsePolicyArgs, opts?: InvokeOptions): Promise<GetResponsePolicyResult>
function getResponsePolicyOutput(args: GetResponsePolicyOutputArgs, opts?: InvokeOptions): Output<GetResponsePolicyResult>
def get_response_policy(client_operation_id: Optional[str] = None,
                        project: Optional[str] = None,
                        response_policy: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetResponsePolicyResult
def get_response_policy_output(client_operation_id: Optional[pulumi.Input[str]] = None,
                        project: Optional[pulumi.Input[str]] = None,
                        response_policy: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetResponsePolicyResult]
func LookupResponsePolicy(ctx *Context, args *LookupResponsePolicyArgs, opts ...InvokeOption) (*LookupResponsePolicyResult, error)
func LookupResponsePolicyOutput(ctx *Context, args *LookupResponsePolicyOutputArgs, opts ...InvokeOption) LookupResponsePolicyResultOutput

> Note: This function is named LookupResponsePolicy in the Go SDK.

public static class GetResponsePolicy 
{
    public static Task<GetResponsePolicyResult> InvokeAsync(GetResponsePolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetResponsePolicyResult> Invoke(GetResponsePolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResponsePolicyResult> getResponsePolicy(GetResponsePolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:dns/v1beta2:getResponsePolicy
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getResponsePolicy Result

The following output properties are available:

Description string

User-provided description for this Response Policy.

GkeClusters List<Pulumi.GoogleNative.DNS.V1Beta2.Outputs.ResponsePolicyGKEClusterResponse>

The list of Google Kubernetes Engine clusters to which this response policy is applied.

Kind string
Networks List<Pulumi.GoogleNative.DNS.V1Beta2.Outputs.ResponsePolicyNetworkResponse>

List of network names specifying networks to which this policy is applied.

ResponsePolicyName string

User assigned name for this Response Policy.

Description string

User-provided description for this Response Policy.

GkeClusters []ResponsePolicyGKEClusterResponse

The list of Google Kubernetes Engine clusters to which this response policy is applied.

Kind string
Networks []ResponsePolicyNetworkResponse

List of network names specifying networks to which this policy is applied.

ResponsePolicyName string

User assigned name for this Response Policy.

description String

User-provided description for this Response Policy.

gkeClusters List<ResponsePolicyGKEClusterResponse>

The list of Google Kubernetes Engine clusters to which this response policy is applied.

kind String
networks List<ResponsePolicyNetworkResponse>

List of network names specifying networks to which this policy is applied.

responsePolicyName String

User assigned name for this Response Policy.

description string

User-provided description for this Response Policy.

gkeClusters ResponsePolicyGKEClusterResponse[]

The list of Google Kubernetes Engine clusters to which this response policy is applied.

kind string
networks ResponsePolicyNetworkResponse[]

List of network names specifying networks to which this policy is applied.

responsePolicyName string

User assigned name for this Response Policy.

description str

User-provided description for this Response Policy.

gke_clusters Sequence[ResponsePolicyGKEClusterResponse]

The list of Google Kubernetes Engine clusters to which this response policy is applied.

kind str
networks Sequence[ResponsePolicyNetworkResponse]

List of network names specifying networks to which this policy is applied.

response_policy_name str

User assigned name for this Response Policy.

description String

User-provided description for this Response Policy.

gkeClusters List<Property Map>

The list of Google Kubernetes Engine clusters to which this response policy is applied.

kind String
networks List<Property Map>

List of network names specifying networks to which this policy is applied.

responsePolicyName String

User assigned name for this Response Policy.

Supporting Types

ResponsePolicyGKEClusterResponse

GkeClusterName string

The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get

Kind string
GkeClusterName string

The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get

Kind string
gkeClusterName String

The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get

kind String
gkeClusterName string

The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get

kind string
gke_cluster_name str

The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get

kind str
gkeClusterName String

The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get

kind String

ResponsePolicyNetworkResponse

Kind string
NetworkUrl string

The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

Kind string
NetworkUrl string

The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

kind String
networkUrl String

The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

kind string
networkUrl string

The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

kind str
network_url str

The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

kind String
networkUrl String

The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0