ad

class pulumi_azure.ad.Application(resource_name, opts=None, available_to_other_tenants=None, homepage=None, identifier_uris=None, name=None, oauth2_allow_implicit_flow=None, reply_urls=None, __name__=None, __opts__=None)

Manages an Application within Azure Active Directory.

NOTE: The Azure Active Directory resources have been split out into a new AzureAD Provider - as such the AzureAD resources within the AzureRM Provider are deprecated and will be removed in the next major version (2.0). Information on how to migrate from the existing resources to the new AzureAD Provider can be found here.

NOTE: If you’re authenticating using a Service Principal then it must have permissions to both Read and write all applications and Sign in and read user profile within the Windows Azure Active Directory API.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • available_to_other_tenants (pulumi.Input[bool]) – Is this Azure AD Application available to other tenants? Defaults to false.
  • homepage (pulumi.Input[str]) – The URL to the application’s home page. If no homepage is specified this defaults to https://{name}.
  • identifier_uris (pulumi.Input[list]) – A list of user-defined URI(s) that uniquely identify a Web application within it’s Azure AD tenant, or within a verified custom domain if the application is multi-tenant.
  • name (pulumi.Input[str]) – The display name for the application.
  • oauth2_allow_implicit_flow (pulumi.Input[bool]) – Does this Azure AD Application allow OAuth2.0 implicit flow tokens? Defaults to false.
  • reply_urls (pulumi.Input[list]) – A list of URLs that user tokens are sent to for sign in, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to.
application_id = None

The Application ID.

available_to_other_tenants = None

Is this Azure AD Application available to other tenants? Defaults to false.

homepage = None

The URL to the application’s home page. If no homepage is specified this defaults to https://{name}.

identifier_uris = None

A list of user-defined URI(s) that uniquely identify a Web application within it’s Azure AD tenant, or within a verified custom domain if the application is multi-tenant.

name = None

The display name for the application.

oauth2_allow_implicit_flow = None

Does this Azure AD Application allow OAuth2.0 implicit flow tokens? Defaults to false.

reply_urls = None

A list of URLs that user tokens are sent to for sign in, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.ad.GetApplicationResult(application_id=None, available_to_other_tenants=None, homepage=None, identifier_uris=None, name=None, oauth2_allow_implicit_flow=None, object_id=None, reply_urls=None, id=None)

A collection of values returned by getApplication.

application_id = None

the Application ID of the Azure Active Directory Application.

available_to_other_tenants = None

Is this Azure AD Application available to other tenants?

identifier_uris = None

A list of user-defined URI(s) that uniquely identify a Web application within it’s Azure AD tenant, or within a verified custom domain if the application is multi-tenant.

oauth2_allow_implicit_flow = None

Does this Azure AD Application allow OAuth2.0 implicit flow tokens?

object_id = None

the Object ID of the Azure Active Directory Application.

reply_urls = None

A list of URLs that user tokens are sent to for sign in, or the redirect URIs that OAuth 2.0 authorization codes and access tokens are sent to.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.ad.GetServicePrincipalResult(application_id=None, display_name=None, object_id=None, id=None)

A collection of values returned by getServicePrincipal.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_azure.ad.ServicePrincipal(resource_name, opts=None, application_id=None, __name__=None, __opts__=None)

Manages a Service Principal associated with an Application within Azure Active Directory.

NOTE: The Azure Active Directory resources have been split out into a new AzureAD Provider - as such the AzureAD resources within the AzureRM Provider are deprecated and will be removed in the next major version (2.0). Information on how to migrate from the existing resources to the new AzureAD Provider can be found here.

NOTE: If you’re authenticating using a Service Principal then it must have permissions to both Read and write all applications and Sign in and read user profile within the Windows Azure Active Directory API.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • application_id (pulumi.Input[str]) – The ID of the Azure AD Application for which to create a Service Principal.
application_id = None

The ID of the Azure AD Application for which to create a Service Principal.

display_name = None

The Display Name of the Azure Active Directory Application associated with this Service Principal.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.ad.ServicePrincipalPassword(resource_name, opts=None, end_date=None, key_id=None, service_principal_id=None, start_date=None, value=None, __name__=None, __opts__=None)

Manages a Password associated with a Service Principal within Azure Active Directory.

NOTE: The Azure Active Directory resources have been split out into a new AzureAD Provider - as such the AzureAD resources within the AzureRM Provider are deprecated and will be removed in the next major version (2.0). Information on how to migrate from the existing resources to the new AzureAD Provider can be found here.

NOTE: If you’re authenticating using a Service Principal then it must have permissions to both Read and write all applications and Sign in and read user profile within the Windows Azure Active Directory API.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • end_date (pulumi.Input[str]) – The End Date which the Password is valid until, formatted as a RFC3339 date string (e.g. 2018-01-01T01:02:03Z). Changing this field forces a new resource to be created.
  • key_id (pulumi.Input[str]) – A GUID used to uniquely identify this Key. If not specified a GUID will be created. Changing this field forces a new resource to be created.
  • service_principal_id (pulumi.Input[str]) – The ID of the Service Principal for which this password should be created. Changing this field forces a new resource to be created.
  • start_date (pulumi.Input[str]) – The Start Date which the Password is valid from, formatted as a RFC3339 date string (e.g. 2018-01-01T01:02:03Z). If this isn’t specified, the current date is used. Changing this field forces a new resource to be created.
  • value (pulumi.Input[str]) – The Password for this Service Principal.
end_date = None

The End Date which the Password is valid until, formatted as a RFC3339 date string (e.g. 2018-01-01T01:02:03Z). Changing this field forces a new resource to be created.

key_id = None

A GUID used to uniquely identify this Key. If not specified a GUID will be created. Changing this field forces a new resource to be created.

service_principal_id = None

The ID of the Service Principal for which this password should be created. Changing this field forces a new resource to be created.

start_date = None

The Start Date which the Password is valid from, formatted as a RFC3339 date string (e.g. 2018-01-01T01:02:03Z). If this isn’t specified, the current date is used. Changing this field forces a new resource to be created.

value = None

The Password for this Service Principal.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_azure.ad.get_application(name=None, object_id=None, opts=None)

Use this data source to access information about an existing Application within Azure Active Directory.

NOTE: The Azure Active Directory resources have been split out into a new AzureAD Provider - as such the AzureAD resources within the AzureRM Provider are deprecated and will be removed in the next major version (2.0). Information on how to migrate from the existing resources to the new AzureAD Provider can be found here.

NOTE: If you’re authenticating using a Service Principal then it must have permissions to both Read and write all applications and Sign in and read user profile within the Windows Azure Active Directory API.

pulumi_azure.ad.get_service_principal(application_id=None, display_name=None, object_id=None, opts=None)

Gets information about an existing Service Principal associated with an Application within Azure Active Directory.

NOTE: The Azure Active Directory resources have been split out into a new AzureAD Provider - as such the AzureAD resources within the AzureRM Provider are deprecated and will be removed in the next major version (2.0). Information on how to migrate from the existing resources to the new AzureAD Provider can be found here.

NOTE: If you’re authenticating using a Service Principal then it must have permissions to both Read and write all applications and Sign in and read user profile within the Windows Azure Active Directory API.