sumologic logo
Sumo Logic v0.13.0, Mar 27 23

sumologic.Subdomain

Provides a Sumologic Subdomain.

Attributes reference

The following attributes are exported:

  • id - Unique identifier for the subdomain.

Example Usage

using System.Collections.Generic;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var exampleSubdomain = new SumoLogic.Subdomain("exampleSubdomain", new()
    {
        SubdomainName = "my-company",
    });

});
package main

import (
	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sumologic.NewSubdomain(ctx, "exampleSubdomain", &sumologic.SubdomainArgs{
			Subdomain: pulumi.String("my-company"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.Subdomain;
import com.pulumi.sumologic.SubdomainArgs;
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 exampleSubdomain = new Subdomain("exampleSubdomain", SubdomainArgs.builder()        
            .subdomain("my-company")
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

example_subdomain = sumologic.Subdomain("exampleSubdomain", subdomain="my-company")
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const exampleSubdomain = new sumologic.Subdomain("exampleSubdomain", {subdomain: "my-company"});
resources:
  exampleSubdomain:
    type: sumologic:Subdomain
    properties:
      subdomain: my-company

Create Subdomain Resource

new Subdomain(name: string, args: SubdomainArgs, opts?: CustomResourceOptions);
@overload
def Subdomain(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              subdomain: Optional[str] = None)
@overload
def Subdomain(resource_name: str,
              args: SubdomainArgs,
              opts: Optional[ResourceOptions] = None)
func NewSubdomain(ctx *Context, name string, args SubdomainArgs, opts ...ResourceOption) (*Subdomain, error)
public Subdomain(string name, SubdomainArgs args, CustomResourceOptions? opts = null)
public Subdomain(String name, SubdomainArgs args)
public Subdomain(String name, SubdomainArgs args, CustomResourceOptions options)
type: sumologic:Subdomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SubdomainArgs
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 SubdomainArgs
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 SubdomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SubdomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SubdomainArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Subdomain Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Subdomain resource accepts the following input properties:

SubdomainName string

The subdomain.

Subdomain string

The subdomain.

subdomain String

The subdomain.

subdomain string

The subdomain.

subdomain str

The subdomain.

subdomain String

The subdomain.

Outputs

All input properties are implicitly available as output properties. Additionally, the Subdomain 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 Subdomain Resource

Get an existing Subdomain 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?: SubdomainState, opts?: CustomResourceOptions): Subdomain
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        subdomain: Optional[str] = None) -> Subdomain
func GetSubdomain(ctx *Context, name string, id IDInput, state *SubdomainState, opts ...ResourceOption) (*Subdomain, error)
public static Subdomain Get(string name, Input<string> id, SubdomainState? state, CustomResourceOptions? opts = null)
public static Subdomain get(String name, Output<String> id, SubdomainState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
SubdomainName string

The subdomain.

Subdomain string

The subdomain.

subdomain String

The subdomain.

subdomain string

The subdomain.

subdomain str

The subdomain.

subdomain String

The subdomain.

Package Details

Repository
Sumo Logic pulumi/pulumi-sumologic
License
Apache-2.0
Notes

This Pulumi package is based on the sumologic Terraform Provider.