1. Packages
  2. Azure Native v1
  3. API Docs
  4. devhub
  5. getWorkflow
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.devhub.getWorkflow

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Resource representation of a workflow API Version: 2022-04-01-preview.

    Using getWorkflow

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorkflow(args: GetWorkflowArgs, opts?: InvokeOptions): Promise<GetWorkflowResult>
    function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: InvokeOptions): Output<GetWorkflowResult>
    def get_workflow(resource_group_name: Optional[str] = None,
                     workflow_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetWorkflowResult
    def get_workflow_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                     workflow_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetWorkflowResult]
    func LookupWorkflow(ctx *Context, args *LookupWorkflowArgs, opts ...InvokeOption) (*LookupWorkflowResult, error)
    func LookupWorkflowOutput(ctx *Context, args *LookupWorkflowOutputArgs, opts ...InvokeOption) LookupWorkflowResultOutput

    > Note: This function is named LookupWorkflow in the Go SDK.

    public static class GetWorkflow 
    {
        public static Task<GetWorkflowResult> InvokeAsync(GetWorkflowArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkflowResult> Invoke(GetWorkflowInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkflowResult> getWorkflow(GetWorkflowArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:devhub:getWorkflow
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkflowName string
    The name of the workflow resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkflowName string
    The name of the workflow resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workflowName String
    The name of the workflow resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workflowName string
    The name of the workflow resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workflow_name str
    The name of the workflow resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workflowName String
    The name of the workflow resource.

    getWorkflow Result

    The following output properties are available:

    AuthStatus string
    Determines the authorization status of requests.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    PrStatus string
    The status of the Pull Request submitted against the users repository.
    PrURL string
    The URL to the Pull Request submitted against the users repository.
    PullNumber int
    The number associated with the submitted pull request.
    SystemData Pulumi.AzureNative.DevHub.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Acr Pulumi.AzureNative.DevHub.Outputs.ACRResponse
    Information on the azure container registry
    AksResourceId string
    The Azure Kubernetes Cluster Resource the application will be deployed to.
    BranchName string
    Repository Branch Name
    DeploymentProperties Pulumi.AzureNative.DevHub.Outputs.DeploymentPropertiesResponse
    DockerBuildContext string
    Path to Dockerfile Build Context within the repository.
    Dockerfile string
    Path to the Dockerfile within the repository.
    LastWorkflowRun Pulumi.AzureNative.DevHub.Outputs.WorkflowRunResponse
    Namespace string
    Kubernetes namespace the application is deployed to.
    OidcCredentials Pulumi.AzureNative.DevHub.Outputs.GitHubWorkflowProfileResponseOidcCredentials
    The fields needed for OIDC with GitHub.
    RepositoryName string
    Repository Name
    RepositoryOwner string
    Repository Owner
    Tags Dictionary<string, string>
    Resource tags.
    AuthStatus string
    Determines the authorization status of requests.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    PrStatus string
    The status of the Pull Request submitted against the users repository.
    PrURL string
    The URL to the Pull Request submitted against the users repository.
    PullNumber int
    The number associated with the submitted pull request.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Acr ACRResponse
    Information on the azure container registry
    AksResourceId string
    The Azure Kubernetes Cluster Resource the application will be deployed to.
    BranchName string
    Repository Branch Name
    DeploymentProperties DeploymentPropertiesResponse
    DockerBuildContext string
    Path to Dockerfile Build Context within the repository.
    Dockerfile string
    Path to the Dockerfile within the repository.
    LastWorkflowRun WorkflowRunResponse
    Namespace string
    Kubernetes namespace the application is deployed to.
    OidcCredentials GitHubWorkflowProfileResponseOidcCredentials
    The fields needed for OIDC with GitHub.
    RepositoryName string
    Repository Name
    RepositoryOwner string
    Repository Owner
    Tags map[string]string
    Resource tags.
    authStatus String
    Determines the authorization status of requests.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    prStatus String
    The status of the Pull Request submitted against the users repository.
    prURL String
    The URL to the Pull Request submitted against the users repository.
    pullNumber Integer
    The number associated with the submitted pull request.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    acr ACRResponse
    Information on the azure container registry
    aksResourceId String
    The Azure Kubernetes Cluster Resource the application will be deployed to.
    branchName String
    Repository Branch Name
    deploymentProperties DeploymentPropertiesResponse
    dockerBuildContext String
    Path to Dockerfile Build Context within the repository.
    dockerfile String
    Path to the Dockerfile within the repository.
    lastWorkflowRun WorkflowRunResponse
    namespace String
    Kubernetes namespace the application is deployed to.
    oidcCredentials GitHubWorkflowProfileResponseOidcCredentials
    The fields needed for OIDC with GitHub.
    repositoryName String
    Repository Name
    repositoryOwner String
    Repository Owner
    tags Map<String,String>
    Resource tags.
    authStatus string
    Determines the authorization status of requests.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location string
    The geo-location where the resource lives
    name string
    The name of the resource
    prStatus string
    The status of the Pull Request submitted against the users repository.
    prURL string
    The URL to the Pull Request submitted against the users repository.
    pullNumber number
    The number associated with the submitted pull request.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    acr ACRResponse
    Information on the azure container registry
    aksResourceId string
    The Azure Kubernetes Cluster Resource the application will be deployed to.
    branchName string
    Repository Branch Name
    deploymentProperties DeploymentPropertiesResponse
    dockerBuildContext string
    Path to Dockerfile Build Context within the repository.
    dockerfile string
    Path to the Dockerfile within the repository.
    lastWorkflowRun WorkflowRunResponse
    namespace string
    Kubernetes namespace the application is deployed to.
    oidcCredentials GitHubWorkflowProfileResponseOidcCredentials
    The fields needed for OIDC with GitHub.
    repositoryName string
    Repository Name
    repositoryOwner string
    Repository Owner
    tags {[key: string]: string}
    Resource tags.
    auth_status str
    Determines the authorization status of requests.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location str
    The geo-location where the resource lives
    name str
    The name of the resource
    pr_status str
    The status of the Pull Request submitted against the users repository.
    pr_url str
    The URL to the Pull Request submitted against the users repository.
    pull_number int
    The number associated with the submitted pull request.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    acr ACRResponse
    Information on the azure container registry
    aks_resource_id str
    The Azure Kubernetes Cluster Resource the application will be deployed to.
    branch_name str
    Repository Branch Name
    deployment_properties DeploymentPropertiesResponse
    docker_build_context str
    Path to Dockerfile Build Context within the repository.
    dockerfile str
    Path to the Dockerfile within the repository.
    last_workflow_run WorkflowRunResponse
    namespace str
    Kubernetes namespace the application is deployed to.
    oidc_credentials GitHubWorkflowProfileResponseOidcCredentials
    The fields needed for OIDC with GitHub.
    repository_name str
    Repository Name
    repository_owner str
    Repository Owner
    tags Mapping[str, str]
    Resource tags.
    authStatus String
    Determines the authorization status of requests.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    prStatus String
    The status of the Pull Request submitted against the users repository.
    prURL String
    The URL to the Pull Request submitted against the users repository.
    pullNumber Number
    The number associated with the submitted pull request.
    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"
    acr Property Map
    Information on the azure container registry
    aksResourceId String
    The Azure Kubernetes Cluster Resource the application will be deployed to.
    branchName String
    Repository Branch Name
    deploymentProperties Property Map
    dockerBuildContext String
    Path to Dockerfile Build Context within the repository.
    dockerfile String
    Path to the Dockerfile within the repository.
    lastWorkflowRun Property Map
    namespace String
    Kubernetes namespace the application is deployed to.
    oidcCredentials Property Map
    The fields needed for OIDC with GitHub.
    repositoryName String
    Repository Name
    repositoryOwner String
    Repository Owner
    tags Map<String>
    Resource tags.

    Supporting Types

    ACRResponse

    AcrRegistryName string
    ACR registry
    AcrRepositoryName string
    ACR repository
    AcrResourceGroup string
    ACR resource group
    AcrSubscriptionId string
    ACR subscription id
    AcrRegistryName string
    ACR registry
    AcrRepositoryName string
    ACR repository
    AcrResourceGroup string
    ACR resource group
    AcrSubscriptionId string
    ACR subscription id
    acrRegistryName String
    ACR registry
    acrRepositoryName String
    ACR repository
    acrResourceGroup String
    ACR resource group
    acrSubscriptionId String
    ACR subscription id
    acrRegistryName string
    ACR registry
    acrRepositoryName string
    ACR repository
    acrResourceGroup string
    ACR resource group
    acrSubscriptionId string
    ACR subscription id
    acr_registry_name str
    ACR registry
    acr_repository_name str
    ACR repository
    acr_resource_group str
    ACR resource group
    acr_subscription_id str
    ACR subscription id
    acrRegistryName String
    ACR registry
    acrRepositoryName String
    ACR repository
    acrResourceGroup String
    ACR resource group
    acrSubscriptionId String
    ACR subscription id

    DeploymentPropertiesResponse

    HelmChartPath string
    Helm chart directory path in repository.
    HelmValues string
    Helm Values.yaml file location in repository.
    KubeManifestLocations List<string>
    ManifestType string
    Determines the type of manifests within the repository.
    Overrides Dictionary<string, string>
    Manifest override values.
    HelmChartPath string
    Helm chart directory path in repository.
    HelmValues string
    Helm Values.yaml file location in repository.
    KubeManifestLocations []string
    ManifestType string
    Determines the type of manifests within the repository.
    Overrides map[string]string
    Manifest override values.
    helmChartPath String
    Helm chart directory path in repository.
    helmValues String
    Helm Values.yaml file location in repository.
    kubeManifestLocations List<String>
    manifestType String
    Determines the type of manifests within the repository.
    overrides Map<String,String>
    Manifest override values.
    helmChartPath string
    Helm chart directory path in repository.
    helmValues string
    Helm Values.yaml file location in repository.
    kubeManifestLocations string[]
    manifestType string
    Determines the type of manifests within the repository.
    overrides {[key: string]: string}
    Manifest override values.
    helm_chart_path str
    Helm chart directory path in repository.
    helm_values str
    Helm Values.yaml file location in repository.
    kube_manifest_locations Sequence[str]
    manifest_type str
    Determines the type of manifests within the repository.
    overrides Mapping[str, str]
    Manifest override values.
    helmChartPath String
    Helm chart directory path in repository.
    helmValues String
    Helm Values.yaml file location in repository.
    kubeManifestLocations List<String>
    manifestType String
    Determines the type of manifests within the repository.
    overrides Map<String>
    Manifest override values.

    GitHubWorkflowProfileResponseOidcCredentials

    AzureClientId string
    Azure Application Client ID
    AzureTenantId string
    Azure Directory (tenant) ID
    AzureClientId string
    Azure Application Client ID
    AzureTenantId string
    Azure Directory (tenant) ID
    azureClientId String
    Azure Application Client ID
    azureTenantId String
    Azure Directory (tenant) ID
    azureClientId string
    Azure Application Client ID
    azureTenantId string
    Azure Directory (tenant) ID
    azure_client_id str
    Azure Application Client ID
    azure_tenant_id str
    Azure Directory (tenant) ID
    azureClientId String
    Azure Application Client ID
    azureTenantId String
    Azure Directory (tenant) ID

    SystemDataResponse

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

    WorkflowRunResponse

    LastRunAt string
    The timestamp of the last workflow run.
    Succeeded bool
    Describes if the workflow run succeeded.
    WorkflowRunURL string
    URL to the run of the workflow.
    LastRunAt string
    The timestamp of the last workflow run.
    Succeeded bool
    Describes if the workflow run succeeded.
    WorkflowRunURL string
    URL to the run of the workflow.
    lastRunAt String
    The timestamp of the last workflow run.
    succeeded Boolean
    Describes if the workflow run succeeded.
    workflowRunURL String
    URL to the run of the workflow.
    lastRunAt string
    The timestamp of the last workflow run.
    succeeded boolean
    Describes if the workflow run succeeded.
    workflowRunURL string
    URL to the run of the workflow.
    last_run_at str
    The timestamp of the last workflow run.
    succeeded bool
    Describes if the workflow run succeeded.
    workflow_run_url str
    URL to the run of the workflow.
    lastRunAt String
    The timestamp of the last workflow run.
    succeeded Boolean
    Describes if the workflow run succeeded.
    workflowRunURL String
    URL to the run of the workflow.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi