1. Packages
  2. Azure Native v1
  3. API Docs
  4. hybridnetwork
  5. VendorSkuPreview
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.hybridnetwork.VendorSkuPreview

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

    Customer subscription which can use a sku. API Version: 2020-01-01-preview.

    Example Usage

    Create or update preview subscription of vendor sku sub resource

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var vendorSkuPreview = new AzureNative.HybridNetwork.VendorSkuPreview("vendorSkuPreview", new()
        {
            PreviewSubscription = "previewSub",
            SkuName = "TestSku",
            VendorName = "TestVendor",
        });
    
    });
    
    package main
    
    import (
    	hybridnetwork "github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hybridnetwork.NewVendorSkuPreview(ctx, "vendorSkuPreview", &hybridnetwork.VendorSkuPreviewArgs{
    			PreviewSubscription: pulumi.String("previewSub"),
    			SkuName:             pulumi.String("TestSku"),
    			VendorName:          pulumi.String("TestVendor"),
    		})
    		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.hybridnetwork.VendorSkuPreview;
    import com.pulumi.azurenative.hybridnetwork.VendorSkuPreviewArgs;
    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 vendorSkuPreview = new VendorSkuPreview("vendorSkuPreview", VendorSkuPreviewArgs.builder()        
                .previewSubscription("previewSub")
                .skuName("TestSku")
                .vendorName("TestVendor")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    vendor_sku_preview = azure_native.hybridnetwork.VendorSkuPreview("vendorSkuPreview",
        preview_subscription="previewSub",
        sku_name="TestSku",
        vendor_name="TestVendor")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const vendorSkuPreview = new azure_native.hybridnetwork.VendorSkuPreview("vendorSkuPreview", {
        previewSubscription: "previewSub",
        skuName: "TestSku",
        vendorName: "TestVendor",
    });
    
    resources:
      vendorSkuPreview:
        type: azure-native:hybridnetwork:VendorSkuPreview
        properties:
          previewSubscription: previewSub
          skuName: TestSku
          vendorName: TestVendor
    

    Create VendorSkuPreview Resource

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

    Constructor syntax

    new VendorSkuPreview(name: string, args: VendorSkuPreviewArgs, opts?: CustomResourceOptions);
    @overload
    def VendorSkuPreview(resource_name: str,
                         args: VendorSkuPreviewArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def VendorSkuPreview(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         sku_name: Optional[str] = None,
                         vendor_name: Optional[str] = None,
                         preview_subscription: Optional[str] = None)
    func NewVendorSkuPreview(ctx *Context, name string, args VendorSkuPreviewArgs, opts ...ResourceOption) (*VendorSkuPreview, error)
    public VendorSkuPreview(string name, VendorSkuPreviewArgs args, CustomResourceOptions? opts = null)
    public VendorSkuPreview(String name, VendorSkuPreviewArgs args)
    public VendorSkuPreview(String name, VendorSkuPreviewArgs args, CustomResourceOptions options)
    
    type: azure-native:hybridnetwork:VendorSkuPreview
    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 VendorSkuPreviewArgs
    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 VendorSkuPreviewArgs
    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 VendorSkuPreviewArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VendorSkuPreviewArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VendorSkuPreviewArgs
    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 vendorSkuPreviewResource = new AzureNative.Hybridnetwork.VendorSkuPreview("vendorSkuPreviewResource", new()
    {
        SkuName = "string",
        VendorName = "string",
        PreviewSubscription = "string",
    });
    
    example, err := hybridnetwork.NewVendorSkuPreview(ctx, "vendorSkuPreviewResource", &hybridnetwork.VendorSkuPreviewArgs{
    	SkuName:             "string",
    	VendorName:          "string",
    	PreviewSubscription: "string",
    })
    
    var vendorSkuPreviewResource = new VendorSkuPreview("vendorSkuPreviewResource", VendorSkuPreviewArgs.builder()
        .skuName("string")
        .vendorName("string")
        .previewSubscription("string")
        .build());
    
    vendor_sku_preview_resource = azure_native.hybridnetwork.VendorSkuPreview("vendorSkuPreviewResource",
        sku_name=string,
        vendor_name=string,
        preview_subscription=string)
    
    const vendorSkuPreviewResource = new azure_native.hybridnetwork.VendorSkuPreview("vendorSkuPreviewResource", {
        skuName: "string",
        vendorName: "string",
        previewSubscription: "string",
    });
    
    type: azure-native:hybridnetwork:VendorSkuPreview
    properties:
        previewSubscription: string
        skuName: string
        vendorName: string
    

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

    SkuName string
    The name of the vendor sku.
    VendorName string
    The name of the vendor.
    PreviewSubscription string
    Preview subscription ID.
    SkuName string
    The name of the vendor sku.
    VendorName string
    The name of the vendor.
    PreviewSubscription string
    Preview subscription ID.
    skuName String
    The name of the vendor sku.
    vendorName String
    The name of the vendor.
    previewSubscription String
    Preview subscription ID.
    skuName string
    The name of the vendor sku.
    vendorName string
    The name of the vendor.
    previewSubscription string
    Preview subscription ID.
    sku_name str
    The name of the vendor sku.
    vendor_name str
    The name of the vendor.
    preview_subscription str
    Preview subscription ID.
    skuName String
    The name of the vendor sku.
    vendorName String
    The name of the vendor.
    previewSubscription String
    Preview subscription ID.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The preview subscription ID.
    Type string
    The type of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The preview subscription ID.
    Type string
    The type of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The preview subscription ID.
    type String
    The type of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The preview subscription ID.
    type string
    The type of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The preview subscription ID.
    type str
    The type of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The preview subscription ID.
    type String
    The type of the resource.

    Import

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

    $ pulumi import azure-native:hybridnetwork:VendorSkuPreview previewSub /subscriptions/subid/providers/Microsoft.HybridNetwork/vendors/TestVendor/vendorskus/TestSku/previewsubscriptions/previewSub 
    

    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