1. Packages
  2. Azure Native
  3. API Docs
  4. addons
  5. SupportPlanType
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.addons.SupportPlanType

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    The status of the Canonical support plan. Azure REST API version: 2018-03-01. Prior API version in Azure Native 1.x: 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 (
    	"github.com/pulumi/pulumi-azure-native-sdk/addons/v2"
    	"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

    new SupportPlanType(name: string, args: SupportPlanTypeArgs, opts?: CustomResourceOptions);
    @overload
    def SupportPlanType(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        plan_type_name: Optional[str] = None,
                        provider_name: Optional[str] = None)
    @overload
    def SupportPlanType(resource_name: str,
                        args: SupportPlanTypeArgs,
                        opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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/{subscriptionId}/providers/Microsoft.Addons/supportProviders/{providerName}/supportPlanTypes/{planTypeName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi