ibm.SatelliteLocationNlbDns
Explore with Pulumi AI
Provides a resource to register public ip address to satellite dns records. This allows satellite dns register to be created, updated and deleted.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const satelliteDns = new ibm.SatelliteLocationNlbDns("satelliteDns", {
ips: [
"52.116.125.50",
"169.62.17.178",
"169.63.178.155",
],
location: "satellite-ibm",
});
import pulumi
import pulumi_ibm as ibm
satellite_dns = ibm.SatelliteLocationNlbDns("satelliteDns",
ips=[
"52.116.125.50",
"169.62.17.178",
"169.63.178.155",
],
location="satellite-ibm")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewSatelliteLocationNlbDns(ctx, "satelliteDns", &ibm.SatelliteLocationNlbDnsArgs{
Ips: pulumi.StringArray{
pulumi.String("52.116.125.50"),
pulumi.String("169.62.17.178"),
pulumi.String("169.63.178.155"),
},
Location: pulumi.String("satellite-ibm"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var satelliteDns = new Ibm.SatelliteLocationNlbDns("satelliteDns", new()
{
Ips = new[]
{
"52.116.125.50",
"169.62.17.178",
"169.63.178.155",
},
Location = "satellite-ibm",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.SatelliteLocationNlbDns;
import com.pulumi.ibm.SatelliteLocationNlbDnsArgs;
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) {
var satelliteDns = new SatelliteLocationNlbDns("satelliteDns", SatelliteLocationNlbDnsArgs.builder()
.ips(
"52.116.125.50",
"169.62.17.178",
"169.63.178.155")
.location("satellite-ibm")
.build());
}
}
resources:
satelliteDns:
type: ibm:SatelliteLocationNlbDns
properties:
ips:
- 52.116.125.50
- 169.62.17.178
- 169.63.178.155
location: satellite-ibm
Create SatelliteLocationNlbDns Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SatelliteLocationNlbDns(name: string, args: SatelliteLocationNlbDnsArgs, opts?: CustomResourceOptions);
@overload
def SatelliteLocationNlbDns(resource_name: str,
args: SatelliteLocationNlbDnsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SatelliteLocationNlbDns(resource_name: str,
opts: Optional[ResourceOptions] = None,
ips: Optional[Sequence[str]] = None,
location: Optional[str] = None,
satellite_location_nlb_dns_id: Optional[str] = None)
func NewSatelliteLocationNlbDns(ctx *Context, name string, args SatelliteLocationNlbDnsArgs, opts ...ResourceOption) (*SatelliteLocationNlbDns, error)
public SatelliteLocationNlbDns(string name, SatelliteLocationNlbDnsArgs args, CustomResourceOptions? opts = null)
public SatelliteLocationNlbDns(String name, SatelliteLocationNlbDnsArgs args)
public SatelliteLocationNlbDns(String name, SatelliteLocationNlbDnsArgs args, CustomResourceOptions options)
type: ibm:SatelliteLocationNlbDns
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SatelliteLocationNlbDnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SatelliteLocationNlbDnsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SatelliteLocationNlbDnsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SatelliteLocationNlbDnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SatelliteLocationNlbDnsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var satelliteLocationNlbDnsResource = new Ibm.SatelliteLocationNlbDns("satelliteLocationNlbDnsResource", new()
{
Ips = new[]
{
"string",
},
Location = "string",
SatelliteLocationNlbDnsId = "string",
});
example, err := ibm.NewSatelliteLocationNlbDns(ctx, "satelliteLocationNlbDnsResource", &ibm.SatelliteLocationNlbDnsArgs{
Ips: pulumi.StringArray{
pulumi.String("string"),
},
Location: pulumi.String("string"),
SatelliteLocationNlbDnsId: pulumi.String("string"),
})
var satelliteLocationNlbDnsResource = new SatelliteLocationNlbDns("satelliteLocationNlbDnsResource", SatelliteLocationNlbDnsArgs.builder()
.ips("string")
.location("string")
.satelliteLocationNlbDnsId("string")
.build());
satellite_location_nlb_dns_resource = ibm.SatelliteLocationNlbDns("satelliteLocationNlbDnsResource",
ips=["string"],
location="string",
satellite_location_nlb_dns_id="string")
const satelliteLocationNlbDnsResource = new ibm.SatelliteLocationNlbDns("satelliteLocationNlbDnsResource", {
ips: ["string"],
location: "string",
satelliteLocationNlbDnsId: "string",
});
type: ibm:SatelliteLocationNlbDns
properties:
ips:
- string
location: string
satelliteLocationNlbDnsId: string
SatelliteLocationNlbDns Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SatelliteLocationNlbDns resource accepts the following input properties:
- Ips List<string>
- Public IP address of satellite location DNS records.
- Location string
- The name or ID of the Satellite location.
- Satellite
Location stringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
- Ips []string
- Public IP address of satellite location DNS records.
- Location string
- The name or ID of the Satellite location.
- Satellite
Location stringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
- ips List<String>
- Public IP address of satellite location DNS records.
- location String
- The name or ID of the Satellite location.
- satellite
Location StringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
- ips string[]
- Public IP address of satellite location DNS records.
- location string
- The name or ID of the Satellite location.
- satellite
Location stringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
- ips Sequence[str]
- Public IP address of satellite location DNS records.
- location str
- The name or ID of the Satellite location.
- satellite_
location_ strnlb_ dns_ id - The unique identifier of the ibm_satellite_location_nlb_dns.
- ips List<String>
- Public IP address of satellite location DNS records.
- location String
- The name or ID of the Satellite location.
- satellite
Location StringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
Outputs
All input properties are implicitly available as output properties. Additionally, the SatelliteLocationNlbDns resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SatelliteLocationNlbDns Resource
Get an existing SatelliteLocationNlbDns resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SatelliteLocationNlbDnsState, opts?: CustomResourceOptions): SatelliteLocationNlbDns
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ips: Optional[Sequence[str]] = None,
location: Optional[str] = None,
satellite_location_nlb_dns_id: Optional[str] = None) -> SatelliteLocationNlbDns
func GetSatelliteLocationNlbDns(ctx *Context, name string, id IDInput, state *SatelliteLocationNlbDnsState, opts ...ResourceOption) (*SatelliteLocationNlbDns, error)
public static SatelliteLocationNlbDns Get(string name, Input<string> id, SatelliteLocationNlbDnsState? state, CustomResourceOptions? opts = null)
public static SatelliteLocationNlbDns get(String name, Output<String> id, SatelliteLocationNlbDnsState state, CustomResourceOptions options)
resources: _: type: ibm:SatelliteLocationNlbDns get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Ips List<string>
- Public IP address of satellite location DNS records.
- Location string
- The name or ID of the Satellite location.
- Satellite
Location stringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
- Ips []string
- Public IP address of satellite location DNS records.
- Location string
- The name or ID of the Satellite location.
- Satellite
Location stringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
- ips List<String>
- Public IP address of satellite location DNS records.
- location String
- The name or ID of the Satellite location.
- satellite
Location StringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
- ips string[]
- Public IP address of satellite location DNS records.
- location string
- The name or ID of the Satellite location.
- satellite
Location stringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
- ips Sequence[str]
- Public IP address of satellite location DNS records.
- location str
- The name or ID of the Satellite location.
- satellite_
location_ strnlb_ dns_ id - The unique identifier of the ibm_satellite_location_nlb_dns.
- ips List<String>
- Public IP address of satellite location DNS records.
- location String
- The name or ID of the Satellite location.
- satellite
Location StringNlb Dns Id - The unique identifier of the ibm_satellite_location_nlb_dns.
Import
The import functionality is not supported for this resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.