1. Packages
  2. Mso Provider
  3. API Docs
  4. SchemaSiteContractServiceGraphListener
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

mso.SchemaSiteContractServiceGraphListener

Explore with Pulumi AI

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

    Create SchemaSiteContractServiceGraphListener Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SchemaSiteContractServiceGraphListener(name: string, args: SchemaSiteContractServiceGraphListenerArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaSiteContractServiceGraphListener(resource_name: str,
                                               args: SchemaSiteContractServiceGraphListenerArgs,
                                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaSiteContractServiceGraphListener(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               schema_id: Optional[str] = None,
                                               listener_name: Optional[str] = None,
                                               port: Optional[float] = None,
                                               protocol: Optional[str] = None,
                                               contract_name: Optional[str] = None,
                                               service_node_index: Optional[float] = None,
                                               site_id: Optional[str] = None,
                                               template_name: Optional[str] = None,
                                               frontend_ip_dn: Optional[str] = None,
                                               rules: Optional[Sequence[SchemaSiteContractServiceGraphListenerRuleArgs]] = None,
                                               schema_site_contract_service_graph_listener_id: Optional[str] = None,
                                               security_policy: Optional[str] = None,
                                               ssl_certificates: Optional[Sequence[SchemaSiteContractServiceGraphListenerSslCertificateArgs]] = None)
    func NewSchemaSiteContractServiceGraphListener(ctx *Context, name string, args SchemaSiteContractServiceGraphListenerArgs, opts ...ResourceOption) (*SchemaSiteContractServiceGraphListener, error)
    public SchemaSiteContractServiceGraphListener(string name, SchemaSiteContractServiceGraphListenerArgs args, CustomResourceOptions? opts = null)
    public SchemaSiteContractServiceGraphListener(String name, SchemaSiteContractServiceGraphListenerArgs args)
    public SchemaSiteContractServiceGraphListener(String name, SchemaSiteContractServiceGraphListenerArgs args, CustomResourceOptions options)
    
    type: mso:SchemaSiteContractServiceGraphListener
    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 SchemaSiteContractServiceGraphListenerArgs
    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 SchemaSiteContractServiceGraphListenerArgs
    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 SchemaSiteContractServiceGraphListenerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaSiteContractServiceGraphListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaSiteContractServiceGraphListenerArgs
    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 schemaSiteContractServiceGraphListenerResource = new Mso.SchemaSiteContractServiceGraphListener("schemaSiteContractServiceGraphListenerResource", new()
    {
        SchemaId = "string",
        ListenerName = "string",
        Port = 0,
        Protocol = "string",
        ContractName = "string",
        ServiceNodeIndex = 0,
        SiteId = "string",
        TemplateName = "string",
        FrontendIpDn = "string",
        Rules = new[]
        {
            new Mso.Inputs.SchemaSiteContractServiceGraphListenerRuleArgs
            {
                Name = "string",
                ActionType = "string",
                Protocol = "string",
                Priority = 0,
                Port = 0,
                HealthCheck = new Mso.Inputs.SchemaSiteContractServiceGraphListenerRuleHealthCheckArgs
                {
                    Host = "string",
                    Interval = 0,
                    Path = "string",
                    Port = 0,
                    Protocol = "string",
                    SuccessCode = "string",
                    Timeout = 0,
                    UnhealthyThreshold = 0,
                    UseHostFromRule = false,
                },
                RedirectHostName = "string",
                Action = "string",
                Path = "string",
                FloatingIp = "string",
                CustomUrl = "string",
                ContentType = "string",
                ProviderEpgRef = new Mso.Inputs.SchemaSiteContractServiceGraphListenerRuleProviderEpgRefArgs
                {
                    AnpName = "string",
                    EpgName = "string",
                    SchemaId = "string",
                    TemplateName = "string",
                },
                RedirectCode = "string",
                Host = "string",
                RedirectPath = "string",
                RedirectPort = 0,
                RedirectProtocol = "string",
                RedirectQuery = "string",
                ResponseBody = "string",
                ResponseCode = "string",
                TargetIpType = "string",
                UrlType = "string",
            },
        },
        SchemaSiteContractServiceGraphListenerId = "string",
        SecurityPolicy = "string",
        SslCertificates = new[]
        {
            new Mso.Inputs.SchemaSiteContractServiceGraphListenerSslCertificateArgs
            {
                CertificateStore = "string",
                Name = "string",
                TargetDn = "string",
            },
        },
    });
    
    example, err := mso.NewSchemaSiteContractServiceGraphListener(ctx, "schemaSiteContractServiceGraphListenerResource", &mso.SchemaSiteContractServiceGraphListenerArgs{
    	SchemaId:         pulumi.String("string"),
    	ListenerName:     pulumi.String("string"),
    	Port:             pulumi.Float64(0),
    	Protocol:         pulumi.String("string"),
    	ContractName:     pulumi.String("string"),
    	ServiceNodeIndex: pulumi.Float64(0),
    	SiteId:           pulumi.String("string"),
    	TemplateName:     pulumi.String("string"),
    	FrontendIpDn:     pulumi.String("string"),
    	Rules: mso.SchemaSiteContractServiceGraphListenerRuleArray{
    		&mso.SchemaSiteContractServiceGraphListenerRuleArgs{
    			Name:       pulumi.String("string"),
    			ActionType: pulumi.String("string"),
    			Protocol:   pulumi.String("string"),
    			Priority:   pulumi.Float64(0),
    			Port:       pulumi.Float64(0),
    			HealthCheck: &mso.SchemaSiteContractServiceGraphListenerRuleHealthCheckArgs{
    				Host:               pulumi.String("string"),
    				Interval:           pulumi.Float64(0),
    				Path:               pulumi.String("string"),
    				Port:               pulumi.Float64(0),
    				Protocol:           pulumi.String("string"),
    				SuccessCode:        pulumi.String("string"),
    				Timeout:            pulumi.Float64(0),
    				UnhealthyThreshold: pulumi.Float64(0),
    				UseHostFromRule:    pulumi.Bool(false),
    			},
    			RedirectHostName: pulumi.String("string"),
    			Action:           pulumi.String("string"),
    			Path:             pulumi.String("string"),
    			FloatingIp:       pulumi.String("string"),
    			CustomUrl:        pulumi.String("string"),
    			ContentType:      pulumi.String("string"),
    			ProviderEpgRef: &mso.SchemaSiteContractServiceGraphListenerRuleProviderEpgRefArgs{
    				AnpName:      pulumi.String("string"),
    				EpgName:      pulumi.String("string"),
    				SchemaId:     pulumi.String("string"),
    				TemplateName: pulumi.String("string"),
    			},
    			RedirectCode:     pulumi.String("string"),
    			Host:             pulumi.String("string"),
    			RedirectPath:     pulumi.String("string"),
    			RedirectPort:     pulumi.Float64(0),
    			RedirectProtocol: pulumi.String("string"),
    			RedirectQuery:    pulumi.String("string"),
    			ResponseBody:     pulumi.String("string"),
    			ResponseCode:     pulumi.String("string"),
    			TargetIpType:     pulumi.String("string"),
    			UrlType:          pulumi.String("string"),
    		},
    	},
    	SchemaSiteContractServiceGraphListenerId: pulumi.String("string"),
    	SecurityPolicy:                           pulumi.String("string"),
    	SslCertificates: mso.SchemaSiteContractServiceGraphListenerSslCertificateArray{
    		&mso.SchemaSiteContractServiceGraphListenerSslCertificateArgs{
    			CertificateStore: pulumi.String("string"),
    			Name:             pulumi.String("string"),
    			TargetDn:         pulumi.String("string"),
    		},
    	},
    })
    
    var schemaSiteContractServiceGraphListenerResource = new SchemaSiteContractServiceGraphListener("schemaSiteContractServiceGraphListenerResource", SchemaSiteContractServiceGraphListenerArgs.builder()
        .schemaId("string")
        .listenerName("string")
        .port(0)
        .protocol("string")
        .contractName("string")
        .serviceNodeIndex(0)
        .siteId("string")
        .templateName("string")
        .frontendIpDn("string")
        .rules(SchemaSiteContractServiceGraphListenerRuleArgs.builder()
            .name("string")
            .actionType("string")
            .protocol("string")
            .priority(0)
            .port(0)
            .healthCheck(SchemaSiteContractServiceGraphListenerRuleHealthCheckArgs.builder()
                .host("string")
                .interval(0)
                .path("string")
                .port(0)
                .protocol("string")
                .successCode("string")
                .timeout(0)
                .unhealthyThreshold(0)
                .useHostFromRule(false)
                .build())
            .redirectHostName("string")
            .action("string")
            .path("string")
            .floatingIp("string")
            .customUrl("string")
            .contentType("string")
            .providerEpgRef(SchemaSiteContractServiceGraphListenerRuleProviderEpgRefArgs.builder()
                .anpName("string")
                .epgName("string")
                .schemaId("string")
                .templateName("string")
                .build())
            .redirectCode("string")
            .host("string")
            .redirectPath("string")
            .redirectPort(0)
            .redirectProtocol("string")
            .redirectQuery("string")
            .responseBody("string")
            .responseCode("string")
            .targetIpType("string")
            .urlType("string")
            .build())
        .schemaSiteContractServiceGraphListenerId("string")
        .securityPolicy("string")
        .sslCertificates(SchemaSiteContractServiceGraphListenerSslCertificateArgs.builder()
            .certificateStore("string")
            .name("string")
            .targetDn("string")
            .build())
        .build());
    
    schema_site_contract_service_graph_listener_resource = mso.SchemaSiteContractServiceGraphListener("schemaSiteContractServiceGraphListenerResource",
        schema_id="string",
        listener_name="string",
        port=0,
        protocol="string",
        contract_name="string",
        service_node_index=0,
        site_id="string",
        template_name="string",
        frontend_ip_dn="string",
        rules=[{
            "name": "string",
            "action_type": "string",
            "protocol": "string",
            "priority": 0,
            "port": 0,
            "health_check": {
                "host": "string",
                "interval": 0,
                "path": "string",
                "port": 0,
                "protocol": "string",
                "success_code": "string",
                "timeout": 0,
                "unhealthy_threshold": 0,
                "use_host_from_rule": False,
            },
            "redirect_host_name": "string",
            "action": "string",
            "path": "string",
            "floating_ip": "string",
            "custom_url": "string",
            "content_type": "string",
            "provider_epg_ref": {
                "anp_name": "string",
                "epg_name": "string",
                "schema_id": "string",
                "template_name": "string",
            },
            "redirect_code": "string",
            "host": "string",
            "redirect_path": "string",
            "redirect_port": 0,
            "redirect_protocol": "string",
            "redirect_query": "string",
            "response_body": "string",
            "response_code": "string",
            "target_ip_type": "string",
            "url_type": "string",
        }],
        schema_site_contract_service_graph_listener_id="string",
        security_policy="string",
        ssl_certificates=[{
            "certificate_store": "string",
            "name": "string",
            "target_dn": "string",
        }])
    
    const schemaSiteContractServiceGraphListenerResource = new mso.SchemaSiteContractServiceGraphListener("schemaSiteContractServiceGraphListenerResource", {
        schemaId: "string",
        listenerName: "string",
        port: 0,
        protocol: "string",
        contractName: "string",
        serviceNodeIndex: 0,
        siteId: "string",
        templateName: "string",
        frontendIpDn: "string",
        rules: [{
            name: "string",
            actionType: "string",
            protocol: "string",
            priority: 0,
            port: 0,
            healthCheck: {
                host: "string",
                interval: 0,
                path: "string",
                port: 0,
                protocol: "string",
                successCode: "string",
                timeout: 0,
                unhealthyThreshold: 0,
                useHostFromRule: false,
            },
            redirectHostName: "string",
            action: "string",
            path: "string",
            floatingIp: "string",
            customUrl: "string",
            contentType: "string",
            providerEpgRef: {
                anpName: "string",
                epgName: "string",
                schemaId: "string",
                templateName: "string",
            },
            redirectCode: "string",
            host: "string",
            redirectPath: "string",
            redirectPort: 0,
            redirectProtocol: "string",
            redirectQuery: "string",
            responseBody: "string",
            responseCode: "string",
            targetIpType: "string",
            urlType: "string",
        }],
        schemaSiteContractServiceGraphListenerId: "string",
        securityPolicy: "string",
        sslCertificates: [{
            certificateStore: "string",
            name: "string",
            targetDn: "string",
        }],
    });
    
    type: mso:SchemaSiteContractServiceGraphListener
    properties:
        contractName: string
        frontendIpDn: string
        listenerName: string
        port: 0
        protocol: string
        rules:
            - action: string
              actionType: string
              contentType: string
              customUrl: string
              floatingIp: string
              healthCheck:
                host: string
                interval: 0
                path: string
                port: 0
                protocol: string
                successCode: string
                timeout: 0
                unhealthyThreshold: 0
                useHostFromRule: false
              host: string
              name: string
              path: string
              port: 0
              priority: 0
              protocol: string
              providerEpgRef:
                anpName: string
                epgName: string
                schemaId: string
                templateName: string
              redirectCode: string
              redirectHostName: string
              redirectPath: string
              redirectPort: 0
              redirectProtocol: string
              redirectQuery: string
              responseBody: string
              responseCode: string
              targetIpType: string
              urlType: string
        schemaId: string
        schemaSiteContractServiceGraphListenerId: string
        securityPolicy: string
        serviceNodeIndex: 0
        siteId: string
        sslCertificates:
            - certificateStore: string
              name: string
              targetDn: string
        templateName: string
    

    SchemaSiteContractServiceGraphListener 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 SchemaSiteContractServiceGraphListener resource accepts the following input properties:

    Outputs

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

    Get an existing SchemaSiteContractServiceGraphListener 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?: SchemaSiteContractServiceGraphListenerState, opts?: CustomResourceOptions): SchemaSiteContractServiceGraphListener
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            contract_name: Optional[str] = None,
            frontend_ip_dn: Optional[str] = None,
            listener_name: Optional[str] = None,
            port: Optional[float] = None,
            protocol: Optional[str] = None,
            rules: Optional[Sequence[SchemaSiteContractServiceGraphListenerRuleArgs]] = None,
            schema_id: Optional[str] = None,
            schema_site_contract_service_graph_listener_id: Optional[str] = None,
            security_policy: Optional[str] = None,
            service_node_index: Optional[float] = None,
            site_id: Optional[str] = None,
            ssl_certificates: Optional[Sequence[SchemaSiteContractServiceGraphListenerSslCertificateArgs]] = None,
            template_name: Optional[str] = None) -> SchemaSiteContractServiceGraphListener
    func GetSchemaSiteContractServiceGraphListener(ctx *Context, name string, id IDInput, state *SchemaSiteContractServiceGraphListenerState, opts ...ResourceOption) (*SchemaSiteContractServiceGraphListener, error)
    public static SchemaSiteContractServiceGraphListener Get(string name, Input<string> id, SchemaSiteContractServiceGraphListenerState? state, CustomResourceOptions? opts = null)
    public static SchemaSiteContractServiceGraphListener get(String name, Output<String> id, SchemaSiteContractServiceGraphListenerState state, CustomResourceOptions options)
    resources:  _:    type: mso:SchemaSiteContractServiceGraphListener    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.
    The following state arguments are supported:

    Supporting Types

    SchemaSiteContractServiceGraphListenerRule, SchemaSiteContractServiceGraphListenerRuleArgs

    SchemaSiteContractServiceGraphListenerRuleHealthCheck, SchemaSiteContractServiceGraphListenerRuleHealthCheckArgs

    Host string
    Interval double
    Path string
    Port double
    Protocol string
    SuccessCode string
    Timeout double
    UnhealthyThreshold double
    UseHostFromRule bool
    Host string
    Interval float64
    Path string
    Port float64
    Protocol string
    SuccessCode string
    Timeout float64
    UnhealthyThreshold float64
    UseHostFromRule bool
    host String
    interval Double
    path String
    port Double
    protocol String
    successCode String
    timeout Double
    unhealthyThreshold Double
    useHostFromRule Boolean
    host string
    interval number
    path string
    port number
    protocol string
    successCode string
    timeout number
    unhealthyThreshold number
    useHostFromRule boolean
    host String
    interval Number
    path String
    port Number
    protocol String
    successCode String
    timeout Number
    unhealthyThreshold Number
    useHostFromRule Boolean

    SchemaSiteContractServiceGraphListenerRuleProviderEpgRef, SchemaSiteContractServiceGraphListenerRuleProviderEpgRefArgs

    AnpName string
    EpgName string
    SchemaId string
    TemplateName string
    AnpName string
    EpgName string
    SchemaId string
    TemplateName string
    anpName String
    epgName String
    schemaId String
    templateName String
    anpName string
    epgName string
    schemaId string
    templateName string
    anpName String
    epgName String
    schemaId String
    templateName String

    SchemaSiteContractServiceGraphListenerSslCertificate, SchemaSiteContractServiceGraphListenerSslCertificateArgs

    CertificateStore string
    Name string
    TargetDn string
    CertificateStore string
    Name string
    TargetDn string
    certificateStore String
    name String
    targetDn String
    certificateStore string
    name string
    targetDn string
    certificateStore String
    name String
    targetDn String

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet