azuredevops.ServicehookStorageQueuePipelines
Explore with Pulumi AI
Manages a Service Hook Storage Queue Pipelines.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {name: "example-project"});
const exampleResourceGroup = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleAccount = new azure.storage.Account("example", {
name: "servicehookexamplestacc",
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const exampleQueue = new azure.storage.Queue("example", {
name: "examplequeue",
storageAccountName: exampleAccount.name,
});
const exampleServicehookStorageQueuePipelines = new azuredevops.ServicehookStorageQueuePipelines("example", {
projectId: example.id,
accountName: exampleAccount.name,
accountKey: exampleAccount.primaryAccessKey,
queueName: exampleQueue.name,
visiTimeout: 30,
runStateChangedEvent: {
runStateFilter: "Completed",
runResultFilter: "Succeeded",
},
});
import pulumi
import pulumi_azure as azure
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example", name="example-project")
example_resource_group = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_account = azure.storage.Account("example",
name="servicehookexamplestacc",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="LRS")
example_queue = azure.storage.Queue("example",
name="examplequeue",
storage_account_name=example_account.name)
example_servicehook_storage_queue_pipelines = azuredevops.ServicehookStorageQueuePipelines("example",
project_id=example.id,
account_name=example_account.name,
account_key=example_account.primary_access_key,
queue_name=example_queue.name,
visi_timeout=30,
run_state_changed_event={
"run_state_filter": "Completed",
"run_result_filter": "Succeeded",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
Name: pulumi.String("example-project"),
})
if err != nil {
return err
}
exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
Name: pulumi.String("servicehookexamplestacc"),
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
exampleQueue, err := storage.NewQueue(ctx, "example", &storage.QueueArgs{
Name: pulumi.String("examplequeue"),
StorageAccountName: exampleAccount.Name,
})
if err != nil {
return err
}
_, err = azuredevops.NewServicehookStorageQueuePipelines(ctx, "example", &azuredevops.ServicehookStorageQueuePipelinesArgs{
ProjectId: example.ID(),
AccountName: exampleAccount.Name,
AccountKey: exampleAccount.PrimaryAccessKey,
QueueName: exampleQueue.Name,
VisiTimeout: pulumi.Int(30),
RunStateChangedEvent: &azuredevops.ServicehookStorageQueuePipelinesRunStateChangedEventArgs{
RunStateFilter: pulumi.String("Completed"),
RunResultFilter: pulumi.String("Succeeded"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.Project("example", new()
{
Name = "example-project",
});
var exampleResourceGroup = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("example", new()
{
Name = "servicehookexamplestacc",
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
});
var exampleQueue = new Azure.Storage.Queue("example", new()
{
Name = "examplequeue",
StorageAccountName = exampleAccount.Name,
});
var exampleServicehookStorageQueuePipelines = new AzureDevOps.ServicehookStorageQueuePipelines("example", new()
{
ProjectId = example.Id,
AccountName = exampleAccount.Name,
AccountKey = exampleAccount.PrimaryAccessKey,
QueueName = exampleQueue.Name,
VisiTimeout = 30,
RunStateChangedEvent = new AzureDevOps.Inputs.ServicehookStorageQueuePipelinesRunStateChangedEventArgs
{
RunStateFilter = "Completed",
RunResultFilter = "Succeeded",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.Project;
import com.pulumi.azuredevops.ProjectArgs;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.storage.Queue;
import com.pulumi.azure.storage.QueueArgs;
import com.pulumi.azuredevops.ServicehookStorageQueuePipelines;
import com.pulumi.azuredevops.ServicehookStorageQueuePipelinesArgs;
import com.pulumi.azuredevops.inputs.ServicehookStorageQueuePipelinesRunStateChangedEventArgs;
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 example = new Project("example", ProjectArgs.builder()
.name("example-project")
.build());
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.name("servicehookexamplestacc")
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.accountTier("Standard")
.accountReplicationType("LRS")
.build());
var exampleQueue = new Queue("exampleQueue", QueueArgs.builder()
.name("examplequeue")
.storageAccountName(exampleAccount.name())
.build());
var exampleServicehookStorageQueuePipelines = new ServicehookStorageQueuePipelines("exampleServicehookStorageQueuePipelines", ServicehookStorageQueuePipelinesArgs.builder()
.projectId(example.id())
.accountName(exampleAccount.name())
.accountKey(exampleAccount.primaryAccessKey())
.queueName(exampleQueue.name())
.visiTimeout(30)
.runStateChangedEvent(ServicehookStorageQueuePipelinesRunStateChangedEventArgs.builder()
.runStateFilter("Completed")
.runResultFilter("Succeeded")
.build())
.build());
}
}
resources:
example:
type: azuredevops:Project
properties:
name: example-project
exampleResourceGroup:
type: azure:core:ResourceGroup
name: example
properties:
name: example-resources
location: West Europe
exampleAccount:
type: azure:storage:Account
name: example
properties:
name: servicehookexamplestacc
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
accountTier: Standard
accountReplicationType: LRS
exampleQueue:
type: azure:storage:Queue
name: example
properties:
name: examplequeue
storageAccountName: ${exampleAccount.name}
exampleServicehookStorageQueuePipelines:
type: azuredevops:ServicehookStorageQueuePipelines
name: example
properties:
projectId: ${example.id}
accountName: ${exampleAccount.name}
accountKey: ${exampleAccount.primaryAccessKey}
queueName: ${exampleQueue.name}
visiTimeout: 30
runStateChangedEvent:
runStateFilter: Completed
runResultFilter: Succeeded
An empty configuration block will occur in all events triggering the associated action.
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.ServicehookStorageQueuePipelines("example", {
projectId: exampleAzuredevopsProject.id,
accountName: exampleAzurermStorageAccount.name,
accountKey: exampleAzurermStorageAccount.primaryAccessKey,
queueName: exampleAzurermStorageQueue.name,
visiTimeout: 30,
runStateChangedEvent: {},
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.ServicehookStorageQueuePipelines("example",
project_id=example_azuredevops_project["id"],
account_name=example_azurerm_storage_account["name"],
account_key=example_azurerm_storage_account["primaryAccessKey"],
queue_name=example_azurerm_storage_queue["name"],
visi_timeout=30,
run_state_changed_event={})
package main
import (
"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azuredevops.NewServicehookStorageQueuePipelines(ctx, "example", &azuredevops.ServicehookStorageQueuePipelinesArgs{
ProjectId: pulumi.Any(exampleAzuredevopsProject.Id),
AccountName: pulumi.Any(exampleAzurermStorageAccount.Name),
AccountKey: pulumi.Any(exampleAzurermStorageAccount.PrimaryAccessKey),
QueueName: pulumi.Any(exampleAzurermStorageQueue.Name),
VisiTimeout: pulumi.Int(30),
RunStateChangedEvent: nil,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() =>
{
var example = new AzureDevOps.ServicehookStorageQueuePipelines("example", new()
{
ProjectId = exampleAzuredevopsProject.Id,
AccountName = exampleAzurermStorageAccount.Name,
AccountKey = exampleAzurermStorageAccount.PrimaryAccessKey,
QueueName = exampleAzurermStorageQueue.Name,
VisiTimeout = 30,
RunStateChangedEvent = null,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.ServicehookStorageQueuePipelines;
import com.pulumi.azuredevops.ServicehookStorageQueuePipelinesArgs;
import com.pulumi.azuredevops.inputs.ServicehookStorageQueuePipelinesRunStateChangedEventArgs;
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 example = new ServicehookStorageQueuePipelines("example", ServicehookStorageQueuePipelinesArgs.builder()
.projectId(exampleAzuredevopsProject.id())
.accountName(exampleAzurermStorageAccount.name())
.accountKey(exampleAzurermStorageAccount.primaryAccessKey())
.queueName(exampleAzurermStorageQueue.name())
.visiTimeout(30)
.runStateChangedEvent()
.build());
}
}
resources:
example:
type: azuredevops:ServicehookStorageQueuePipelines
properties:
projectId: ${exampleAzuredevopsProject.id}
accountName: ${exampleAzurermStorageAccount.name}
accountKey: ${exampleAzurermStorageAccount.primaryAccessKey}
queueName: ${exampleAzurermStorageQueue.name}
visiTimeout: 30
runStateChangedEvent: {}
Create ServicehookStorageQueuePipelines Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServicehookStorageQueuePipelines(name: string, args: ServicehookStorageQueuePipelinesArgs, opts?: CustomResourceOptions);
@overload
def ServicehookStorageQueuePipelines(resource_name: str,
args: ServicehookStorageQueuePipelinesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServicehookStorageQueuePipelines(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_key: Optional[str] = None,
account_name: Optional[str] = None,
project_id: Optional[str] = None,
queue_name: Optional[str] = None,
run_state_changed_event: Optional[ServicehookStorageQueuePipelinesRunStateChangedEventArgs] = None,
stage_state_changed_event: Optional[ServicehookStorageQueuePipelinesStageStateChangedEventArgs] = None,
ttl: Optional[int] = None,
visi_timeout: Optional[int] = None)
func NewServicehookStorageQueuePipelines(ctx *Context, name string, args ServicehookStorageQueuePipelinesArgs, opts ...ResourceOption) (*ServicehookStorageQueuePipelines, error)
public ServicehookStorageQueuePipelines(string name, ServicehookStorageQueuePipelinesArgs args, CustomResourceOptions? opts = null)
public ServicehookStorageQueuePipelines(String name, ServicehookStorageQueuePipelinesArgs args)
public ServicehookStorageQueuePipelines(String name, ServicehookStorageQueuePipelinesArgs args, CustomResourceOptions options)
type: azuredevops:ServicehookStorageQueuePipelines
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 ServicehookStorageQueuePipelinesArgs
- 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 ServicehookStorageQueuePipelinesArgs
- 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 ServicehookStorageQueuePipelinesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServicehookStorageQueuePipelinesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServicehookStorageQueuePipelinesArgs
- 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 servicehookStorageQueuePipelinesResource = new AzureDevOps.ServicehookStorageQueuePipelines("servicehookStorageQueuePipelinesResource", new()
{
AccountKey = "string",
AccountName = "string",
ProjectId = "string",
QueueName = "string",
RunStateChangedEvent = new AzureDevOps.Inputs.ServicehookStorageQueuePipelinesRunStateChangedEventArgs
{
PipelineId = "string",
RunResultFilter = "string",
RunStateFilter = "string",
},
StageStateChangedEvent = new AzureDevOps.Inputs.ServicehookStorageQueuePipelinesStageStateChangedEventArgs
{
PipelineId = "string",
StageName = "string",
StageResultFilter = "string",
StageStateFilter = "string",
},
Ttl = 0,
VisiTimeout = 0,
});
example, err := azuredevops.NewServicehookStorageQueuePipelines(ctx, "servicehookStorageQueuePipelinesResource", &azuredevops.ServicehookStorageQueuePipelinesArgs{
AccountKey: pulumi.String("string"),
AccountName: pulumi.String("string"),
ProjectId: pulumi.String("string"),
QueueName: pulumi.String("string"),
RunStateChangedEvent: &azuredevops.ServicehookStorageQueuePipelinesRunStateChangedEventArgs{
PipelineId: pulumi.String("string"),
RunResultFilter: pulumi.String("string"),
RunStateFilter: pulumi.String("string"),
},
StageStateChangedEvent: &azuredevops.ServicehookStorageQueuePipelinesStageStateChangedEventArgs{
PipelineId: pulumi.String("string"),
StageName: pulumi.String("string"),
StageResultFilter: pulumi.String("string"),
StageStateFilter: pulumi.String("string"),
},
Ttl: pulumi.Int(0),
VisiTimeout: pulumi.Int(0),
})
var servicehookStorageQueuePipelinesResource = new ServicehookStorageQueuePipelines("servicehookStorageQueuePipelinesResource", ServicehookStorageQueuePipelinesArgs.builder()
.accountKey("string")
.accountName("string")
.projectId("string")
.queueName("string")
.runStateChangedEvent(ServicehookStorageQueuePipelinesRunStateChangedEventArgs.builder()
.pipelineId("string")
.runResultFilter("string")
.runStateFilter("string")
.build())
.stageStateChangedEvent(ServicehookStorageQueuePipelinesStageStateChangedEventArgs.builder()
.pipelineId("string")
.stageName("string")
.stageResultFilter("string")
.stageStateFilter("string")
.build())
.ttl(0)
.visiTimeout(0)
.build());
servicehook_storage_queue_pipelines_resource = azuredevops.ServicehookStorageQueuePipelines("servicehookStorageQueuePipelinesResource",
account_key="string",
account_name="string",
project_id="string",
queue_name="string",
run_state_changed_event={
"pipelineId": "string",
"runResultFilter": "string",
"runStateFilter": "string",
},
stage_state_changed_event={
"pipelineId": "string",
"stageName": "string",
"stageResultFilter": "string",
"stageStateFilter": "string",
},
ttl=0,
visi_timeout=0)
const servicehookStorageQueuePipelinesResource = new azuredevops.ServicehookStorageQueuePipelines("servicehookStorageQueuePipelinesResource", {
accountKey: "string",
accountName: "string",
projectId: "string",
queueName: "string",
runStateChangedEvent: {
pipelineId: "string",
runResultFilter: "string",
runStateFilter: "string",
},
stageStateChangedEvent: {
pipelineId: "string",
stageName: "string",
stageResultFilter: "string",
stageStateFilter: "string",
},
ttl: 0,
visiTimeout: 0,
});
type: azuredevops:ServicehookStorageQueuePipelines
properties:
accountKey: string
accountName: string
projectId: string
queueName: string
runStateChangedEvent:
pipelineId: string
runResultFilter: string
runStateFilter: string
stageStateChangedEvent:
pipelineId: string
stageName: string
stageResultFilter: string
stageStateFilter: string
ttl: 0
visiTimeout: 0
ServicehookStorageQueuePipelines 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 ServicehookStorageQueuePipelines resource accepts the following input properties:
- Account
Key string - A valid account key from the queue's storage account.
- Account
Name string - The queue's storage account name.
- Project
Id string - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- Queue
Name string - The name of the queue that will store the events.
- Run
State Pulumi.Changed Event Azure Dev Ops. Inputs. Servicehook Storage Queue Pipelines Run State Changed Event - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- Stage
State Pulumi.Changed Event Azure Dev Ops. Inputs. Servicehook Storage Queue Pipelines Stage State Changed Event A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- Ttl int
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - Visi
Timeout int - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- Account
Key string - A valid account key from the queue's storage account.
- Account
Name string - The queue's storage account name.
- Project
Id string - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- Queue
Name string - The name of the queue that will store the events.
- Run
State ServicehookChanged Event Storage Queue Pipelines Run State Changed Event Args - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- Stage
State ServicehookChanged Event Storage Queue Pipelines Stage State Changed Event Args A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- Ttl int
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - Visi
Timeout int - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- account
Key String - A valid account key from the queue's storage account.
- account
Name String - The queue's storage account name.
- project
Id String - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- queue
Name String - The name of the queue that will store the events.
- run
State ServicehookChanged Event Storage Queue Pipelines Run State Changed Event - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- stage
State ServicehookChanged Event Storage Queue Pipelines Stage State Changed Event A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- ttl Integer
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - visi
Timeout Integer - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- account
Key string - A valid account key from the queue's storage account.
- account
Name string - The queue's storage account name.
- project
Id string - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- queue
Name string - The name of the queue that will store the events.
- run
State ServicehookChanged Event Storage Queue Pipelines Run State Changed Event - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- stage
State ServicehookChanged Event Storage Queue Pipelines Stage State Changed Event A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- ttl number
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - visi
Timeout number - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- account_
key str - A valid account key from the queue's storage account.
- account_
name str - The queue's storage account name.
- project_
id str - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- queue_
name str - The name of the queue that will store the events.
- run_
state_ Servicehookchanged_ event Storage Queue Pipelines Run State Changed Event Args - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- stage_
state_ Servicehookchanged_ event Storage Queue Pipelines Stage State Changed Event Args A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- ttl int
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - visi_
timeout int - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- account
Key String - A valid account key from the queue's storage account.
- account
Name String - The queue's storage account name.
- project
Id String - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- queue
Name String - The name of the queue that will store the events.
- run
State Property MapChanged Event - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- stage
State Property MapChanged Event A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- ttl Number
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - visi
Timeout Number - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServicehookStorageQueuePipelines resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ServicehookStorageQueuePipelines Resource
Get an existing ServicehookStorageQueuePipelines resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServicehookStorageQueuePipelinesState, opts?: CustomResourceOptions): ServicehookStorageQueuePipelines
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_key: Optional[str] = None,
account_name: Optional[str] = None,
project_id: Optional[str] = None,
queue_name: Optional[str] = None,
run_state_changed_event: Optional[ServicehookStorageQueuePipelinesRunStateChangedEventArgs] = None,
stage_state_changed_event: Optional[ServicehookStorageQueuePipelinesStageStateChangedEventArgs] = None,
ttl: Optional[int] = None,
visi_timeout: Optional[int] = None) -> ServicehookStorageQueuePipelines
func GetServicehookStorageQueuePipelines(ctx *Context, name string, id IDInput, state *ServicehookStorageQueuePipelinesState, opts ...ResourceOption) (*ServicehookStorageQueuePipelines, error)
public static ServicehookStorageQueuePipelines Get(string name, Input<string> id, ServicehookStorageQueuePipelinesState? state, CustomResourceOptions? opts = null)
public static ServicehookStorageQueuePipelines get(String name, Output<String> id, ServicehookStorageQueuePipelinesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Key string - A valid account key from the queue's storage account.
- Account
Name string - The queue's storage account name.
- Project
Id string - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- Queue
Name string - The name of the queue that will store the events.
- Run
State Pulumi.Changed Event Azure Dev Ops. Inputs. Servicehook Storage Queue Pipelines Run State Changed Event - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- Stage
State Pulumi.Changed Event Azure Dev Ops. Inputs. Servicehook Storage Queue Pipelines Stage State Changed Event A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- Ttl int
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - Visi
Timeout int - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- Account
Key string - A valid account key from the queue's storage account.
- Account
Name string - The queue's storage account name.
- Project
Id string - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- Queue
Name string - The name of the queue that will store the events.
- Run
State ServicehookChanged Event Storage Queue Pipelines Run State Changed Event Args - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- Stage
State ServicehookChanged Event Storage Queue Pipelines Stage State Changed Event Args A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- Ttl int
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - Visi
Timeout int - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- account
Key String - A valid account key from the queue's storage account.
- account
Name String - The queue's storage account name.
- project
Id String - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- queue
Name String - The name of the queue that will store the events.
- run
State ServicehookChanged Event Storage Queue Pipelines Run State Changed Event - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- stage
State ServicehookChanged Event Storage Queue Pipelines Stage State Changed Event A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- ttl Integer
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - visi
Timeout Integer - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- account
Key string - A valid account key from the queue's storage account.
- account
Name string - The queue's storage account name.
- project
Id string - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- queue
Name string - The name of the queue that will store the events.
- run
State ServicehookChanged Event Storage Queue Pipelines Run State Changed Event - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- stage
State ServicehookChanged Event Storage Queue Pipelines Stage State Changed Event A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- ttl number
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - visi
Timeout number - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- account_
key str - A valid account key from the queue's storage account.
- account_
name str - The queue's storage account name.
- project_
id str - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- queue_
name str - The name of the queue that will store the events.
- run_
state_ Servicehookchanged_ event Storage Queue Pipelines Run State Changed Event Args - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- stage_
state_ Servicehookchanged_ event Storage Queue Pipelines Stage State Changed Event Args A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- ttl int
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - visi_
timeout int - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
- account
Key String - A valid account key from the queue's storage account.
- account
Name String - The queue's storage account name.
- project
Id String - The ID of the associated project. Changing this forces a new Service Hook Storage Queue Pipelines to be created.
- queue
Name String - The name of the queue that will store the events.
- run
State Property MapChanged Event - A
run_state_changed_event
block as defined below. Conflicts withstage_state_changed_event
- stage
State Property MapChanged Event A
stage_state_changed_event
block as defined below. Conflicts withrun_state_changed_event
Note At least one of
run_state_changed_event
andstage_state_changed_event
has to be set.- ttl Number
- event time-to-live - the duration a message can remain in the queue before it's automatically removed. Defaults to
604800
. - visi
Timeout Number - event visibility timout - how long a message is invisible to other consumers after it's been dequeued. Defaults to
0
.
Supporting Types
ServicehookStorageQueuePipelinesRunStateChangedEvent, ServicehookStorageQueuePipelinesRunStateChangedEventArgs
- Pipeline
Id string - The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.
- Run
Result stringFilter - Which run result should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all results will trigger the event. - Run
State stringFilter - Which run state should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all states will trigger the event.
- Pipeline
Id string - The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.
- Run
Result stringFilter - Which run result should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all results will trigger the event. - Run
State stringFilter - Which run state should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all states will trigger the event.
- pipeline
Id String - The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.
- run
Result StringFilter - Which run result should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all results will trigger the event. - run
State StringFilter - Which run state should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all states will trigger the event.
- pipeline
Id string - The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.
- run
Result stringFilter - Which run result should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all results will trigger the event. - run
State stringFilter - Which run state should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all states will trigger the event.
- pipeline_
id str - The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.
- run_
result_ strfilter - Which run result should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all results will trigger the event. - run_
state_ strfilter - Which run state should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all states will trigger the event.
- pipeline
Id String - The pipeline ID that will generate an event. If not specified, all pipelines in the project will trigger the event.
- run
Result StringFilter - Which run result should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all results will trigger the event. - run
State StringFilter - Which run state should generate an event. Only valid if published_event is
RunStateChanged
. If not specified, all states will trigger the event.
ServicehookStorageQueuePipelinesStageStateChangedEvent, ServicehookStorageQueuePipelinesStageStateChangedEventArgs
- Pipeline
Id string - The pipeline ID that will generate an event.
- Stage
Name string - Which stage should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all stages will trigger the event. - Stage
Result stringFilter - Which stage result should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all results will trigger the event. - Stage
State stringFilter - Which stage state should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all states will trigger the event.
- Pipeline
Id string - The pipeline ID that will generate an event.
- Stage
Name string - Which stage should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all stages will trigger the event. - Stage
Result stringFilter - Which stage result should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all results will trigger the event. - Stage
State stringFilter - Which stage state should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all states will trigger the event.
- pipeline
Id String - The pipeline ID that will generate an event.
- stage
Name String - Which stage should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all stages will trigger the event. - stage
Result StringFilter - Which stage result should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all results will trigger the event. - stage
State StringFilter - Which stage state should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all states will trigger the event.
- pipeline
Id string - The pipeline ID that will generate an event.
- stage
Name string - Which stage should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all stages will trigger the event. - stage
Result stringFilter - Which stage result should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all results will trigger the event. - stage
State stringFilter - Which stage state should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all states will trigger the event.
- pipeline_
id str - The pipeline ID that will generate an event.
- stage_
name str - Which stage should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all stages will trigger the event. - stage_
result_ strfilter - Which stage result should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all results will trigger the event. - stage_
state_ strfilter - Which stage state should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all states will trigger the event.
- pipeline
Id String - The pipeline ID that will generate an event.
- stage
Name String - Which stage should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all stages will trigger the event. - stage
Result StringFilter - Which stage result should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all results will trigger the event. - stage
State StringFilter - Which stage state should generate an event. Only valid if published_event is
StageStateChanged
. If not specified, all states will trigger the event.
Import
Service Hook Storage Queue Pipeliness can be imported using the resource id
, e.g.
$ pulumi import azuredevops:index/servicehookStorageQueuePipelines:ServicehookStorageQueuePipelines example 00000000-0000-0000-0000-000000000000
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azuredevops
Terraform Provider.