Google Native
getResponsePolicyRule
Fetches the representation of an existing Response Policy Rule.
Using getResponsePolicyRule
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 getResponsePolicyRule(args: GetResponsePolicyRuleArgs, opts?: InvokeOptions): Promise<GetResponsePolicyRuleResult>
function getResponsePolicyRuleOutput(args: GetResponsePolicyRuleOutputArgs, opts?: InvokeOptions): Output<GetResponsePolicyRuleResult>
def get_response_policy_rule(client_operation_id: Optional[str] = None,
project: Optional[str] = None,
response_policy: Optional[str] = None,
response_policy_rule: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResponsePolicyRuleResult
def get_response_policy_rule_output(client_operation_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
response_policy: Optional[pulumi.Input[str]] = None,
response_policy_rule: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResponsePolicyRuleResult]
func LookupResponsePolicyRule(ctx *Context, args *LookupResponsePolicyRuleArgs, opts ...InvokeOption) (*LookupResponsePolicyRuleResult, error)
func LookupResponsePolicyRuleOutput(ctx *Context, args *LookupResponsePolicyRuleOutputArgs, opts ...InvokeOption) LookupResponsePolicyRuleResultOutput
> Note: This function is named LookupResponsePolicyRule
in the Go SDK.
public static class GetResponsePolicyRule
{
public static Task<GetResponsePolicyRuleResult> InvokeAsync(GetResponsePolicyRuleArgs args, InvokeOptions? opts = null)
public static Output<GetResponsePolicyRuleResult> Invoke(GetResponsePolicyRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResponsePolicyRuleResult> getResponsePolicyRule(GetResponsePolicyRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: google-native:dns/v1beta2:getResponsePolicyRule
Arguments:
# Arguments dictionary
The following arguments are supported:
- Response
Policy string - Response
Policy stringRule - Client
Operation stringId - Project string
- Response
Policy string - Response
Policy stringRule - Client
Operation stringId - Project string
- response
Policy String - response
Policy StringRule - client
Operation StringId - project String
- response
Policy string - response
Policy stringRule - client
Operation stringId - project string
- response_
policy str - response_
policy_ strrule - client_
operation_ strid - project str
- response
Policy String - response
Policy StringRule - client
Operation StringId - project String
getResponsePolicyRule Result
The following output properties are available:
- Behavior string
Answer this query with a behavior rather than DNS data.
- Dns
Name string The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.
- Kind string
- Local
Data Pulumi.Google Native. DNS. V1Beta2. Outputs. Response Policy Rule Local Data Response Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
- Rule
Name string An identifier for this rule. Must be unique with the ResponsePolicy.
- Behavior string
Answer this query with a behavior rather than DNS data.
- Dns
Name string The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.
- Kind string
- Local
Data ResponsePolicy Rule Local Data Response Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
- Rule
Name string An identifier for this rule. Must be unique with the ResponsePolicy.
- behavior String
Answer this query with a behavior rather than DNS data.
- dns
Name String The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.
- kind String
- local
Data ResponsePolicy Rule Local Data Response Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
- rule
Name String An identifier for this rule. Must be unique with the ResponsePolicy.
- behavior string
Answer this query with a behavior rather than DNS data.
- dns
Name string The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.
- kind string
- local
Data ResponsePolicy Rule Local Data Response Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
- rule
Name string An identifier for this rule. Must be unique with the ResponsePolicy.
- behavior str
Answer this query with a behavior rather than DNS data.
- dns_
name str The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.
- kind str
- local_
data ResponsePolicy Rule Local Data Response Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
- rule_
name str An identifier for this rule. Must be unique with the ResponsePolicy.
- behavior String
Answer this query with a behavior rather than DNS data.
- dns
Name String The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule.
- kind String
- local
Data Property Map Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
- rule
Name String An identifier for this rule. Must be unique with the ResponsePolicy.
Supporting Types
RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse
- Kind string
- Location string
The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.
- Rrdatas List<string>
- Signature
Rrdatas List<string> DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- Kind string
- Location string
The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.
- Rrdatas []string
- Signature
Rrdatas []string DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- kind String
- location String
The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.
- rrdatas List<String>
- signature
Rrdatas List<String> DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- kind string
- location string
The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.
- rrdatas string[]
- signature
Rrdatas string[] DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- kind str
- location str
The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.
- rrdatas Sequence[str]
- signature_
rrdatas Sequence[str] DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- kind String
- location String
The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.
- rrdatas List<String>
- signature
Rrdatas List<String> DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
RRSetRoutingPolicyGeoPolicyResponse
- Items
List<Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy Geo Policy Item Response> The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- Kind string
- Items
[]RRSet
Routing Policy Geo Policy Geo Policy Item Response The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- Kind string
- items
List<RRSet
Routing Policy Geo Policy Geo Policy Item Response> The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind String
- items
RRSet
Routing Policy Geo Policy Geo Policy Item Response[] The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind string
- items
Sequence[RRSet
Routing Policy Geo Policy Geo Policy Item Response] The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind str
- items List<Property Map>
The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind String
RRSetRoutingPolicyResponse
- Geo
Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy Response - Geo
Policy Pulumi.Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy Response - Kind string
- Wrr
Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Wrr Policy Response - Wrr
Policy Pulumi.Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Wrr Policy Response
RRSetRoutingPolicyWrrPolicyResponse
- items List<Property Map>
- kind String
RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse
- Kind string
- Rrdatas List<string>
- Signature
Rrdatas List<string> DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- Weight double
The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
- Kind string
- Rrdatas []string
- Signature
Rrdatas []string DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- Weight float64
The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
- kind String
- rrdatas List<String>
- signature
Rrdatas List<String> DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- weight Double
The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
- kind string
- rrdatas string[]
- signature
Rrdatas string[] DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- weight number
The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
- kind str
- rrdatas Sequence[str]
- signature_
rrdatas Sequence[str] DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- weight float
The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
- kind String
- rrdatas List<String>
- signature
Rrdatas List<String> DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
- weight Number
The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
ResourceRecordSetResponse
- Kind string
- Name string
For example, www.example.com.
- Routing
Policy Pulumi.Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Response Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
- Rrdatas List<string>
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
- Signature
Rrdatas List<string> As defined in RFC 4034 (section 3.2).
- Ttl int
Number of seconds that this ResourceRecordSet can be cached by resolvers.
- Type string
The identifier of a supported record type. See the list of Supported DNS record types.
- Kind string
- Name string
For example, www.example.com.
- Routing
Policy RRSetRouting Policy Response Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
- Rrdatas []string
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
- Signature
Rrdatas []string As defined in RFC 4034 (section 3.2).
- Ttl int
Number of seconds that this ResourceRecordSet can be cached by resolvers.
- Type string
The identifier of a supported record type. See the list of Supported DNS record types.
- kind String
- name String
For example, www.example.com.
- routing
Policy RRSetRouting Policy Response Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
- rrdatas List<String>
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
- signature
Rrdatas List<String> As defined in RFC 4034 (section 3.2).
- ttl Integer
Number of seconds that this ResourceRecordSet can be cached by resolvers.
- type String
The identifier of a supported record type. See the list of Supported DNS record types.
- kind string
- name string
For example, www.example.com.
- routing
Policy RRSetRouting Policy Response Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
- rrdatas string[]
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
- signature
Rrdatas string[] As defined in RFC 4034 (section 3.2).
- ttl number
Number of seconds that this ResourceRecordSet can be cached by resolvers.
- type string
The identifier of a supported record type. See the list of Supported DNS record types.
- kind str
- name str
For example, www.example.com.
- routing_
policy RRSetRouting Policy Response Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
- rrdatas Sequence[str]
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
- signature_
rrdatas Sequence[str] As defined in RFC 4034 (section 3.2).
- ttl int
Number of seconds that this ResourceRecordSet can be cached by resolvers.
- type str
The identifier of a supported record type. See the list of Supported DNS record types.
- kind String
- name String
For example, www.example.com.
- routing
Policy Property Map Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
- rrdatas List<String>
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
- signature
Rrdatas List<String> As defined in RFC 4034 (section 3.2).
- ttl Number
Number of seconds that this ResourceRecordSet can be cached by resolvers.
- type String
The identifier of a supported record type. See the list of Supported DNS record types.
ResponsePolicyRuleLocalDataResponse
- Local
Datas List<Pulumi.Google Native. DNS. V1Beta2. Inputs. Resource Record Set Response> All resource record sets for this selector, one per resource record type. The name must match the dns_name.
- Local
Datas []ResourceRecord Set Response All resource record sets for this selector, one per resource record type. The name must match the dns_name.
- local
Datas List<ResourceRecord Set Response> All resource record sets for this selector, one per resource record type. The name must match the dns_name.
- local
Datas ResourceRecord Set Response[] All resource record sets for this selector, one per resource record type. The name must match the dns_name.
- local_
datas Sequence[ResourceRecord Set Response] All resource record sets for this selector, one per resource record type. The name must match the dns_name.
- local
Datas List<Property Map> All resource record sets for this selector, one per resource record type. The name must match the dns_name.
Package Details
- Repository
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0