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
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
new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
@overload
def Deployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
catalog_name: Optional[str] = None,
deployed_images: Optional[Sequence[ImageArgs]] = None,
deployment_id: Optional[str] = None,
deployment_name: Optional[str] = None,
device_group_name: Optional[str] = None,
product_name: Optional[str] = None,
resource_group_name: Optional[str] = None)
@overload
def Deployment(resource_name: str,
args: DeploymentArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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:
- Catalog
Name string Name of catalog
- Device
Group stringName Name of device group.
- Product
Name string Name of product.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Deployed
Images List<Pulumi.Azure Native. Azure Sphere. Inputs. Image> Images deployed
- Deployment
Id string Deployment ID
- Deployment
Name string Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.
- Catalog
Name string Name of catalog
- Device
Group stringName Name of device group.
- Product
Name string Name of product.
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Deployed
Images []ImageType Args Images deployed
- Deployment
Id string Deployment ID
- Deployment
Name string Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.
- catalog
Name String Name of catalog
- device
Group StringName Name of device group.
- product
Name String Name of product.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- deployed
Images List<Image> Images deployed
- deployment
Id String Deployment ID
- deployment
Name String Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.
- catalog
Name string Name of catalog
- device
Group stringName Name of device group.
- product
Name string Name of product.
- resource
Group stringName The name of the resource group. The name is case insensitive.
- deployed
Images Image[] Images deployed
- deployment
Id string Deployment ID
- deployment
Name 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.
- catalog
Name String Name of catalog
- device
Group StringName Name of device group.
- product
Name String Name of product.
- resource
Group StringName The name of the resource group. The name is case insensitive.
- deployed
Images List<Property Map> Images deployed
- deployment
Id String Deployment ID
- deployment
Name 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:
- Deployment
Date stringUtc Deployment date UTC
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the resource
- Provisioning
State string The status of the last operation.
- System
Data 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"
- Deployment
Date stringUtc Deployment date UTC
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the resource
- Provisioning
State string The status of the last operation.
- System
Data 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 StringUtc Deployment date UTC
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the resource
- provisioning
State String The status of the last operation.
- system
Data 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 stringUtc Deployment date UTC
- id string
The provider-assigned unique ID for this managed resource.
- name string
The name of the resource
- provisioning
State string The status of the last operation.
- system
Data 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"
- deployment
Date StringUtc Deployment date UTC
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the resource
- provisioning
State String The status of the last operation.
- system
Data 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.
- Image
Id string Image ID
- Regional
Data 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.
- Image
Id string Image ID
- Regional
Data 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.
- image
Id String Image ID
- regional
Data 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.
- image
Id string Image ID
- regional
Data 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.
- image
Id String Image ID
- regional
Data String | "None" | "EU"Boundary Regional data boundary for an image
ImageResponse, ImageResponseArgs
- Component
Id 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}
- Image
Name string Image name
- Image
Type string The image type.
- Name string
The name of the resource
- Provisioning
State string The status of the last operation.
- System
Data 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.
- Image
Id string Image ID
- Regional
Data stringBoundary Regional data boundary for an image
- Component
Id 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}
- Image
Name string Image name
- Image
Type string The image type.
- Name string
The name of the resource
- Provisioning
State string The status of the last operation.
- System
Data 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.
- Image
Id string Image ID
- Regional
Data stringBoundary Regional data boundary for an image
- component
Id 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}
- image
Name String Image name
- image
Type String The image type.
- name String
The name of the resource
- provisioning
State String The status of the last operation.
- system
Data 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.
- image
Id String Image ID
- regional
Data StringBoundary Regional data boundary for an image
- component
Id 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}
- image
Name string Image name
- image
Type string The image type.
- name string
The name of the resource
- provisioning
State string The status of the last operation.
- system
Data 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.
- image
Id string Image ID
- regional
Data 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
- component
Id 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}
- image
Name String Image name
- image
Type String The image type.
- name String
The name of the resource
- provisioning
State String The status of the last operation.
- system
Data 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.
- image
Id String Image ID
- regional
Data StringBoundary Regional data boundary for an image
RegionalDataBoundary, RegionalDataBoundaryArgs
- None
- None
No data boundary
- EU
- EU
EU data boundary
- Regional
Data Boundary None - None
No data boundary
- Regional
Data Boundary EU - EU
EU data boundary
- None
- None
No data boundary
- EU
- EU
EU data boundary
- None
- None
No data boundary
- EU
- EU
EU data boundary
- NONE
- None
No data boundary
- EU
- EU
EU data boundary
- "None"
- None
No data boundary
- "EU"
- EU
EU data boundary
SystemDataResponse, SystemDataResponseArgs
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified 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.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified 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}
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0