Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GovernanceAssignments

Package version

Interface representing a GovernanceAssignments.

Hierarchy

  • GovernanceAssignments

Implemented by

Index

Methods

createOrUpdate

delete

  • Delete a GovernanceAssignment over a given scope

    Parameters

    • scope: string

      Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

    • assessmentName: string

      The Assessment Key - Unique key for the assessment type

    • assignmentKey: string

      The security governance assignment key - the assessment key of the required governance assignment

    • Optional options: GovernanceAssignmentsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

get

  • Get a specific governanceAssignment for the requested scope by AssignmentKey

    Parameters

    • scope: string

      Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

    • assessmentName: string

      The Assessment Key - Unique key for the assessment type

    • assignmentKey: string

      The security governance assignment key - the assessment key of the required governance assignment

    • Optional options: GovernanceAssignmentsGetOptionalParams

      The options parameters.

    Returns Promise<GovernanceAssignmentsGetResponse>

list

  • Get security governanceAssignments on all your resources inside a scope

    Parameters

    • scope: string

      Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

    • assessmentName: string

      The Assessment Key - Unique key for the assessment type

    • Optional options: GovernanceAssignmentsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<GovernanceAssignment>

Generated using TypeDoc