This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.Provider
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
The provider type for the native Azure package.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
auxiliary_tenant_ids: Optional[Sequence[str]] = None,
client_certificate_password: Optional[str] = None,
client_certificate_path: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
disable_pulumi_partner_id: Optional[bool] = None,
environment: Optional[str] = None,
location: Optional[str] = None,
metadata_host: Optional[str] = None,
msi_endpoint: Optional[str] = None,
oidc_request_token: Optional[str] = None,
oidc_request_url: Optional[str] = None,
oidc_token: Optional[str] = None,
partner_id: Optional[str] = None,
subscription_id: Optional[str] = None,
tenant_id: Optional[str] = None,
use_msi: Optional[bool] = None,
use_oidc: Optional[bool] = None)
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:azure-native
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 ProviderArgs
- 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 ProviderArgs
- 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 ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Auxiliary
Tenant List<string>Ids - Any additional Tenant IDs which should be used for authentication.
- Client
Certificate stringPassword - The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate
- Client
Certificate stringPath - The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
- Client
Id string - The Client ID which should be used.
- Client
Secret string - The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
- Disable
Pulumi boolPartner Id - This will disable the Pulumi Partner ID which is used if a custom
partnerId
isn't specified. - Environment string
- The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
- Location string
- The location to use. ResourceGroups will consult this property for a default location, if one was not supplied explicitly when defining the resource.
- Metadata
Host string - The Hostname of the Azure Metadata Service.
- Msi
Endpoint string - The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
- Oidc
Request stringToken - Your cloud service or provider’s bearer token to exchange for an OIDC ID token.
- Oidc
Request stringUrl - The URL to initiate the
oidcRequestToken
OIDC token exchange. - Oidc
Token string - The OIDC token to exchange for an Azure token.
- Partner
Id string - A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
- Subscription
Id string - The Subscription ID which should be used.
- Tenant
Id string - The Tenant ID which should be used.
- Use
Msi bool - Allow Managed Service Identity to be used for Authentication.
- Use
Oidc bool - Allow OpenID Connect (OIDC) to be used for Authentication.
- Auxiliary
Tenant []stringIds - Any additional Tenant IDs which should be used for authentication.
- Client
Certificate stringPassword - The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate
- Client
Certificate stringPath - The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
- Client
Id string - The Client ID which should be used.
- Client
Secret string - The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
- Disable
Pulumi boolPartner Id - This will disable the Pulumi Partner ID which is used if a custom
partnerId
isn't specified. - Environment string
- The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
- Location string
- The location to use. ResourceGroups will consult this property for a default location, if one was not supplied explicitly when defining the resource.
- Metadata
Host string - The Hostname of the Azure Metadata Service.
- Msi
Endpoint string - The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
- Oidc
Request stringToken - Your cloud service or provider’s bearer token to exchange for an OIDC ID token.
- Oidc
Request stringUrl - The URL to initiate the
oidcRequestToken
OIDC token exchange. - Oidc
Token string - The OIDC token to exchange for an Azure token.
- Partner
Id string - A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
- Subscription
Id string - The Subscription ID which should be used.
- Tenant
Id string - The Tenant ID which should be used.
- Use
Msi bool - Allow Managed Service Identity to be used for Authentication.
- Use
Oidc bool - Allow OpenID Connect (OIDC) to be used for Authentication.
- auxiliary
Tenant List<String>Ids - Any additional Tenant IDs which should be used for authentication.
- client
Certificate StringPassword - The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate
- client
Certificate StringPath - The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
- client
Id String - The Client ID which should be used.
- client
Secret String - The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
- disable
Pulumi BooleanPartner Id - This will disable the Pulumi Partner ID which is used if a custom
partnerId
isn't specified. - environment String
- The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
- location String
- The location to use. ResourceGroups will consult this property for a default location, if one was not supplied explicitly when defining the resource.
- metadata
Host String - The Hostname of the Azure Metadata Service.
- msi
Endpoint String - The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
- oidc
Request StringToken - Your cloud service or provider’s bearer token to exchange for an OIDC ID token.
- oidc
Request StringUrl - The URL to initiate the
oidcRequestToken
OIDC token exchange. - oidc
Token String - The OIDC token to exchange for an Azure token.
- partner
Id String - A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
- subscription
Id String - The Subscription ID which should be used.
- tenant
Id String - The Tenant ID which should be used.
- use
Msi Boolean - Allow Managed Service Identity to be used for Authentication.
- use
Oidc Boolean - Allow OpenID Connect (OIDC) to be used for Authentication.
- auxiliary
Tenant string[]Ids - Any additional Tenant IDs which should be used for authentication.
- client
Certificate stringPassword - The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate
- client
Certificate stringPath - The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
- client
Id string - The Client ID which should be used.
- client
Secret string - The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
- disable
Pulumi booleanPartner Id - This will disable the Pulumi Partner ID which is used if a custom
partnerId
isn't specified. - environment string
- The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
- location string
- The location to use. ResourceGroups will consult this property for a default location, if one was not supplied explicitly when defining the resource.
- metadata
Host string - The Hostname of the Azure Metadata Service.
- msi
Endpoint string - The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
- oidc
Request stringToken - Your cloud service or provider’s bearer token to exchange for an OIDC ID token.
- oidc
Request stringUrl - The URL to initiate the
oidcRequestToken
OIDC token exchange. - oidc
Token string - The OIDC token to exchange for an Azure token.
- partner
Id string - A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
- subscription
Id string - The Subscription ID which should be used.
- tenant
Id string - The Tenant ID which should be used.
- use
Msi boolean - Allow Managed Service Identity to be used for Authentication.
- use
Oidc boolean - Allow OpenID Connect (OIDC) to be used for Authentication.
- auxiliary_
tenant_ Sequence[str]ids - Any additional Tenant IDs which should be used for authentication.
- client_
certificate_ strpassword - The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate
- client_
certificate_ strpath - The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
- client_
id str - The Client ID which should be used.
- client_
secret str - The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
- disable_
pulumi_ boolpartner_ id - This will disable the Pulumi Partner ID which is used if a custom
partnerId
isn't specified. - environment str
- The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
- location str
- The location to use. ResourceGroups will consult this property for a default location, if one was not supplied explicitly when defining the resource.
- metadata_
host str - The Hostname of the Azure Metadata Service.
- msi_
endpoint str - The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
- oidc_
request_ strtoken - Your cloud service or provider’s bearer token to exchange for an OIDC ID token.
- oidc_
request_ strurl - The URL to initiate the
oidcRequestToken
OIDC token exchange. - oidc_
token str - The OIDC token to exchange for an Azure token.
- partner_
id str - A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
- subscription_
id str - The Subscription ID which should be used.
- tenant_
id str - The Tenant ID which should be used.
- use_
msi bool - Allow Managed Service Identity to be used for Authentication.
- use_
oidc bool - Allow OpenID Connect (OIDC) to be used for Authentication.
- auxiliary
Tenant List<String>Ids - Any additional Tenant IDs which should be used for authentication.
- client
Certificate StringPassword - The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate
- client
Certificate StringPath - The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate.
- client
Id String - The Client ID which should be used.
- client
Secret String - The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.
- disable
Pulumi BooleanPartner Id - This will disable the Pulumi Partner ID which is used if a custom
partnerId
isn't specified. - environment String
- The Cloud Environment which should be used. Possible values are public, usgovernment, and china. Defaults to public.
- location String
- The location to use. ResourceGroups will consult this property for a default location, if one was not supplied explicitly when defining the resource.
- metadata
Host String - The Hostname of the Azure Metadata Service.
- msi
Endpoint String - The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically.
- oidc
Request StringToken - Your cloud service or provider’s bearer token to exchange for an OIDC ID token.
- oidc
Request StringUrl - The URL to initiate the
oidcRequestToken
OIDC token exchange. - oidc
Token String - The OIDC token to exchange for an Azure token.
- partner
Id String - A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
- subscription
Id String - The Subscription ID which should be used.
- tenant
Id String - The Tenant ID which should be used.
- use
Msi Boolean - Allow Managed Service Identity to be used for Authentication.
- use
Oidc Boolean - Allow OpenID Connect (OIDC) to be used for Authentication.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi