1. Packages
  2. Azure Native
  3. API Docs
  4. azuresphere
  5. Deployment
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.38.0 published on Monday, Apr 22, 2024 by Pulumi

azure-native.azuresphere.Deployment

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.38.0 published on Monday, Apr 22, 2024 by Pulumi

    An deployment resource belonging to a device group resource. Azure REST API version: 2022-09-01-preview. Prior API version in Azure Native 1.x: 2022-09-01-preview.

    Other available API versions: 2024-04-01.

    Example Usage

    Deployments_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var deployment = new AzureNative.AzureSphere.Deployment("deployment", new()
        {
            CatalogName = "MyCatalog1",
            DeploymentName = "MyDeployment1",
            DeviceGroupName = "myDeviceGroup1",
            ProductName = "MyProduct1",
            ResourceGroupName = "MyResourceGroup1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/azuresphere/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azuresphere.NewDeployment(ctx, "deployment", &azuresphere.DeploymentArgs{
    			CatalogName:       pulumi.String("MyCatalog1"),
    			DeploymentName:    pulumi.String("MyDeployment1"),
    			DeviceGroupName:   pulumi.String("myDeviceGroup1"),
    			ProductName:       pulumi.String("MyProduct1"),
    			ResourceGroupName: pulumi.String("MyResourceGroup1"),
    		})
    		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.azuresphere.Deployment;
    import com.pulumi.azurenative.azuresphere.DeploymentArgs;
    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 deployment = new Deployment("deployment", DeploymentArgs.builder()        
                .catalogName("MyCatalog1")
                .deploymentName("MyDeployment1")
                .deviceGroupName("myDeviceGroup1")
                .productName("MyProduct1")
                .resourceGroupName("MyResourceGroup1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    deployment = azure_native.azuresphere.Deployment("deployment",
        catalog_name="MyCatalog1",
        deployment_name="MyDeployment1",
        device_group_name="myDeviceGroup1",
        product_name="MyProduct1",
        resource_group_name="MyResourceGroup1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const deployment = new azure_native.azuresphere.Deployment("deployment", {
        catalogName: "MyCatalog1",
        deploymentName: "MyDeployment1",
        deviceGroupName: "myDeviceGroup1",
        productName: "MyProduct1",
        resourceGroupName: "MyResourceGroup1",
    });
    
    resources:
      deployment:
        type: azure-native:azuresphere:Deployment
        properties:
          catalogName: MyCatalog1
          deploymentName: MyDeployment1
          deviceGroupName: myDeviceGroup1
          productName: MyProduct1
          resourceGroupName: MyResourceGroup1
    

    Create Deployment Resource

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

    Constructor syntax

    new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def Deployment(resource_name: str,
                   args: DeploymentArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Deployment(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   catalog_name: Optional[str] = None,
                   device_group_name: Optional[str] = None,
                   product_name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   deployed_images: Optional[Sequence[ImageArgs]] = None,
                   deployment_id: Optional[str] = None,
                   deployment_name: Optional[str] = None)
    func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
    public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
    public Deployment(String name, DeploymentArgs args)
    public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
    
    type: azure-native:azuresphere:Deployment
    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 DeploymentArgs
    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 DeploymentArgs
    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 DeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var exampledeploymentResourceResourceFromAzuresphere = new AzureNative.AzureSphere.Deployment("exampledeploymentResourceResourceFromAzuresphere", new()
    {
        CatalogName = "string",
        DeviceGroupName = "string",
        ProductName = "string",
        ResourceGroupName = "string",
        DeployedImages = new[]
        {
            new AzureNative.AzureSphere.Inputs.ImageArgs
            {
                Image = "string",
                ImageId = "string",
                RegionalDataBoundary = "string",
            },
        },
        DeploymentId = "string",
        DeploymentName = "string",
    });
    
    example, err := azuresphere.NewDeployment(ctx, "exampledeploymentResourceResourceFromAzuresphere", &azuresphere.DeploymentArgs{
    CatalogName: pulumi.String("string"),
    DeviceGroupName: pulumi.String("string"),
    ProductName: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    DeployedImages: azuresphere.ImageTypeArray{
    &azuresphere.ImageTypeArgs{
    Image: pulumi.String("string"),
    ImageId: pulumi.String("string"),
    RegionalDataBoundary: pulumi.String("string"),
    },
    },
    DeploymentId: pulumi.String("string"),
    DeploymentName: pulumi.String("string"),
    })
    
    var exampledeploymentResourceResourceFromAzuresphere = new Deployment("exampledeploymentResourceResourceFromAzuresphere", DeploymentArgs.builder()        
        .catalogName("string")
        .deviceGroupName("string")
        .productName("string")
        .resourceGroupName("string")
        .deployedImages(ImageArgs.builder()
            .image("string")
            .imageId("string")
            .regionalDataBoundary("string")
            .build())
        .deploymentId("string")
        .deploymentName("string")
        .build());
    
    exampledeployment_resource_resource_from_azuresphere = azure_native.azuresphere.Deployment("exampledeploymentResourceResourceFromAzuresphere",
        catalog_name="string",
        device_group_name="string",
        product_name="string",
        resource_group_name="string",
        deployed_images=[azure_native.azuresphere.ImageArgs(
            image="string",
            image_id="string",
            regional_data_boundary="string",
        )],
        deployment_id="string",
        deployment_name="string")
    
    const exampledeploymentResourceResourceFromAzuresphere = new azure_native.azuresphere.Deployment("exampledeploymentResourceResourceFromAzuresphere", {
        catalogName: "string",
        deviceGroupName: "string",
        productName: "string",
        resourceGroupName: "string",
        deployedImages: [{
            image: "string",
            imageId: "string",
            regionalDataBoundary: "string",
        }],
        deploymentId: "string",
        deploymentName: "string",
    });
    
    type: azure-native:azuresphere:Deployment
    properties:
        catalogName: string
        deployedImages:
            - image: string
              imageId: string
              regionalDataBoundary: string
        deploymentId: string
        deploymentName: string
        deviceGroupName: string
        productName: string
        resourceGroupName: string
    

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

    CatalogName string
    Name of catalog
    DeviceGroupName string
    Name of device group.
    ProductName string
    Name of product.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DeployedImages List<Pulumi.AzureNative.AzureSphere.Inputs.Image>
    Images deployed
    DeploymentId string
    Deployment ID
    DeploymentName string
    Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.
    CatalogName string
    Name of catalog
    DeviceGroupName string
    Name of device group.
    ProductName string
    Name of product.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DeployedImages []ImageTypeArgs
    Images deployed
    DeploymentId string
    Deployment ID
    DeploymentName string
    Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.
    catalogName String
    Name of catalog
    deviceGroupName String
    Name of device group.
    productName String
    Name of product.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    deployedImages List<Image>
    Images deployed
    deploymentId String
    Deployment ID
    deploymentName String
    Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.
    catalogName string
    Name of catalog
    deviceGroupName string
    Name of device group.
    productName string
    Name of product.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    deployedImages Image[]
    Images deployed
    deploymentId string
    Deployment ID
    deploymentName string
    Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.
    catalog_name str
    Name of catalog
    device_group_name str
    Name of device group.
    product_name str
    Name of product.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    deployed_images Sequence[ImageArgs]
    Images deployed
    deployment_id str
    Deployment ID
    deployment_name str
    Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.
    catalogName String
    Name of catalog
    deviceGroupName String
    Name of device group.
    productName String
    Name of product.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    deployedImages List<Property Map>
    Images deployed
    deploymentId String
    Deployment ID
    deploymentName String
    Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.

    Outputs

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

    DeploymentDateUtc string
    Deployment date UTC
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    The status of the last operation.
    SystemData Pulumi.AzureNative.AzureSphere.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    DeploymentDateUtc string
    Deployment date UTC
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    The status of the last operation.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    deploymentDateUtc String
    Deployment date UTC
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    The status of the last operation.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    deploymentDateUtc string
    Deployment date UTC
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    The status of the last operation.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    deployment_date_utc str
    Deployment date UTC
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    The status of the last operation.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    deploymentDateUtc String
    Deployment date UTC
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    The status of the last operation.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    Image, ImageArgs

    Image string
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    ImageId string
    Image ID
    RegionalDataBoundary string | Pulumi.AzureNative.AzureSphere.RegionalDataBoundary
    Regional data boundary for an image
    Image string
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    ImageId string
    Image ID
    RegionalDataBoundary string | RegionalDataBoundary
    Regional data boundary for an image
    image String
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    imageId String
    Image ID
    regionalDataBoundary String | RegionalDataBoundary
    Regional data boundary for an image
    image string
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    imageId string
    Image ID
    regionalDataBoundary string | RegionalDataBoundary
    Regional data boundary for an image
    image str
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    image_id str
    Image ID
    regional_data_boundary str | RegionalDataBoundary
    Regional data boundary for an image
    image String
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    imageId String
    Image ID
    regionalDataBoundary String | "None" | "EU"
    Regional data boundary for an image

    ImageResponse, ImageResponseArgs

    ComponentId string
    The image component id.
    Description string
    The image description.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ImageName string
    Image name
    ImageType string
    The image type.
    Name string
    The name of the resource
    ProvisioningState string
    The status of the last operation.
    SystemData Pulumi.AzureNative.AzureSphere.Inputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Uri string
    Location the image
    Image string
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    ImageId string
    Image ID
    RegionalDataBoundary string
    Regional data boundary for an image
    ComponentId string
    The image component id.
    Description string
    The image description.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ImageName string
    Image name
    ImageType string
    The image type.
    Name string
    The name of the resource
    ProvisioningState string
    The status of the last operation.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Uri string
    Location the image
    Image string
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    ImageId string
    Image ID
    RegionalDataBoundary string
    Regional data boundary for an image
    componentId String
    The image component id.
    description String
    The image description.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    imageName String
    Image name
    imageType String
    The image type.
    name String
    The name of the resource
    provisioningState String
    The status of the last operation.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uri String
    Location the image
    image String
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    imageId String
    Image ID
    regionalDataBoundary String
    Regional data boundary for an image
    componentId string
    The image component id.
    description string
    The image description.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    imageName string
    Image name
    imageType string
    The image type.
    name string
    The name of the resource
    provisioningState string
    The status of the last operation.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uri string
    Location the image
    image string
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    imageId string
    Image ID
    regionalDataBoundary string
    Regional data boundary for an image
    component_id str
    The image component id.
    description str
    The image description.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    image_name str
    Image name
    image_type str
    The image type.
    name str
    The name of the resource
    provisioning_state str
    The status of the last operation.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uri str
    Location the image
    image str
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    image_id str
    Image ID
    regional_data_boundary str
    Regional data boundary for an image
    componentId String
    The image component id.
    description String
    The image description.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    imageName String
    Image name
    imageType String
    The image type.
    name String
    The name of the resource
    provisioningState String
    The status of the last operation.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uri String
    Location the image
    image String
    Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.
    imageId String
    Image ID
    regionalDataBoundary String
    Regional data boundary for an image

    RegionalDataBoundary, RegionalDataBoundaryArgs

    None
    NoneNo data boundary
    EU
    EUEU data boundary
    RegionalDataBoundaryNone
    NoneNo data boundary
    RegionalDataBoundaryEU
    EUEU data boundary
    None
    NoneNo data boundary
    EU
    EUEU data boundary
    None
    NoneNo data boundary
    EU
    EUEU data boundary
    NONE
    NoneNo data boundary
    EU
    EUEU data boundary
    "None"
    NoneNo data boundary
    "EU"
    EUEU data boundary

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

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

    $ pulumi import azure-native:azuresphere:Deployment MyDeployment1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName} 
    

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

    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.38.0 published on Monday, Apr 22, 2024 by Pulumi