1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dns
  5. dns/v1beta2
  6. getResponsePolicy

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.dns/v1beta2.getResponsePolicy

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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
    Labels Dictionary<string, string>
    User labels.
    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
    Labels map[string]string
    User labels.
    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
    labels Map<String,String>
    User labels.
    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
    labels {[key: string]: string}
    User labels.
    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
    labels Mapping[str, str]
    User labels.
    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
    labels Map<String>
    User labels.
    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
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi