azure-native.deploymentmanager.ArtifactSource

The resource that defines the source location where the artifacts are located. API Version: 2019-11-01-preview.

Example Usage

Create artifact source

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var artifactSource = new AzureNative.DeploymentManager.ArtifactSource("artifactSource", new()
    {
        ArtifactSourceName = "myArtifactSource",
        Authentication = new AzureNative.DeploymentManager.Inputs.SasAuthenticationArgs
        {
            SasUri = "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
            Type = "Sas",
        },
        Location = "centralus",
        ResourceGroupName = "myResourceGroup",
        SourceType = "AzureStorage",
        Tags = null,
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.deploymentmanager.ArtifactSource;
import com.pulumi.azurenative.deploymentmanager.ArtifactSourceArgs;
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 artifactSource = new ArtifactSource("artifactSource", ArtifactSourceArgs.builder()        
            .artifactSourceName("myArtifactSource")
            .authentication(Map.ofEntries(
                Map.entry("sasUri", "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"),
                Map.entry("type", "Sas")
            ))
            .location("centralus")
            .resourceGroupName("myResourceGroup")
            .sourceType("AzureStorage")
            .tags()
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

artifact_source = azure_native.deploymentmanager.ArtifactSource("artifactSource",
    artifact_source_name="myArtifactSource",
    authentication=azure_native.deploymentmanager.SasAuthenticationResponseArgs(
        sas_uri="https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
        type="Sas",
    ),
    location="centralus",
    resource_group_name="myResourceGroup",
    source_type="AzureStorage",
    tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const artifactSource = new azure_native.deploymentmanager.ArtifactSource("artifactSource", {
    artifactSourceName: "myArtifactSource",
    authentication: {
        sasUri: `https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D`,
        type: "Sas",
    },
    location: "centralus",
    resourceGroupName: "myResourceGroup",
    sourceType: "AzureStorage",
    tags: {},
});
resources:
  artifactSource:
    type: azure-native:deploymentmanager:ArtifactSource
    properties:
      artifactSourceName: myArtifactSource
      authentication:
        sasUri: https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D
        type: Sas
      location: centralus
      resourceGroupName: myResourceGroup
      sourceType: AzureStorage
      tags: {}

Create artifact source with artifact root, an offset into the storage container

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var artifactSource = new AzureNative.DeploymentManager.ArtifactSource("artifactSource", new()
    {
        ArtifactRoot = "1.0.0.0",
        ArtifactSourceName = "myArtifactSource",
        Authentication = new AzureNative.DeploymentManager.Inputs.SasAuthenticationArgs
        {
            SasUri = "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
            Type = "Sas",
        },
        Location = "centralus",
        ResourceGroupName = "myResourceGroup",
        SourceType = "AzureStorage",
        Tags = null,
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.deploymentmanager.ArtifactSource;
import com.pulumi.azurenative.deploymentmanager.ArtifactSourceArgs;
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 artifactSource = new ArtifactSource("artifactSource", ArtifactSourceArgs.builder()        
            .artifactRoot("1.0.0.0")
            .artifactSourceName("myArtifactSource")
            .authentication(Map.ofEntries(
                Map.entry("sasUri", "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"),
                Map.entry("type", "Sas")
            ))
            .location("centralus")
            .resourceGroupName("myResourceGroup")
            .sourceType("AzureStorage")
            .tags()
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

artifact_source = azure_native.deploymentmanager.ArtifactSource("artifactSource",
    artifact_root="1.0.0.0",
    artifact_source_name="myArtifactSource",
    authentication=azure_native.deploymentmanager.SasAuthenticationResponseArgs(
        sas_uri="https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
        type="Sas",
    ),
    location="centralus",
    resource_group_name="myResourceGroup",
    source_type="AzureStorage",
    tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const artifactSource = new azure_native.deploymentmanager.ArtifactSource("artifactSource", {
    artifactRoot: "1.0.0.0",
    artifactSourceName: "myArtifactSource",
    authentication: {
        sasUri: `https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D`,
        type: "Sas",
    },
    location: "centralus",
    resourceGroupName: "myResourceGroup",
    sourceType: "AzureStorage",
    tags: {},
});
resources:
  artifactSource:
    type: azure-native:deploymentmanager:ArtifactSource
    properties:
      artifactRoot: 1.0.0.0
      artifactSourceName: myArtifactSource
      authentication:
        sasUri: https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D
        type: Sas
      location: centralus
      resourceGroupName: myResourceGroup
      sourceType: AzureStorage
      tags: {}

Create ArtifactSource Resource

new ArtifactSource(name: string, args: ArtifactSourceArgs, opts?: CustomResourceOptions);
@overload
def ArtifactSource(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   artifact_root: Optional[str] = None,
                   artifact_source_name: Optional[str] = None,
                   authentication: Optional[SasAuthenticationArgs] = None,
                   location: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   source_type: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None)
@overload
def ArtifactSource(resource_name: str,
                   args: ArtifactSourceArgs,
                   opts: Optional[ResourceOptions] = None)
func NewArtifactSource(ctx *Context, name string, args ArtifactSourceArgs, opts ...ResourceOption) (*ArtifactSource, error)
public ArtifactSource(string name, ArtifactSourceArgs args, CustomResourceOptions? opts = null)
public ArtifactSource(String name, ArtifactSourceArgs args)
public ArtifactSource(String name, ArtifactSourceArgs args, CustomResourceOptions options)
type: azure-native:deploymentmanager:ArtifactSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ArtifactSourceArgs
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 ArtifactSourceArgs
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 ArtifactSourceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ArtifactSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ArtifactSourceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

Authentication Pulumi.AzureNative.DeploymentManager.Inputs.SasAuthenticationArgs

The authentication method to use to access the artifact source.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

SourceType string

The type of artifact source used.

ArtifactRoot string

The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

ArtifactSourceName string

The name of the artifact source.

Location string

The geo-location where the resource lives

Tags Dictionary<string, string>

Resource tags.

Authentication SasAuthenticationArgs

The authentication method to use to access the artifact source.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

SourceType string

The type of artifact source used.

ArtifactRoot string

The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

ArtifactSourceName string

The name of the artifact source.

Location string

The geo-location where the resource lives

Tags map[string]string

Resource tags.

authentication SasAuthenticationArgs

The authentication method to use to access the artifact source.

resourceGroupName String

The name of the resource group. The name is case insensitive.

sourceType String

The type of artifact source used.

artifactRoot String

The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

artifactSourceName String

The name of the artifact source.

location String

The geo-location where the resource lives

tags Map<String,String>

Resource tags.

authentication SasAuthenticationArgs

The authentication method to use to access the artifact source.

resourceGroupName string

The name of the resource group. The name is case insensitive.

sourceType string

The type of artifact source used.

artifactRoot string

The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

artifactSourceName string

The name of the artifact source.

location string

The geo-location where the resource lives

tags {[key: string]: string}

Resource tags.

authentication SasAuthenticationArgs

The authentication method to use to access the artifact source.

resource_group_name str

The name of the resource group. The name is case insensitive.

source_type str

The type of artifact source used.

artifact_root str

The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

artifact_source_name str

The name of the artifact source.

location str

The geo-location where the resource lives

tags Mapping[str, str]

Resource tags.

authentication Property Map

The authentication method to use to access the artifact source.

resourceGroupName String

The name of the resource group. The name is case insensitive.

sourceType String

The type of artifact source used.

artifactRoot String

The path from the location that the 'authentication' property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

artifactSourceName String

The name of the artifact source.

location String

The geo-location where the resource lives

tags Map<String>

Resource tags.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

SasAuthentication

SasUri string

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

SasUri string

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

sasUri String

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

sasUri string

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

sas_uri str

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

sasUri String

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

SasAuthenticationResponse

SasUri string

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

SasUri string

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

sasUri String

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

sasUri string

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

sas_uri str

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

sasUri String

The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

Import

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

$ pulumi import azure-native:deploymentmanager:ArtifactSource myArtifactSource /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/artifactSources/{artifactSourceName} 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0