Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure_rm_adapplication_info add option "app_diff" #1559

Open
TheNotoriousRMM opened this issue May 15, 2024 · 0 comments
Open

azure_rm_adapplication_info add option "app_diff" #1559

TheNotoriousRMM opened this issue May 15, 2024 · 0 comments
Labels
enhancement New feature or request has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments

Comments

@TheNotoriousRMM
Copy link

SUMMARY

With the help of this option, you can compare a list of app names, app IDs, or both to the current state on Azure. The apps that are currently in Azure and are not provided with app_diff will be marked as absent in the return under app_diff.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

azure_rm_adapplication_info module

ADDITIONAL INFORMATION
DOCUMENTATION = '''
options:
    app_diff:
        description:
            - The application Name or the app id.
        type: list
        elements: dict

EXAMPLES = '''
- name: get ad app diff ---- by display name
  azure_rm_adapplication_info:
    app_diff:
        - app_display_name: "{{ display_name }}"
        - app_id: "{{ app_id }}"

RETURN = '''
app_diff:
    description:
        - The info of the ad application.
    type: complex
    returned: aways
    contains:
        app_display_name:
            description:
                - Object's display name or its prefix.
            type: str
            returned: always
            sample: app
        app_id:
            description:
                - The application ID.
            returned: always
            type: str
            sample: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        identifier_uris:
            description:
                - The identifiers_uri list of app.
            type: list
            returned: always
            sample: ["http://ansible-atodorov"]
        object_id:
            description:
                - It's application's object ID.
            returned: always
            type: str
            sample: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        sign_in_audience:
            description:
                - The application can be used from any Azure AD tenants
            type: str
            returned: always
            sample: AzureADandPersonalMicrosoftAccount
        available_to_other_tenants:
            description:
                - The application can be used from any Azure AD tenants
            type: str
            returned: always
            sample: AzureADandPersonalMicrosoftAccount
        public_client_reply_urls:
            description:
                - The public client redirect urls.
                - Space-separated URIs to which Azure AD will redirect in response to an OAuth 2.0 request.
            returned: always
            type: list
            sample: []
        web_reply_urls:
            description:
                - The web redirect urls.
                - Space-separated URIs to which Azure AD will redirect in response to an OAuth 2.0 request.
            returned: always
            type: list
            sample: []
        spa_reply_urls:
            description:
                - The spa redirect urls.
                - Space-separated URIs to which Azure AD will redirect in response to an OAuth 2.0 request.
            returned: always
            type: list
            sample: []
        state:
            description:
                - absent --> The app isn't in the app_diff.
            returned: always
            type: str
            sample: absent
@Fred-sun Fred-sun added enhancement New feature or request has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments
Projects
None yet
Development

No branches or pull requests

2 participants