1. Packages
  2. Azure Native v1
  3. API Docs
  4. addons
  5. SupportPlanType
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.addons.SupportPlanType

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    The status of the Canonical support plan. API Version: 2018-03-01.

    Example Usage

    SupportPlanTypes_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var supportPlanType = new AzureNative.Addons.SupportPlanType("supportPlanType", new()
        {
            PlanTypeName = "Standard",
            ProviderName = "Canonical",
        });
    
    });
    
    package main
    
    import (
    	addons "github.com/pulumi/pulumi-azure-native-sdk/addons"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := addons.NewSupportPlanType(ctx, "supportPlanType", &addons.SupportPlanTypeArgs{
    			PlanTypeName: pulumi.String("Standard"),
    			ProviderName: pulumi.String("Canonical"),
    		})
    		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.azurenative.addons.SupportPlanType;
    import com.pulumi.azurenative.addons.SupportPlanTypeArgs;
    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 supportPlanType = new SupportPlanType("supportPlanType", SupportPlanTypeArgs.builder()        
                .planTypeName("Standard")
                .providerName("Canonical")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    support_plan_type = azure_native.addons.SupportPlanType("supportPlanType",
        plan_type_name="Standard",
        provider_name="Canonical")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const supportPlanType = new azure_native.addons.SupportPlanType("supportPlanType", {
        planTypeName: "Standard",
        providerName: "Canonical",
    });
    
    resources:
      supportPlanType:
        type: azure-native:addons:SupportPlanType
        properties:
          planTypeName: Standard
          providerName: Canonical
    

    Create SupportPlanType Resource

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

    Constructor syntax

    new SupportPlanType(name: string, args: SupportPlanTypeArgs, opts?: CustomResourceOptions);
    @overload
    def SupportPlanType(resource_name: str,
                        args: SupportPlanTypeArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def SupportPlanType(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        provider_name: Optional[str] = None,
                        plan_type_name: Optional[str] = None)
    func NewSupportPlanType(ctx *Context, name string, args SupportPlanTypeArgs, opts ...ResourceOption) (*SupportPlanType, error)
    public SupportPlanType(string name, SupportPlanTypeArgs args, CustomResourceOptions? opts = null)
    public SupportPlanType(String name, SupportPlanTypeArgs args)
    public SupportPlanType(String name, SupportPlanTypeArgs args, CustomResourceOptions options)
    
    type: azure-native:addons:SupportPlanType
    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 SupportPlanTypeArgs
    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 SupportPlanTypeArgs
    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 SupportPlanTypeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SupportPlanTypeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SupportPlanTypeArgs
    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 supportPlanTypeResource = new AzureNative.Addons.SupportPlanType("supportPlanTypeResource", new()
    {
        ProviderName = "string",
        PlanTypeName = "string",
    });
    
    example, err := addons.NewSupportPlanType(ctx, "supportPlanTypeResource", &addons.SupportPlanTypeArgs{
    	ProviderName: "string",
    	PlanTypeName: "string",
    })
    
    var supportPlanTypeResource = new SupportPlanType("supportPlanTypeResource", SupportPlanTypeArgs.builder()
        .providerName("string")
        .planTypeName("string")
        .build());
    
    support_plan_type_resource = azure_native.addons.SupportPlanType("supportPlanTypeResource",
        provider_name=string,
        plan_type_name=string)
    
    const supportPlanTypeResource = new azure_native.addons.SupportPlanType("supportPlanTypeResource", {
        providerName: "string",
        planTypeName: "string",
    });
    
    type: azure-native:addons:SupportPlanType
    properties:
        planTypeName: string
        providerName: string
    

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

    ProviderName string
    The support plan type. For now the only valid type is "canonical".
    PlanTypeName string
    The Canonical support plan type.
    ProviderName string
    The support plan type. For now the only valid type is "canonical".
    PlanTypeName string
    The Canonical support plan type.
    providerName String
    The support plan type. For now the only valid type is "canonical".
    planTypeName String
    The Canonical support plan type.
    providerName string
    The support plan type. For now the only valid type is "canonical".
    planTypeName string
    The Canonical support plan type.
    provider_name str
    The support plan type. For now the only valid type is "canonical".
    plan_type_name str
    The Canonical support plan type.
    providerName String
    The support plan type. For now the only valid type is "canonical".
    planTypeName String
    The Canonical support plan type.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SupportPlanType resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
    Type string
    Microsoft.Addons/supportProvider
    ProvisioningState string
    The provisioning state of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
    Type string
    Microsoft.Addons/supportProvider
    ProvisioningState string
    The provisioning state of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
    type String
    Microsoft.Addons/supportProvider
    provisioningState String
    The provisioning state of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
    type string
    Microsoft.Addons/supportProvider
    provisioningState string
    The provisioning state of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
    type str
    Microsoft.Addons/supportProvider
    provisioning_state str
    The provisioning state of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Canonical support plan, i.e. "essential", "standard" or "advanced".
    type String
    Microsoft.Addons/supportProvider
    provisioningState String
    The provisioning state of the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:addons:SupportPlanType Standard subscriptions/d18d258f-bdba-4de1-8b51-e79d6c181d5e/providers/Microsoft.Addons/supportProviders/canonical/supportPlanTypes/Standard 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi