Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RoleAssignmentId ¶
type RoleAssignmentId struct { SubscriptionID string ResourceGroup string ManagementGroup string ResourceScope string ResourceProvider string Name string TenantId string }
func NewRoleAssignmentID ¶
func NewRoleAssignmentID(subscriptionId, resourceGroup, resourceProvider, resourceScope, managementGroup, name, tenantId string) (*RoleAssignmentId, error)
func RoleAssignmentID ¶
func RoleAssignmentID(input string) (*RoleAssignmentId, error)
func (RoleAssignmentId) AzureResourceID ¶
func (id RoleAssignmentId) AzureResourceID() string
in general case, the id format does not change for cross tenant scenario, add the tenantId info
func (RoleAssignmentId) ID ¶
func (id RoleAssignmentId) ID() string
type RoleDefinitionID ¶
func RoleDefinitionId ¶
func RoleDefinitionId(input string) (*RoleDefinitionID, error)
RoleDefinitionId is a pseudo ID for storing Scope parameter as this it not retrievable from API It is formed of the Azure Resource ID for the Role and the Scope it is created against
Click to show internal directories.
Click to hide internal directories.