azure-native.azuresphere.Deployment
Explore with Pulumi AI
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 (
	azuresphere "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 * 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",
});
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")
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.
Constructor 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=[{
        "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Deployment resource accepts the following input properties:
- CatalogName string
- Name of catalog
- DeviceGroup stringName 
- Name of device group.
- ProductName string
- Name of product.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- DeployedImages List<Pulumi.Azure Native. Azure Sphere. 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
- DeviceGroup stringName 
- Name of device group.
- ProductName string
- Name of product.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- DeployedImages []ImageType Args 
- 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
- deviceGroup StringName 
- Name of device group.
- productName String
- Name of product.
- resourceGroup StringName 
- 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
- deviceGroup stringName 
- Name of device group.
- productName string
- Name of product.
- resourceGroup stringName 
- 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_ strname 
- Name of device group.
- product_name str
- Name of product.
- resource_group_ strname 
- 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
- deviceGroup StringName 
- Name of device group.
- productName String
- Name of product.
- resourceGroup StringName 
- 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:
- DeploymentDate stringUtc 
- 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.Azure Native. Azure Sphere. Outputs. System Data Response 
- 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"
- DeploymentDate stringUtc 
- 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 SystemData Response 
- 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"
- deploymentDate StringUtc 
- 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 SystemData Response 
- 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"
- deploymentDate stringUtc 
- 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 SystemData Response 
- 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_ strutc 
- 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 SystemData Response 
- 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"
- deploymentDate StringUtc 
- 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
- RegionalData string | Pulumi.Boundary Azure Native. Azure Sphere. Regional Data Boundary 
- 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
- RegionalData string | RegionalBoundary Data Boundary 
- 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
- regionalData String | RegionalBoundary Data Boundary 
- 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
- regionalData string | RegionalBoundary Data Boundary 
- 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_ str | Regionalboundary Data Boundary 
- 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
- regionalData String | "None" | "EU"Boundary 
- 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.Azure Native. Azure Sphere. Inputs. System Data Response 
- 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
- RegionalData stringBoundary 
- 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 SystemData Response 
- 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
- RegionalData stringBoundary 
- 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 SystemData Response 
- 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
- regionalData StringBoundary 
- 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 SystemData Response 
- 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
- regionalData stringBoundary 
- 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 SystemData Response 
- 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_ strboundary 
- 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
- regionalData StringBoundary 
- Regional data boundary for an image
RegionalDataBoundary, RegionalDataBoundaryArgs      
- None
- NoneNo data boundary
- EU
- EUEU data boundary
- RegionalData Boundary None 
- NoneNo data boundary
- RegionalData 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
- "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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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