Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.15.0 published on Wednesday, Aug 17, 2022 by Pulumi

getStandard

Use this data source to access information about an existing Logic App Standard instance.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var example = Azure.LogicApps.GetStandard.Invoke(new()
    {
        Name = "logicappstd",
        ResourceGroupName = "example-rg",
    });

    return new Dictionary<string, object?>
    {
        ["id"] = example.Apply(getStandardResult => getStandardResult.Id),
    };
});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/logicapps"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := logicapps.LookupStandard(ctx, &logicapps.LookupStandardArgs{
			Name:              "logicappstd",
			ResourceGroupName: "example-rg",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.logicapps.LogicappsFunctions;
import com.pulumi.azure.logicapps.inputs.GetStandardArgs;
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) {
        final var example = LogicappsFunctions.getStandard(GetStandardArgs.builder()
            .name("logicappstd")
            .resourceGroupName("example-rg")
            .build());

        ctx.export("id", example.applyValue(getStandardResult -> getStandardResult.id()));
    }
}
import pulumi
import pulumi_azure as azure

example = azure.logicapps.get_standard(name="logicappstd",
    resource_group_name="example-rg")
pulumi.export("id", example.id)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.logicapps.getStandard({
    name: "logicappstd",
    resourceGroupName: "example-rg",
});
export const id = example.then(example => example.id);
variables:
  example:
    Fn::Invoke:
      Function: azure:logicapps:getStandard
      Arguments:
        name: logicappstd
        resourceGroupName: example-rg
outputs:
  id: ${example.id}

Using getStandard

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 getStandard(args: GetStandardArgs, opts?: InvokeOptions): Promise<GetStandardResult>
function getStandardOutput(args: GetStandardOutputArgs, opts?: InvokeOptions): Output<GetStandardResult>
def get_standard(name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 site_config: Optional[GetStandardSiteConfig] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 opts: Optional[InvokeOptions] = None) -> GetStandardResult
def get_standard_output(name: Optional[pulumi.Input[str]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 site_config: Optional[pulumi.Input[GetStandardSiteConfigArgs]] = None,
                 tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetStandardResult]
func LookupStandard(ctx *Context, args *LookupStandardArgs, opts ...InvokeOption) (*LookupStandardResult, error)
func LookupStandardOutput(ctx *Context, args *LookupStandardOutputArgs, opts ...InvokeOption) LookupStandardResultOutput

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

public static class GetStandard 
{
    public static Task<GetStandardResult> InvokeAsync(GetStandardArgs args, InvokeOptions? opts = null)
    public static Output<GetStandardResult> Invoke(GetStandardInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStandardResult> getStandard(GetStandardArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure:logicapps/getStandard:getStandard
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

The name of this Logic App.

ResourceGroupName string

The name of the Resource Group where the Logic App exists.

SiteConfig GetStandardSiteConfig
Tags Dictionary<string, string>
Name string

The name of this Logic App.

ResourceGroupName string

The name of the Resource Group where the Logic App exists.

SiteConfig GetStandardSiteConfig
Tags map[string]string
name String

The name of this Logic App.

resourceGroupName String

The name of the Resource Group where the Logic App exists.

siteConfig GetStandardSiteConfig
tags Map<String,String>
name string

The name of this Logic App.

resourceGroupName string

The name of the Resource Group where the Logic App exists.

siteConfig GetStandardSiteConfig
tags {[key: string]: string}
name str

The name of this Logic App.

resource_group_name str

The name of the Resource Group where the Logic App exists.

site_config GetStandardSiteConfig
tags Mapping[str, str]
name String

The name of this Logic App.

resourceGroupName String

The name of the Resource Group where the Logic App exists.

siteConfig Property Map
tags Map<String>

getStandard Result

The following output properties are available:

AppServicePlanId string
AppSettings Dictionary<string, string>
BundleVersion string
ClientAffinityEnabled bool
ClientCertificateMode string
ConnectionStrings List<GetStandardConnectionString>
CustomDomainVerificationId string
DefaultHostname string
Enabled bool
HttpsOnly bool
Id string

The provider-assigned unique ID for this managed resource.

Identities List<GetStandardIdentity>

An identity block as defined below.

Kind string
Location string

The Azure location where the Logic App Standard exists.

Name string
OutboundIpAddresses string
PossibleOutboundIpAddresses string
ResourceGroupName string
SiteConfig GetStandardSiteConfig
SiteCredentials List<GetStandardSiteCredential>
StorageAccountAccessKey string
StorageAccountName string
StorageAccountShareName string
UseExtensionBundle bool
Version string
Tags Dictionary<string, string>
AppServicePlanId string
AppSettings map[string]string
BundleVersion string
ClientAffinityEnabled bool
ClientCertificateMode string
ConnectionStrings []GetStandardConnectionString
CustomDomainVerificationId string
DefaultHostname string
Enabled bool
HttpsOnly bool
Id string

The provider-assigned unique ID for this managed resource.

Identities []GetStandardIdentity

An identity block as defined below.

Kind string
Location string

The Azure location where the Logic App Standard exists.

Name string
OutboundIpAddresses string
PossibleOutboundIpAddresses string
ResourceGroupName string
SiteConfig GetStandardSiteConfig
SiteCredentials []GetStandardSiteCredential
StorageAccountAccessKey string
StorageAccountName string
StorageAccountShareName string
UseExtensionBundle bool
Version string
Tags map[string]string
appServicePlanId String
appSettings Map<String,String>
bundleVersion String
clientAffinityEnabled Boolean
clientCertificateMode String
connectionStrings List<GetStandardConnectionString>
customDomainVerificationId String
defaultHostname String
enabled Boolean
httpsOnly Boolean
id String

The provider-assigned unique ID for this managed resource.

identities List<GetStandardIdentity>

An identity block as defined below.

kind String
location String

The Azure location where the Logic App Standard exists.

name String
outboundIpAddresses String
possibleOutboundIpAddresses String
resourceGroupName String
siteConfig GetStandardSiteConfig
siteCredentials List<GetStandardSiteCredential>
storageAccountAccessKey String
storageAccountName String
storageAccountShareName String
useExtensionBundle Boolean
version String
tags Map<String,String>
appServicePlanId string
appSettings {[key: string]: string}
bundleVersion string
clientAffinityEnabled boolean
clientCertificateMode string
connectionStrings GetStandardConnectionString[]
customDomainVerificationId string
defaultHostname string
enabled boolean
httpsOnly boolean
id string

The provider-assigned unique ID for this managed resource.

identities GetStandardIdentity[]

An identity block as defined below.

kind string
location string

The Azure location where the Logic App Standard exists.

name string
outboundIpAddresses string
possibleOutboundIpAddresses string
resourceGroupName string
siteConfig GetStandardSiteConfig
siteCredentials GetStandardSiteCredential[]
storageAccountAccessKey string
storageAccountName string
storageAccountShareName string
useExtensionBundle boolean
version string
tags {[key: string]: string}
appServicePlanId String
appSettings Map<String>
bundleVersion String
clientAffinityEnabled Boolean
clientCertificateMode String
connectionStrings List<Property Map>
customDomainVerificationId String
defaultHostname String
enabled Boolean
httpsOnly Boolean
id String

The provider-assigned unique ID for this managed resource.

identities List<Property Map>

An identity block as defined below.

kind String
location String

The Azure location where the Logic App Standard exists.

name String
outboundIpAddresses String
possibleOutboundIpAddresses String
resourceGroupName String
siteConfig Property Map
siteCredentials List<Property Map>
storageAccountAccessKey String
storageAccountName String
storageAccountShareName String
useExtensionBundle Boolean
version String
tags Map<String>

Supporting Types

GetStandardConnectionString

Name string

The name of this Logic App.

Type string

The Type of Managed Identity assigned to this Logic App Workflow.

Value string
Name string

The name of this Logic App.

Type string

The Type of Managed Identity assigned to this Logic App Workflow.

Value string
name String

The name of this Logic App.

type String

The Type of Managed Identity assigned to this Logic App Workflow.

value String
name string

The name of this Logic App.

type string

The Type of Managed Identity assigned to this Logic App Workflow.

value string
name str

The name of this Logic App.

type str

The Type of Managed Identity assigned to this Logic App Workflow.

value str
name String

The name of this Logic App.

type String

The Type of Managed Identity assigned to this Logic App Workflow.

value String

GetStandardIdentity

PrincipalId string

The Principal ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

TenantId string

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

Type string

The Type of Managed Identity assigned to this Logic App Workflow.

PrincipalId string

The Principal ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

TenantId string

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

Type string

The Type of Managed Identity assigned to this Logic App Workflow.

principalId String

The Principal ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

tenantId String

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

type String

The Type of Managed Identity assigned to this Logic App Workflow.

principalId string

The Principal ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

tenantId string

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

type string

The Type of Managed Identity assigned to this Logic App Workflow.

principal_id str

The Principal ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

tenant_id str

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

type str

The Type of Managed Identity assigned to this Logic App Workflow.

principalId String

The Principal ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

tenantId String

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Logic App Workflow.

type String

The Type of Managed Identity assigned to this Logic App Workflow.

GetStandardSiteConfig

GetStandardSiteConfigCors

GetStandardSiteConfigIpRestriction

headers Property Map
name String

The name of this Logic App.

action String
ipAddress String
priority Number
serviceTag String
virtualNetworkSubnetId String

GetStandardSiteConfigIpRestrictionHeaders

XAzureFdids List<string>
XFdHealthProbe string
XForwardedFors List<string>
XForwardedHosts List<string>
xAzureFdids List<String>
xFdHealthProbe String
xForwardedFors List<String>
xForwardedHosts List<String>
x_azure_fdids Sequence[str]
x_fd_health_probe str
x_forwarded_fors Sequence[str]
x_forwarded_hosts Sequence[str]
xAzureFdids List<String>
xFdHealthProbe String
xForwardedFors List<String>
xForwardedHosts List<String>

GetStandardSiteCredential

Password string
Username string
Password string
Username string
password String
username String
password string
username string
password String
username String

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.