config

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuxiliaryTenantIds added in v1.12.0

func GetAuxiliaryTenantIds(ctx *pulumi.Context) string

func GetClientCertificatePassword

func GetClientCertificatePassword(ctx *pulumi.Context) string

The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate

func GetClientCertificatePath

func GetClientCertificatePath(ctx *pulumi.Context) string

The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.

func GetClientId

func GetClientId(ctx *pulumi.Context) string

The Client ID which should be used.

func GetClientSecret

func GetClientSecret(ctx *pulumi.Context) string

The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.

func GetCustomCorrelationRequestId added in v1.12.0

func GetCustomCorrelationRequestId(ctx *pulumi.Context) string

The value of the x-ms-correlation-request-id header (otherwise an auto-generated UUID will be used).

func GetDefaultLocation

func GetDefaultLocation(ctx *pulumi.Context) string

func GetDefaultName added in v1.4.0

func GetDefaultName(ctx *pulumi.Context) string

func GetDefaultNamingPrefix deprecated added in v1.4.0

func GetDefaultNamingPrefix(ctx *pulumi.Context) string

Deprecated: It will not work in the next minor release and will be removed in the next major release. Please specify the naming prefix and suffix in the resource's `name` field instead.

func GetDefaultNamingSuffix deprecated added in v1.4.0

func GetDefaultNamingSuffix(ctx *pulumi.Context) string

Deprecated: It will not work in the next minor release and will be removed in the next major release. Please specify the naming prefix and suffix in the resource's `name` field instead.

func GetDefaultTags

func GetDefaultTags(ctx *pulumi.Context) string

func GetDisableCorrelationRequestId

func GetDisableCorrelationRequestId(ctx *pulumi.Context) bool

This will disable the x-ms-correlation-request-id header.

func GetDisableTerraformPartnerId

func GetDisableTerraformPartnerId(ctx *pulumi.Context) bool

func GetEndpoint added in v1.12.0

func GetEndpoint(ctx *pulumi.Context) string

func GetEnvironment

func GetEnvironment(ctx *pulumi.Context) string

The Cloud Environment which should be used. Possible values are public, usgovernment and china. Defaults to public.

func GetOidcRequestToken

func GetOidcRequestToken(ctx *pulumi.Context) string

The bearer token for the request to the OIDC provider. For use When authenticating as a Service Principal using OpenID Connect.

func GetOidcRequestUrl

func GetOidcRequestUrl(ctx *pulumi.Context) string

The URL for the OIDC provider from which to request an ID token. For use When authenticating as a Service Principal using OpenID Connect.

func GetOidcToken

func GetOidcToken(ctx *pulumi.Context) string

The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect.

func GetOidcTokenFilePath

func GetOidcTokenFilePath(ctx *pulumi.Context) string

The path to a file containing an OIDC ID token for use when authenticating as a Service Principal using OpenID Connect.

func GetPartnerId

func GetPartnerId(ctx *pulumi.Context) string

A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.

func GetSkipProviderRegistration

func GetSkipProviderRegistration(ctx *pulumi.Context) bool

Should the Provider skip registering all of the Resource Providers that it supports, if they're not already registered?

func GetSubscriptionId

func GetSubscriptionId(ctx *pulumi.Context) string

The Subscription ID which should be used.

func GetTenantId

func GetTenantId(ctx *pulumi.Context) string

The Tenant ID which should be used.

func GetUseCli added in v1.12.0

func GetUseCli(ctx *pulumi.Context) bool

Allow Azure CLI to be used for Authentication.

func GetUseMsi added in v1.12.0

func GetUseMsi(ctx *pulumi.Context) bool

Allow Managed Service Identity to be used for Authentication.

func GetUseOidc

func GetUseOidc(ctx *pulumi.Context) bool

Allow OpenID Connect to be used for authentication

Types

type Endpoint added in v1.12.0

type Endpoint struct {
	// The Active Directory login endpoint which should be used.
	ActiveDirectoryAuthorityHost *string `pulumi:"activeDirectoryAuthorityHost"`
	// The resource ID to obtain AD tokens for.
	ResourceManagerAudience *string `pulumi:"resourceManagerAudience"`
	// The Resource Manager Endpoint which should be used.
	ResourceManagerEndpoint *string `pulumi:"resourceManagerEndpoint"`
}

type EndpointArgs added in v1.12.0

type EndpointArgs struct {
	// The Active Directory login endpoint which should be used.
	ActiveDirectoryAuthorityHost pulumi.StringPtrInput `pulumi:"activeDirectoryAuthorityHost"`
	// The resource ID to obtain AD tokens for.
	ResourceManagerAudience pulumi.StringPtrInput `pulumi:"resourceManagerAudience"`
	// The Resource Manager Endpoint which should be used.
	ResourceManagerEndpoint pulumi.StringPtrInput `pulumi:"resourceManagerEndpoint"`
}

func (EndpointArgs) ElementType added in v1.12.0

func (EndpointArgs) ElementType() reflect.Type

func (EndpointArgs) ToEndpointOutput added in v1.12.0

func (i EndpointArgs) ToEndpointOutput() EndpointOutput

func (EndpointArgs) ToEndpointOutputWithContext added in v1.12.0

func (i EndpointArgs) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointInput added in v1.12.0

type EndpointInput interface {
	pulumi.Input

	ToEndpointOutput() EndpointOutput
	ToEndpointOutputWithContext(context.Context) EndpointOutput
}

EndpointInput is an input type that accepts EndpointArgs and EndpointOutput values. You can construct a concrete instance of `EndpointInput` via:

EndpointArgs{...}

type EndpointOutput added in v1.12.0

type EndpointOutput struct{ *pulumi.OutputState }

func (EndpointOutput) ActiveDirectoryAuthorityHost added in v1.12.0

func (o EndpointOutput) ActiveDirectoryAuthorityHost() pulumi.StringPtrOutput

The Active Directory login endpoint which should be used.

func (EndpointOutput) ElementType added in v1.12.0

func (EndpointOutput) ElementType() reflect.Type

func (EndpointOutput) ResourceManagerAudience added in v1.12.0

func (o EndpointOutput) ResourceManagerAudience() pulumi.StringPtrOutput

The resource ID to obtain AD tokens for.

func (EndpointOutput) ResourceManagerEndpoint added in v1.12.0

func (o EndpointOutput) ResourceManagerEndpoint() pulumi.StringPtrOutput

The Resource Manager Endpoint which should be used.

func (EndpointOutput) ToEndpointOutput added in v1.12.0

func (o EndpointOutput) ToEndpointOutput() EndpointOutput

func (EndpointOutput) ToEndpointOutputWithContext added in v1.12.0

func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL