Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Dns.getSteeringPolicyAttachment
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Steering Policy Attachment resource in Oracle Cloud Infrastructure DNS service.
Gets information about the specified steering policy attachment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSteeringPolicyAttachment = oci.Dns.getSteeringPolicyAttachment({
steeringPolicyAttachmentId: testSteeringPolicyAttachmentOciDnsSteeringPolicyAttachment.id,
});
import pulumi
import pulumi_oci as oci
test_steering_policy_attachment = oci.Dns.get_steering_policy_attachment(steering_policy_attachment_id=test_steering_policy_attachment_oci_dns_steering_policy_attachment["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Dns.GetSteeringPolicyAttachment(ctx, &dns.GetSteeringPolicyAttachmentArgs{
SteeringPolicyAttachmentId: testSteeringPolicyAttachmentOciDnsSteeringPolicyAttachment.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testSteeringPolicyAttachment = Oci.Dns.GetSteeringPolicyAttachment.Invoke(new()
{
SteeringPolicyAttachmentId = testSteeringPolicyAttachmentOciDnsSteeringPolicyAttachment.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Dns.DnsFunctions;
import com.pulumi.oci.Dns.inputs.GetSteeringPolicyAttachmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testSteeringPolicyAttachment = DnsFunctions.getSteeringPolicyAttachment(GetSteeringPolicyAttachmentArgs.builder()
.steeringPolicyAttachmentId(testSteeringPolicyAttachmentOciDnsSteeringPolicyAttachment.id())
.build());
}
}
variables:
testSteeringPolicyAttachment:
fn::invoke:
Function: oci:Dns:getSteeringPolicyAttachment
Arguments:
steeringPolicyAttachmentId: ${testSteeringPolicyAttachmentOciDnsSteeringPolicyAttachment.id}
Using getSteeringPolicyAttachment
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 getSteeringPolicyAttachment(args: GetSteeringPolicyAttachmentArgs, opts?: InvokeOptions): Promise<GetSteeringPolicyAttachmentResult>
function getSteeringPolicyAttachmentOutput(args: GetSteeringPolicyAttachmentOutputArgs, opts?: InvokeOptions): Output<GetSteeringPolicyAttachmentResult>
def get_steering_policy_attachment(steering_policy_attachment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSteeringPolicyAttachmentResult
def get_steering_policy_attachment_output(steering_policy_attachment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSteeringPolicyAttachmentResult]
func GetSteeringPolicyAttachment(ctx *Context, args *GetSteeringPolicyAttachmentArgs, opts ...InvokeOption) (*GetSteeringPolicyAttachmentResult, error)
func GetSteeringPolicyAttachmentOutput(ctx *Context, args *GetSteeringPolicyAttachmentOutputArgs, opts ...InvokeOption) GetSteeringPolicyAttachmentResultOutput
> Note: This function is named GetSteeringPolicyAttachment
in the Go SDK.
public static class GetSteeringPolicyAttachment
{
public static Task<GetSteeringPolicyAttachmentResult> InvokeAsync(GetSteeringPolicyAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetSteeringPolicyAttachmentResult> Invoke(GetSteeringPolicyAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSteeringPolicyAttachmentResult> getSteeringPolicyAttachment(GetSteeringPolicyAttachmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Dns/getSteeringPolicyAttachment:getSteeringPolicyAttachment
arguments:
# arguments dictionary
The following arguments are supported:
- Steering
Policy stringAttachment Id - The OCID of the target steering policy attachment.
- Steering
Policy stringAttachment Id - The OCID of the target steering policy attachment.
- steering
Policy StringAttachment Id - The OCID of the target steering policy attachment.
- steering
Policy stringAttachment Id - The OCID of the target steering policy attachment.
- steering_
policy_ strattachment_ id - The OCID of the target steering policy attachment.
- steering
Policy StringAttachment Id - The OCID of the target steering policy attachment.
getSteeringPolicyAttachment Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the steering policy attachment.
- Display
Name string - A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
- Domain
Name string - The attached domain within the attached zone.
- Id string
- The OCID of the resource.
- Rtypes List<string>
- The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
- Self string
- The canonical absolute URL of the resource.
- State string
- The current state of the resource.
- Steering
Policy stringAttachment Id - Steering
Policy stringId - The OCID of the attached steering policy.
- Time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format.
- Zone
Id string - The OCID of the attached zone.
- Compartment
Id string - The OCID of the compartment containing the steering policy attachment.
- Display
Name string - A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
- Domain
Name string - The attached domain within the attached zone.
- Id string
- The OCID of the resource.
- Rtypes []string
- The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
- Self string
- The canonical absolute URL of the resource.
- State string
- The current state of the resource.
- Steering
Policy stringAttachment Id - Steering
Policy stringId - The OCID of the attached steering policy.
- Time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format.
- Zone
Id string - The OCID of the attached zone.
- compartment
Id String - The OCID of the compartment containing the steering policy attachment.
- display
Name String - A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
- domain
Name String - The attached domain within the attached zone.
- id String
- The OCID of the resource.
- rtypes List<String>
- The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
- self String
- The canonical absolute URL of the resource.
- state String
- The current state of the resource.
- steering
Policy StringAttachment Id - steering
Policy StringId - The OCID of the attached steering policy.
- time
Created String - The date and time the resource was created, expressed in RFC 3339 timestamp format.
- zone
Id String - The OCID of the attached zone.
- compartment
Id string - The OCID of the compartment containing the steering policy attachment.
- display
Name string - A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
- domain
Name string - The attached domain within the attached zone.
- id string
- The OCID of the resource.
- rtypes string[]
- The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
- self string
- The canonical absolute URL of the resource.
- state string
- The current state of the resource.
- steering
Policy stringAttachment Id - steering
Policy stringId - The OCID of the attached steering policy.
- time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format.
- zone
Id string - The OCID of the attached zone.
- compartment_
id str - The OCID of the compartment containing the steering policy attachment.
- display_
name str - A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
- domain_
name str - The attached domain within the attached zone.
- id str
- The OCID of the resource.
- rtypes Sequence[str]
- The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
- self str
- The canonical absolute URL of the resource.
- state str
- The current state of the resource.
- steering_
policy_ strattachment_ id - steering_
policy_ strid - The OCID of the attached steering policy.
- time_
created str - The date and time the resource was created, expressed in RFC 3339 timestamp format.
- zone_
id str - The OCID of the attached zone.
- compartment
Id String - The OCID of the compartment containing the steering policy attachment.
- display
Name String - A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
- domain
Name String - The attached domain within the attached zone.
- id String
- The OCID of the resource.
- rtypes List<String>
- The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
- self String
- The canonical absolute URL of the resource.
- state String
- The current state of the resource.
- steering
Policy StringAttachment Id - steering
Policy StringId - The OCID of the attached steering policy.
- time
Created String - The date and time the resource was created, expressed in RFC 3339 timestamp format.
- zone
Id String - The OCID of the attached zone.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi