armauthorization

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 15 Imported by: 15

README

Azure Authorization Module for Go

PkgGoDev

The armauthorization module provides operations for working with Azure Authorization.

Source code

Getting started

Prerequisites

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Authorization module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Authorization. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Clients

Azure Authorization modules consist of one or more clients. A client groups a set of related APIs, providing access to its functionality within the specified subscription. Create one or more clients to access the APIs you require using your credential.

client := armauthorization.NewPermissionsClient(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options = arm.ClientOptions{
    Host: arm.AzureChina,
}
client := armauthorization.NewPermissionsClient(<subscription ID>, cred, &options)

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Authorization label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessRecommendationType

type AccessRecommendationType string

AccessRecommendationType - The feature- generated recommendation shown to the reviewer.

const (
	AccessRecommendationTypeApprove         AccessRecommendationType = "Approve"
	AccessRecommendationTypeDeny            AccessRecommendationType = "Deny"
	AccessRecommendationTypeNoInfoAvailable AccessRecommendationType = "NoInfoAvailable"
)

func PossibleAccessRecommendationTypeValues

func PossibleAccessRecommendationTypeValues() []AccessRecommendationType

PossibleAccessRecommendationTypeValues returns the possible values for the AccessRecommendationType const type.

func (AccessRecommendationType) ToPtr

ToPtr returns a *AccessRecommendationType pointing to the current value.

type AccessReviewActorIdentity

type AccessReviewActorIdentity struct {
	// READ-ONLY; The identity id
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`

	// READ-ONLY; The identity display name
	PrincipalName *string `json:"principalName,omitempty" azure:"ro"`

	// READ-ONLY; The identity type : user/servicePrincipal
	PrincipalType *AccessReviewActorIdentityType `json:"principalType,omitempty" azure:"ro"`

	// READ-ONLY; The user principal name(if valid)
	UserPrincipalName *string `json:"userPrincipalName,omitempty" azure:"ro"`
}

AccessReviewActorIdentity - Details of the actor identity

type AccessReviewActorIdentityType

type AccessReviewActorIdentityType string

AccessReviewActorIdentityType - The identity type : user/servicePrincipal

const (
	AccessReviewActorIdentityTypeServicePrincipal AccessReviewActorIdentityType = "servicePrincipal"
	AccessReviewActorIdentityTypeUser             AccessReviewActorIdentityType = "user"
)

func PossibleAccessReviewActorIdentityTypeValues

func PossibleAccessReviewActorIdentityTypeValues() []AccessReviewActorIdentityType

PossibleAccessReviewActorIdentityTypeValues returns the possible values for the AccessReviewActorIdentityType const type.

func (AccessReviewActorIdentityType) ToPtr

ToPtr returns a *AccessReviewActorIdentityType pointing to the current value.

type AccessReviewApplyResult

type AccessReviewApplyResult string

AccessReviewApplyResult - The outcome of applying the decision.

const (
	AccessReviewApplyResultAppliedSuccessfully                  AccessReviewApplyResult = "AppliedSuccessfully"
	AccessReviewApplyResultAppliedSuccessfullyButObjectNotFound AccessReviewApplyResult = "AppliedSuccessfullyButObjectNotFound"
	AccessReviewApplyResultAppliedWithUnknownFailure            AccessReviewApplyResult = "AppliedWithUnknownFailure"
	AccessReviewApplyResultApplyNotSupported                    AccessReviewApplyResult = "ApplyNotSupported"
	AccessReviewApplyResultApplying                             AccessReviewApplyResult = "Applying"
	AccessReviewApplyResultNew                                  AccessReviewApplyResult = "New"
)

func PossibleAccessReviewApplyResultValues

func PossibleAccessReviewApplyResultValues() []AccessReviewApplyResult

PossibleAccessReviewApplyResultValues returns the possible values for the AccessReviewApplyResult const type.

func (AccessReviewApplyResult) ToPtr

ToPtr returns a *AccessReviewApplyResult pointing to the current value.

type AccessReviewDecision

type AccessReviewDecision struct {
	// Access Review Decision properties.
	Properties *AccessReviewDecisionProperties `json:"properties,omitempty"`

	// READ-ONLY; The access review decision id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The access review decision name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AccessReviewDecision - Access Review.

type AccessReviewDecisionListResult

type AccessReviewDecisionListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Access Review Decision list.
	Value []*AccessReviewDecision `json:"value,omitempty"`
}

AccessReviewDecisionListResult - List of access review decisions.

func (AccessReviewDecisionListResult) MarshalJSON

func (a AccessReviewDecisionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AccessReviewDecisionListResult.

type AccessReviewDecisionProperties

type AccessReviewDecisionProperties struct {
	// The decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny
	Decision *AccessReviewResult `json:"decision,omitempty"`

	// Justification provided by approvers for their action
	Justification *string `json:"justification,omitempty"`

	// READ-ONLY; Details of the applier.
	AppliedBy *AccessReviewActorIdentity `json:"appliedBy,omitempty" azure:"ro"`

	// READ-ONLY; The date and time when the review decision was applied.
	AppliedDateTime *time.Time `json:"appliedDateTime,omitempty" azure:"ro"`

	// READ-ONLY; The outcome of applying the decision.
	ApplyResult *AccessReviewApplyResult `json:"applyResult,omitempty" azure:"ro"`

	// READ-ONLY; The feature- generated recommendation shown to the reviewer.
	Recommendation *AccessRecommendationType `json:"recommendation,omitempty" azure:"ro"`

	// READ-ONLY; Details of the approver.
	ReviewedBy *AccessReviewActorIdentity `json:"reviewedBy,omitempty" azure:"ro"`

	// READ-ONLY; Date Time when a decision was taken.
	ReviewedDateTime *time.Time `json:"reviewedDateTime,omitempty" azure:"ro"`

	// READ-ONLY; Target of this decision record. Can be UserDecisionTarget or ServicePrincipalDecisionTarget
	Target AccessReviewDecisionTargetClassification `json:"target,omitempty" azure:"ro"`
}

AccessReviewDecisionProperties - Approval Step.

func (AccessReviewDecisionProperties) MarshalJSON

func (a AccessReviewDecisionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AccessReviewDecisionProperties.

func (*AccessReviewDecisionProperties) UnmarshalJSON

func (a *AccessReviewDecisionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AccessReviewDecisionProperties.

type AccessReviewDecisionTarget

type AccessReviewDecisionTarget struct {
	// REQUIRED; The type of decision target : User/ServicePrincipal
	Type *DecisionTargetType `json:"type,omitempty"`
}

AccessReviewDecisionTarget - Target of the decision.

func (*AccessReviewDecisionTarget) GetAccessReviewDecisionTarget

func (a *AccessReviewDecisionTarget) GetAccessReviewDecisionTarget() *AccessReviewDecisionTarget

GetAccessReviewDecisionTarget implements the AccessReviewDecisionTargetClassification interface for type AccessReviewDecisionTarget.

func (*AccessReviewDecisionTarget) UnmarshalJSON

func (a *AccessReviewDecisionTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AccessReviewDecisionTarget.

type AccessReviewDecisionTargetClassification

type AccessReviewDecisionTargetClassification interface {
	// GetAccessReviewDecisionTarget returns the AccessReviewDecisionTarget content of the underlying type.
	GetAccessReviewDecisionTarget() *AccessReviewDecisionTarget
}

AccessReviewDecisionTargetClassification provides polymorphic access to related types. Call the interface's GetAccessReviewDecisionTarget() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *AccessReviewDecisionTarget, *ServicePrincipalDecisionTarget, *UserDecisionTarget

type AccessReviewDefaultSettings

type AccessReviewDefaultSettings struct {
	// Access Review properties.
	Properties *AccessReviewScheduleSettings `json:"properties,omitempty"`

	// READ-ONLY; The access review default settings id. This is only going to be default
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The access review default settings name. This is always going to be Access Review Default Settings
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AccessReviewDefaultSettings - Access Review Default Settings.

type AccessReviewDefaultSettingsClient

type AccessReviewDefaultSettingsClient struct {
	// contains filtered or unexported fields
}

AccessReviewDefaultSettingsClient contains the methods for the AccessReviewDefaultSettings group. Don't use this type directly, use NewAccessReviewDefaultSettingsClient() instead.

func NewAccessReviewDefaultSettingsClient

func NewAccessReviewDefaultSettingsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AccessReviewDefaultSettingsClient

NewAccessReviewDefaultSettingsClient creates a new instance of AccessReviewDefaultSettingsClient with the specified values.

func (*AccessReviewDefaultSettingsClient) Get

Get - Get access review default settings for the subscription If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewDefaultSettingsClient) Put

Put - Get access review default settings for the subscription If the operation fails it returns the *ErrorDefinition error type.

type AccessReviewDefaultSettingsGetOptions

type AccessReviewDefaultSettingsGetOptions struct {
}

AccessReviewDefaultSettingsGetOptions contains the optional parameters for the AccessReviewDefaultSettings.Get method.

type AccessReviewDefaultSettingsGetResponse

type AccessReviewDefaultSettingsGetResponse struct {
	AccessReviewDefaultSettingsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewDefaultSettingsGetResponse contains the response from method AccessReviewDefaultSettings.Get.

type AccessReviewDefaultSettingsGetResult

type AccessReviewDefaultSettingsGetResult struct {
	AccessReviewDefaultSettings
}

AccessReviewDefaultSettingsGetResult contains the result from method AccessReviewDefaultSettings.Get.

type AccessReviewDefaultSettingsPutOptions

type AccessReviewDefaultSettingsPutOptions struct {
}

AccessReviewDefaultSettingsPutOptions contains the optional parameters for the AccessReviewDefaultSettings.Put method.

type AccessReviewDefaultSettingsPutResponse

type AccessReviewDefaultSettingsPutResponse struct {
	AccessReviewDefaultSettingsPutResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewDefaultSettingsPutResponse contains the response from method AccessReviewDefaultSettings.Put.

type AccessReviewDefaultSettingsPutResult

type AccessReviewDefaultSettingsPutResult struct {
	AccessReviewDefaultSettings
}

AccessReviewDefaultSettingsPutResult contains the result from method AccessReviewDefaultSettings.Put.

type AccessReviewInstance

type AccessReviewInstance struct {
	// Access Review properties.
	Properties *AccessReviewInstanceProperties `json:"properties,omitempty"`

	// READ-ONLY; The access review instance id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The access review instance name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AccessReviewInstance - Access Review Instance.

type AccessReviewInstanceAcceptRecommendationsOptions

type AccessReviewInstanceAcceptRecommendationsOptions struct {
}

AccessReviewInstanceAcceptRecommendationsOptions contains the optional parameters for the AccessReviewInstance.AcceptRecommendations method.

type AccessReviewInstanceAcceptRecommendationsResponse

type AccessReviewInstanceAcceptRecommendationsResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceAcceptRecommendationsResponse contains the response from method AccessReviewInstance.AcceptRecommendations.

type AccessReviewInstanceApplyDecisionsOptions

type AccessReviewInstanceApplyDecisionsOptions struct {
}

AccessReviewInstanceApplyDecisionsOptions contains the optional parameters for the AccessReviewInstance.ApplyDecisions method.

type AccessReviewInstanceApplyDecisionsResponse

type AccessReviewInstanceApplyDecisionsResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceApplyDecisionsResponse contains the response from method AccessReviewInstance.ApplyDecisions.

type AccessReviewInstanceClient

type AccessReviewInstanceClient struct {
	// contains filtered or unexported fields
}

AccessReviewInstanceClient contains the methods for the AccessReviewInstance group. Don't use this type directly, use NewAccessReviewInstanceClient() instead.

func NewAccessReviewInstanceClient

func NewAccessReviewInstanceClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AccessReviewInstanceClient

NewAccessReviewInstanceClient creates a new instance of AccessReviewInstanceClient with the specified values.

func (*AccessReviewInstanceClient) AcceptRecommendations

AcceptRecommendations - An action to accept recommendations for decision in an access review instance. If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewInstanceClient) ApplyDecisions

ApplyDecisions - An action to apply all decisions for an access review instance. If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewInstanceClient) ResetDecisions

ResetDecisions - An action to reset all decisions for an access review instance. If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewInstanceClient) SendReminders

SendReminders - An action to send reminders for an access review instance. If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewInstanceClient) Stop

Stop - An action to stop an access review instance. If the operation fails it returns the *ErrorDefinition error type.

type AccessReviewInstanceDecisionsClient

type AccessReviewInstanceDecisionsClient struct {
	// contains filtered or unexported fields
}

AccessReviewInstanceDecisionsClient contains the methods for the AccessReviewInstanceDecisions group. Don't use this type directly, use NewAccessReviewInstanceDecisionsClient() instead.

func NewAccessReviewInstanceDecisionsClient

func NewAccessReviewInstanceDecisionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AccessReviewInstanceDecisionsClient

NewAccessReviewInstanceDecisionsClient creates a new instance of AccessReviewInstanceDecisionsClient with the specified values.

func (*AccessReviewInstanceDecisionsClient) List

List - Get access review instance decisions If the operation fails it returns the *ErrorDefinition error type.

type AccessReviewInstanceDecisionsListOptions

type AccessReviewInstanceDecisionsListOptions struct {
}

AccessReviewInstanceDecisionsListOptions contains the optional parameters for the AccessReviewInstanceDecisions.List method.

type AccessReviewInstanceDecisionsListPager

type AccessReviewInstanceDecisionsListPager struct {
	// contains filtered or unexported fields
}

AccessReviewInstanceDecisionsListPager provides operations for iterating over paged responses.

func (*AccessReviewInstanceDecisionsListPager) Err

Err returns the last error encountered while paging.

func (*AccessReviewInstanceDecisionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AccessReviewInstanceDecisionsListPager) PageResponse

PageResponse returns the current AccessReviewInstanceDecisionsListResponse page.

type AccessReviewInstanceDecisionsListResponse

type AccessReviewInstanceDecisionsListResponse struct {
	AccessReviewInstanceDecisionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceDecisionsListResponse contains the response from method AccessReviewInstanceDecisions.List.

type AccessReviewInstanceDecisionsListResult

type AccessReviewInstanceDecisionsListResult struct {
	AccessReviewDecisionListResult
}

AccessReviewInstanceDecisionsListResult contains the result from method AccessReviewInstanceDecisions.List.

type AccessReviewInstanceListResult

type AccessReviewInstanceListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Access Review Instance list.
	Value []*AccessReviewInstance `json:"value,omitempty"`
}

AccessReviewInstanceListResult - List of Access Review Instances.

func (AccessReviewInstanceListResult) MarshalJSON

func (a AccessReviewInstanceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AccessReviewInstanceListResult.

type AccessReviewInstanceMyDecisionsClient

type AccessReviewInstanceMyDecisionsClient struct {
	// contains filtered or unexported fields
}

AccessReviewInstanceMyDecisionsClient contains the methods for the AccessReviewInstanceMyDecisions group. Don't use this type directly, use NewAccessReviewInstanceMyDecisionsClient() instead.

func NewAccessReviewInstanceMyDecisionsClient

func NewAccessReviewInstanceMyDecisionsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *AccessReviewInstanceMyDecisionsClient

NewAccessReviewInstanceMyDecisionsClient creates a new instance of AccessReviewInstanceMyDecisionsClient with the specified values.

func (*AccessReviewInstanceMyDecisionsClient) GetByID

GetByID - Get my single access review instance decision. If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewInstanceMyDecisionsClient) List

List - Get my access review instance decisions. If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewInstanceMyDecisionsClient) Patch

Patch - Record a decision. If the operation fails it returns the *ErrorDefinition error type.

type AccessReviewInstanceMyDecisionsGetByIDOptions

type AccessReviewInstanceMyDecisionsGetByIDOptions struct {
}

AccessReviewInstanceMyDecisionsGetByIDOptions contains the optional parameters for the AccessReviewInstanceMyDecisions.GetByID method.

type AccessReviewInstanceMyDecisionsGetByIDResponse

type AccessReviewInstanceMyDecisionsGetByIDResponse struct {
	AccessReviewInstanceMyDecisionsGetByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceMyDecisionsGetByIDResponse contains the response from method AccessReviewInstanceMyDecisions.GetByID.

type AccessReviewInstanceMyDecisionsGetByIDResult

type AccessReviewInstanceMyDecisionsGetByIDResult struct {
	AccessReviewDecision
}

AccessReviewInstanceMyDecisionsGetByIDResult contains the result from method AccessReviewInstanceMyDecisions.GetByID.

type AccessReviewInstanceMyDecisionsListOptions

type AccessReviewInstanceMyDecisionsListOptions struct {
}

AccessReviewInstanceMyDecisionsListOptions contains the optional parameters for the AccessReviewInstanceMyDecisions.List method.

type AccessReviewInstanceMyDecisionsListPager

type AccessReviewInstanceMyDecisionsListPager struct {
	// contains filtered or unexported fields
}

AccessReviewInstanceMyDecisionsListPager provides operations for iterating over paged responses.

func (*AccessReviewInstanceMyDecisionsListPager) Err

Err returns the last error encountered while paging.

func (*AccessReviewInstanceMyDecisionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AccessReviewInstanceMyDecisionsListPager) PageResponse

PageResponse returns the current AccessReviewInstanceMyDecisionsListResponse page.

type AccessReviewInstanceMyDecisionsListResponse

type AccessReviewInstanceMyDecisionsListResponse struct {
	AccessReviewInstanceMyDecisionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceMyDecisionsListResponse contains the response from method AccessReviewInstanceMyDecisions.List.

type AccessReviewInstanceMyDecisionsListResult

type AccessReviewInstanceMyDecisionsListResult struct {
	AccessReviewDecisionListResult
}

AccessReviewInstanceMyDecisionsListResult contains the result from method AccessReviewInstanceMyDecisions.List.

type AccessReviewInstanceMyDecisionsPatchOptions

type AccessReviewInstanceMyDecisionsPatchOptions struct {
}

AccessReviewInstanceMyDecisionsPatchOptions contains the optional parameters for the AccessReviewInstanceMyDecisions.Patch method.

type AccessReviewInstanceMyDecisionsPatchResponse

type AccessReviewInstanceMyDecisionsPatchResponse struct {
	AccessReviewInstanceMyDecisionsPatchResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceMyDecisionsPatchResponse contains the response from method AccessReviewInstanceMyDecisions.Patch.

type AccessReviewInstanceMyDecisionsPatchResult

type AccessReviewInstanceMyDecisionsPatchResult struct {
	AccessReviewDecision
}

AccessReviewInstanceMyDecisionsPatchResult contains the result from method AccessReviewInstanceMyDecisions.Patch.

type AccessReviewInstanceProperties

type AccessReviewInstanceProperties struct {
	// The DateTime when the review instance is scheduled to end.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`

	// The DateTime when the review instance is scheduled to be start.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`

	// READ-ONLY; This read-only field specifies the status of an access review instance.
	Status *AccessReviewInstanceStatus `json:"status,omitempty" azure:"ro"`
}

AccessReviewInstanceProperties - Access Review Instance properties.

func (AccessReviewInstanceProperties) MarshalJSON

func (a AccessReviewInstanceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AccessReviewInstanceProperties.

func (*AccessReviewInstanceProperties) UnmarshalJSON

func (a *AccessReviewInstanceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AccessReviewInstanceProperties.

type AccessReviewInstanceResetDecisionsOptions

type AccessReviewInstanceResetDecisionsOptions struct {
}

AccessReviewInstanceResetDecisionsOptions contains the optional parameters for the AccessReviewInstance.ResetDecisions method.

type AccessReviewInstanceResetDecisionsResponse

type AccessReviewInstanceResetDecisionsResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceResetDecisionsResponse contains the response from method AccessReviewInstance.ResetDecisions.

type AccessReviewInstanceSendRemindersOptions

type AccessReviewInstanceSendRemindersOptions struct {
}

AccessReviewInstanceSendRemindersOptions contains the optional parameters for the AccessReviewInstance.SendReminders method.

type AccessReviewInstanceSendRemindersResponse

type AccessReviewInstanceSendRemindersResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceSendRemindersResponse contains the response from method AccessReviewInstance.SendReminders.

type AccessReviewInstanceStatus

type AccessReviewInstanceStatus string

AccessReviewInstanceStatus - This read-only field specifies the status of an access review instance.

const (
	AccessReviewInstanceStatusApplied       AccessReviewInstanceStatus = "Applied"
	AccessReviewInstanceStatusApplying      AccessReviewInstanceStatus = "Applying"
	AccessReviewInstanceStatusAutoReviewed  AccessReviewInstanceStatus = "AutoReviewed"
	AccessReviewInstanceStatusAutoReviewing AccessReviewInstanceStatus = "AutoReviewing"
	AccessReviewInstanceStatusCompleted     AccessReviewInstanceStatus = "Completed"
	AccessReviewInstanceStatusCompleting    AccessReviewInstanceStatus = "Completing"
	AccessReviewInstanceStatusInProgress    AccessReviewInstanceStatus = "InProgress"
	AccessReviewInstanceStatusInitializing  AccessReviewInstanceStatus = "Initializing"
	AccessReviewInstanceStatusNotStarted    AccessReviewInstanceStatus = "NotStarted"
	AccessReviewInstanceStatusScheduled     AccessReviewInstanceStatus = "Scheduled"
	AccessReviewInstanceStatusStarting      AccessReviewInstanceStatus = "Starting"
)

func PossibleAccessReviewInstanceStatusValues

func PossibleAccessReviewInstanceStatusValues() []AccessReviewInstanceStatus

PossibleAccessReviewInstanceStatusValues returns the possible values for the AccessReviewInstanceStatus const type.

func (AccessReviewInstanceStatus) ToPtr

ToPtr returns a *AccessReviewInstanceStatus pointing to the current value.

type AccessReviewInstanceStopOptions

type AccessReviewInstanceStopOptions struct {
}

AccessReviewInstanceStopOptions contains the optional parameters for the AccessReviewInstance.Stop method.

type AccessReviewInstanceStopResponse

type AccessReviewInstanceStopResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstanceStopResponse contains the response from method AccessReviewInstance.Stop.

type AccessReviewInstancesAssignedForMyApprovalClient

type AccessReviewInstancesAssignedForMyApprovalClient struct {
	// contains filtered or unexported fields
}

AccessReviewInstancesAssignedForMyApprovalClient contains the methods for the AccessReviewInstancesAssignedForMyApproval group. Don't use this type directly, use NewAccessReviewInstancesAssignedForMyApprovalClient() instead.

func NewAccessReviewInstancesAssignedForMyApprovalClient

func NewAccessReviewInstancesAssignedForMyApprovalClient(credential azcore.TokenCredential, options *arm.ClientOptions) *AccessReviewInstancesAssignedForMyApprovalClient

NewAccessReviewInstancesAssignedForMyApprovalClient creates a new instance of AccessReviewInstancesAssignedForMyApprovalClient with the specified values.

func (*AccessReviewInstancesAssignedForMyApprovalClient) GetByID

GetByID - Get single access review instance assigned for my approval. If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewInstancesAssignedForMyApprovalClient) List

List - Get access review instances assigned for my approval. If the operation fails it returns the *ErrorDefinition error type.

type AccessReviewInstancesAssignedForMyApprovalGetByIDOptions

type AccessReviewInstancesAssignedForMyApprovalGetByIDOptions struct {
}

AccessReviewInstancesAssignedForMyApprovalGetByIDOptions contains the optional parameters for the AccessReviewInstancesAssignedForMyApproval.GetByID method.

type AccessReviewInstancesAssignedForMyApprovalGetByIDResponse

type AccessReviewInstancesAssignedForMyApprovalGetByIDResponse struct {
	AccessReviewInstancesAssignedForMyApprovalGetByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstancesAssignedForMyApprovalGetByIDResponse contains the response from method AccessReviewInstancesAssignedForMyApproval.GetByID.

type AccessReviewInstancesAssignedForMyApprovalGetByIDResult

type AccessReviewInstancesAssignedForMyApprovalGetByIDResult struct {
	AccessReviewInstance
}

AccessReviewInstancesAssignedForMyApprovalGetByIDResult contains the result from method AccessReviewInstancesAssignedForMyApproval.GetByID.

type AccessReviewInstancesAssignedForMyApprovalListOptions

type AccessReviewInstancesAssignedForMyApprovalListOptions struct {
}

AccessReviewInstancesAssignedForMyApprovalListOptions contains the optional parameters for the AccessReviewInstancesAssignedForMyApproval.List method.

type AccessReviewInstancesAssignedForMyApprovalListPager

type AccessReviewInstancesAssignedForMyApprovalListPager struct {
	// contains filtered or unexported fields
}

AccessReviewInstancesAssignedForMyApprovalListPager provides operations for iterating over paged responses.

func (*AccessReviewInstancesAssignedForMyApprovalListPager) Err

Err returns the last error encountered while paging.

func (*AccessReviewInstancesAssignedForMyApprovalListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AccessReviewInstancesAssignedForMyApprovalListPager) PageResponse

PageResponse returns the current AccessReviewInstancesAssignedForMyApprovalListResponse page.

type AccessReviewInstancesAssignedForMyApprovalListResponse

type AccessReviewInstancesAssignedForMyApprovalListResponse struct {
	AccessReviewInstancesAssignedForMyApprovalListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstancesAssignedForMyApprovalListResponse contains the response from method AccessReviewInstancesAssignedForMyApproval.List.

type AccessReviewInstancesAssignedForMyApprovalListResult

type AccessReviewInstancesAssignedForMyApprovalListResult struct {
	AccessReviewInstanceListResult
}

AccessReviewInstancesAssignedForMyApprovalListResult contains the result from method AccessReviewInstancesAssignedForMyApproval.List.

type AccessReviewInstancesClient

type AccessReviewInstancesClient struct {
	// contains filtered or unexported fields
}

AccessReviewInstancesClient contains the methods for the AccessReviewInstances group. Don't use this type directly, use NewAccessReviewInstancesClient() instead.

func NewAccessReviewInstancesClient

func NewAccessReviewInstancesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AccessReviewInstancesClient

NewAccessReviewInstancesClient creates a new instance of AccessReviewInstancesClient with the specified values.

func (*AccessReviewInstancesClient) GetByID

GetByID - Get access review instances If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewInstancesClient) List

List - Get access review instances If the operation fails it returns the *ErrorDefinition error type.

type AccessReviewInstancesGetByIDOptions

type AccessReviewInstancesGetByIDOptions struct {
}

AccessReviewInstancesGetByIDOptions contains the optional parameters for the AccessReviewInstances.GetByID method.

type AccessReviewInstancesGetByIDResponse

type AccessReviewInstancesGetByIDResponse struct {
	AccessReviewInstancesGetByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstancesGetByIDResponse contains the response from method AccessReviewInstances.GetByID.

type AccessReviewInstancesGetByIDResult

type AccessReviewInstancesGetByIDResult struct {
	AccessReviewInstance
}

AccessReviewInstancesGetByIDResult contains the result from method AccessReviewInstances.GetByID.

type AccessReviewInstancesListOptions

type AccessReviewInstancesListOptions struct {
}

AccessReviewInstancesListOptions contains the optional parameters for the AccessReviewInstances.List method.

type AccessReviewInstancesListPager

type AccessReviewInstancesListPager struct {
	// contains filtered or unexported fields
}

AccessReviewInstancesListPager provides operations for iterating over paged responses.

func (*AccessReviewInstancesListPager) Err

Err returns the last error encountered while paging.

func (*AccessReviewInstancesListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AccessReviewInstancesListPager) PageResponse

PageResponse returns the current AccessReviewInstancesListResponse page.

type AccessReviewInstancesListResponse

type AccessReviewInstancesListResponse struct {
	AccessReviewInstancesListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewInstancesListResponse contains the response from method AccessReviewInstances.List.

type AccessReviewInstancesListResult

type AccessReviewInstancesListResult struct {
	AccessReviewInstanceListResult
}

AccessReviewInstancesListResult contains the result from method AccessReviewInstances.List.

type AccessReviewRecurrencePattern

type AccessReviewRecurrencePattern struct {
	// The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly.
	Interval *int32 `json:"interval,omitempty"`

	// The recurrence type : weekly, monthly, etc.
	Type *AccessReviewRecurrencePatternType `json:"type,omitempty"`
}

AccessReviewRecurrencePattern - Recurrence Pattern of an Access Review Schedule Definition.

type AccessReviewRecurrencePatternType

type AccessReviewRecurrencePatternType string

AccessReviewRecurrencePatternType - The recurrence type : weekly, monthly, etc.

const (
	AccessReviewRecurrencePatternTypeAbsoluteMonthly AccessReviewRecurrencePatternType = "absoluteMonthly"
	AccessReviewRecurrencePatternTypeWeekly          AccessReviewRecurrencePatternType = "weekly"
)

func PossibleAccessReviewRecurrencePatternTypeValues

func PossibleAccessReviewRecurrencePatternTypeValues() []AccessReviewRecurrencePatternType

PossibleAccessReviewRecurrencePatternTypeValues returns the possible values for the AccessReviewRecurrencePatternType const type.

func (AccessReviewRecurrencePatternType) ToPtr

ToPtr returns a *AccessReviewRecurrencePatternType pointing to the current value.

type AccessReviewRecurrenceRange

type AccessReviewRecurrenceRange struct {
	// The DateTime when the review is scheduled to end. Required if type is endDate
	EndDate *time.Time `json:"endDate,omitempty"`

	// The number of times to repeat the access review. Required and must be positive if type is numbered.
	NumberOfOccurrences *int32 `json:"numberOfOccurrences,omitempty"`

	// The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create.
	StartDate *time.Time `json:"startDate,omitempty"`

	// The recurrence range type. The possible values are: endDate, noEnd, numbered.
	Type *AccessReviewRecurrenceRangeType `json:"type,omitempty"`
}

AccessReviewRecurrenceRange - Recurrence Range of an Access Review Schedule Definition.

func (AccessReviewRecurrenceRange) MarshalJSON

func (a AccessReviewRecurrenceRange) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AccessReviewRecurrenceRange.

func (*AccessReviewRecurrenceRange) UnmarshalJSON

func (a *AccessReviewRecurrenceRange) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AccessReviewRecurrenceRange.

type AccessReviewRecurrenceRangeType

type AccessReviewRecurrenceRangeType string

AccessReviewRecurrenceRangeType - The recurrence range type. The possible values are: endDate, noEnd, numbered.

const (
	AccessReviewRecurrenceRangeTypeEndDate  AccessReviewRecurrenceRangeType = "endDate"
	AccessReviewRecurrenceRangeTypeNoEnd    AccessReviewRecurrenceRangeType = "noEnd"
	AccessReviewRecurrenceRangeTypeNumbered AccessReviewRecurrenceRangeType = "numbered"
)

func PossibleAccessReviewRecurrenceRangeTypeValues

func PossibleAccessReviewRecurrenceRangeTypeValues() []AccessReviewRecurrenceRangeType

PossibleAccessReviewRecurrenceRangeTypeValues returns the possible values for the AccessReviewRecurrenceRangeType const type.

func (AccessReviewRecurrenceRangeType) ToPtr

ToPtr returns a *AccessReviewRecurrenceRangeType pointing to the current value.

type AccessReviewRecurrenceSettings

type AccessReviewRecurrenceSettings struct {
	// Access Review schedule definition recurrence pattern.
	Pattern *AccessReviewRecurrencePattern `json:"pattern,omitempty"`

	// Access Review schedule definition recurrence range.
	Range *AccessReviewRecurrenceRange `json:"range,omitempty"`
}

AccessReviewRecurrenceSettings - Recurrence Settings of an Access Review Schedule Definition.

type AccessReviewResult

type AccessReviewResult string

AccessReviewResult - The decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny

const (
	AccessReviewResultApprove     AccessReviewResult = "Approve"
	AccessReviewResultDeny        AccessReviewResult = "Deny"
	AccessReviewResultDontKnow    AccessReviewResult = "DontKnow"
	AccessReviewResultNotNotified AccessReviewResult = "NotNotified"
	AccessReviewResultNotReviewed AccessReviewResult = "NotReviewed"
)

func PossibleAccessReviewResultValues

func PossibleAccessReviewResultValues() []AccessReviewResult

PossibleAccessReviewResultValues returns the possible values for the AccessReviewResult const type.

func (AccessReviewResult) ToPtr

ToPtr returns a *AccessReviewResult pointing to the current value.

type AccessReviewReviewer

type AccessReviewReviewer struct {
	// The id of the reviewer(user/servicePrincipal)
	PrincipalID *string `json:"principalId,omitempty"`

	// READ-ONLY; The identity type : user/servicePrincipal
	PrincipalType *AccessReviewReviewerType `json:"principalType,omitempty" azure:"ro"`
}

AccessReviewReviewer - Descriptor for what needs to be reviewed

type AccessReviewReviewerType

type AccessReviewReviewerType string

AccessReviewReviewerType - The identity type : user/servicePrincipal

const (
	AccessReviewReviewerTypeServicePrincipal AccessReviewReviewerType = "servicePrincipal"
	AccessReviewReviewerTypeUser             AccessReviewReviewerType = "user"
)

func PossibleAccessReviewReviewerTypeValues

func PossibleAccessReviewReviewerTypeValues() []AccessReviewReviewerType

PossibleAccessReviewReviewerTypeValues returns the possible values for the AccessReviewReviewerType const type.

func (AccessReviewReviewerType) ToPtr

ToPtr returns a *AccessReviewReviewerType pointing to the current value.

type AccessReviewScheduleDefinition

type AccessReviewScheduleDefinition struct {
	// Access Review properties.
	Properties *AccessReviewScheduleDefinitionProperties `json:"properties,omitempty"`

	// READ-ONLY; The access review schedule definition id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The access review schedule definition unique id.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

AccessReviewScheduleDefinition - Access Review Schedule Definition.

type AccessReviewScheduleDefinitionListResult

type AccessReviewScheduleDefinitionListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Access Review Schedule Definition list.
	Value []*AccessReviewScheduleDefinition `json:"value,omitempty"`
}

AccessReviewScheduleDefinitionListResult - List of Access Review Schedule Definitions.

func (AccessReviewScheduleDefinitionListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AccessReviewScheduleDefinitionListResult.

type AccessReviewScheduleDefinitionProperties

type AccessReviewScheduleDefinitionProperties struct {
	// The description provided by the access review creator and visible to admins.
	DescriptionForAdmins *string `json:"descriptionForAdmins,omitempty"`

	// The description provided by the access review creator to be shown to reviewers.
	DescriptionForReviewers *string `json:"descriptionForReviewers,omitempty"`

	// The display name for the schedule definition.
	DisplayName *string `json:"displayName,omitempty"`

	// This is the collection of instances returned when one does an expand on it.
	Instances []*AccessReviewInstance `json:"instances,omitempty"`

	// This is the collection of reviewers.
	Reviewers []*AccessReviewReviewer `json:"reviewers,omitempty"`

	// Access Review Settings.
	Settings *AccessReviewScheduleSettings `json:"settings,omitempty"`

	// READ-ONLY; The user or other identity who created this review.
	CreatedBy *AccessReviewActorIdentity `json:"createdBy,omitempty" azure:"ro"`

	// READ-ONLY; This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases,
	// the reviewers may not be assigned and instead be chosen
	// dynamically. For example managers review or self review.
	ReviewersType *AccessReviewScheduleDefinitionReviewersType `json:"reviewersType,omitempty" azure:"ro"`

	// READ-ONLY; This is used to define what to include in scope of the review. The scope definition includes the resourceId and roleDefinitionId.
	Scope *AccessReviewScope `json:"scope,omitempty" azure:"ro"`

	// READ-ONLY; This read-only field specifies the status of an accessReview.
	Status *AccessReviewScheduleDefinitionStatus `json:"status,omitempty" azure:"ro"`
}

AccessReviewScheduleDefinitionProperties - Access Review.

func (AccessReviewScheduleDefinitionProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type AccessReviewScheduleDefinitionProperties.

type AccessReviewScheduleDefinitionReviewersType

type AccessReviewScheduleDefinitionReviewersType string

AccessReviewScheduleDefinitionReviewersType - This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review.

const (
	AccessReviewScheduleDefinitionReviewersTypeAssigned AccessReviewScheduleDefinitionReviewersType = "Assigned"
	AccessReviewScheduleDefinitionReviewersTypeManagers AccessReviewScheduleDefinitionReviewersType = "Managers"
	AccessReviewScheduleDefinitionReviewersTypeSelf     AccessReviewScheduleDefinitionReviewersType = "Self"
)

func PossibleAccessReviewScheduleDefinitionReviewersTypeValues

func PossibleAccessReviewScheduleDefinitionReviewersTypeValues() []AccessReviewScheduleDefinitionReviewersType

PossibleAccessReviewScheduleDefinitionReviewersTypeValues returns the possible values for the AccessReviewScheduleDefinitionReviewersType const type.

func (AccessReviewScheduleDefinitionReviewersType) ToPtr

ToPtr returns a *AccessReviewScheduleDefinitionReviewersType pointing to the current value.

type AccessReviewScheduleDefinitionStatus

type AccessReviewScheduleDefinitionStatus string

AccessReviewScheduleDefinitionStatus - This read-only field specifies the status of an accessReview.

const (
	AccessReviewScheduleDefinitionStatusApplied       AccessReviewScheduleDefinitionStatus = "Applied"
	AccessReviewScheduleDefinitionStatusApplying      AccessReviewScheduleDefinitionStatus = "Applying"
	AccessReviewScheduleDefinitionStatusAutoReviewed  AccessReviewScheduleDefinitionStatus = "AutoReviewed"
	AccessReviewScheduleDefinitionStatusAutoReviewing AccessReviewScheduleDefinitionStatus = "AutoReviewing"
	AccessReviewScheduleDefinitionStatusCompleted     AccessReviewScheduleDefinitionStatus = "Completed"
	AccessReviewScheduleDefinitionStatusCompleting    AccessReviewScheduleDefinitionStatus = "Completing"
	AccessReviewScheduleDefinitionStatusInProgress    AccessReviewScheduleDefinitionStatus = "InProgress"
	AccessReviewScheduleDefinitionStatusInitializing  AccessReviewScheduleDefinitionStatus = "Initializing"
	AccessReviewScheduleDefinitionStatusNotStarted    AccessReviewScheduleDefinitionStatus = "NotStarted"
	AccessReviewScheduleDefinitionStatusScheduled     AccessReviewScheduleDefinitionStatus = "Scheduled"
	AccessReviewScheduleDefinitionStatusStarting      AccessReviewScheduleDefinitionStatus = "Starting"
)

func PossibleAccessReviewScheduleDefinitionStatusValues

func PossibleAccessReviewScheduleDefinitionStatusValues() []AccessReviewScheduleDefinitionStatus

PossibleAccessReviewScheduleDefinitionStatusValues returns the possible values for the AccessReviewScheduleDefinitionStatus const type.

func (AccessReviewScheduleDefinitionStatus) ToPtr

ToPtr returns a *AccessReviewScheduleDefinitionStatus pointing to the current value.

type AccessReviewScheduleDefinitionsAssignedForMyApprovalClient

type AccessReviewScheduleDefinitionsAssignedForMyApprovalClient struct {
	// contains filtered or unexported fields
}

AccessReviewScheduleDefinitionsAssignedForMyApprovalClient contains the methods for the AccessReviewScheduleDefinitionsAssignedForMyApproval group. Don't use this type directly, use NewAccessReviewScheduleDefinitionsAssignedForMyApprovalClient() instead.

func NewAccessReviewScheduleDefinitionsAssignedForMyApprovalClient

func NewAccessReviewScheduleDefinitionsAssignedForMyApprovalClient(credential azcore.TokenCredential, options *arm.ClientOptions) *AccessReviewScheduleDefinitionsAssignedForMyApprovalClient

NewAccessReviewScheduleDefinitionsAssignedForMyApprovalClient creates a new instance of AccessReviewScheduleDefinitionsAssignedForMyApprovalClient with the specified values.

func (*AccessReviewScheduleDefinitionsAssignedForMyApprovalClient) List

List - Get access review instances assigned for my approval. If the operation fails it returns the *ErrorDefinition error type.

type AccessReviewScheduleDefinitionsAssignedForMyApprovalListOptions

type AccessReviewScheduleDefinitionsAssignedForMyApprovalListOptions struct {
}

AccessReviewScheduleDefinitionsAssignedForMyApprovalListOptions contains the optional parameters for the AccessReviewScheduleDefinitionsAssignedForMyApproval.List method.

type AccessReviewScheduleDefinitionsAssignedForMyApprovalListPager

type AccessReviewScheduleDefinitionsAssignedForMyApprovalListPager struct {
	// contains filtered or unexported fields
}

AccessReviewScheduleDefinitionsAssignedForMyApprovalListPager provides operations for iterating over paged responses.

func (*AccessReviewScheduleDefinitionsAssignedForMyApprovalListPager) Err

Err returns the last error encountered while paging.

func (*AccessReviewScheduleDefinitionsAssignedForMyApprovalListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AccessReviewScheduleDefinitionsAssignedForMyApprovalListPager) PageResponse

PageResponse returns the current AccessReviewScheduleDefinitionsAssignedForMyApprovalListResponse page.

type AccessReviewScheduleDefinitionsAssignedForMyApprovalListResponse

type AccessReviewScheduleDefinitionsAssignedForMyApprovalListResponse struct {
	AccessReviewScheduleDefinitionsAssignedForMyApprovalListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewScheduleDefinitionsAssignedForMyApprovalListResponse contains the response from method AccessReviewScheduleDefinitionsAssignedForMyApproval.List.

type AccessReviewScheduleDefinitionsAssignedForMyApprovalListResult

type AccessReviewScheduleDefinitionsAssignedForMyApprovalListResult struct {
	AccessReviewScheduleDefinitionListResult
}

AccessReviewScheduleDefinitionsAssignedForMyApprovalListResult contains the result from method AccessReviewScheduleDefinitionsAssignedForMyApproval.List.

type AccessReviewScheduleDefinitionsClient

type AccessReviewScheduleDefinitionsClient struct {
	// contains filtered or unexported fields
}

AccessReviewScheduleDefinitionsClient contains the methods for the AccessReviewScheduleDefinitions group. Don't use this type directly, use NewAccessReviewScheduleDefinitionsClient() instead.

func NewAccessReviewScheduleDefinitionsClient

func NewAccessReviewScheduleDefinitionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AccessReviewScheduleDefinitionsClient

NewAccessReviewScheduleDefinitionsClient creates a new instance of AccessReviewScheduleDefinitionsClient with the specified values.

func (*AccessReviewScheduleDefinitionsClient) CreateOrUpdateByID

CreateOrUpdateByID - Create or Update access review schedule definition. If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewScheduleDefinitionsClient) DeleteByID

DeleteByID - Delete access review schedule definition If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewScheduleDefinitionsClient) GetByID

GetByID - Get single access review definition If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewScheduleDefinitionsClient) List

List - Get access review schedule definitions If the operation fails it returns the *ErrorDefinition error type.

func (*AccessReviewScheduleDefinitionsClient) Stop

Stop - Stop access review definition If the operation fails it returns the *ErrorDefinition error type.

type AccessReviewScheduleDefinitionsCreateOrUpdateByIDOptions

type AccessReviewScheduleDefinitionsCreateOrUpdateByIDOptions struct {
}

AccessReviewScheduleDefinitionsCreateOrUpdateByIDOptions contains the optional parameters for the AccessReviewScheduleDefinitions.CreateOrUpdateByID method.

type AccessReviewScheduleDefinitionsCreateOrUpdateByIDResponse

type AccessReviewScheduleDefinitionsCreateOrUpdateByIDResponse struct {
	AccessReviewScheduleDefinitionsCreateOrUpdateByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewScheduleDefinitionsCreateOrUpdateByIDResponse contains the response from method AccessReviewScheduleDefinitions.CreateOrUpdateByID.

type AccessReviewScheduleDefinitionsCreateOrUpdateByIDResult

type AccessReviewScheduleDefinitionsCreateOrUpdateByIDResult struct {
	AccessReviewScheduleDefinition
}

AccessReviewScheduleDefinitionsCreateOrUpdateByIDResult contains the result from method AccessReviewScheduleDefinitions.CreateOrUpdateByID.

type AccessReviewScheduleDefinitionsDeleteByIDOptions

type AccessReviewScheduleDefinitionsDeleteByIDOptions struct {
}

AccessReviewScheduleDefinitionsDeleteByIDOptions contains the optional parameters for the AccessReviewScheduleDefinitions.DeleteByID method.

type AccessReviewScheduleDefinitionsDeleteByIDResponse

type AccessReviewScheduleDefinitionsDeleteByIDResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewScheduleDefinitionsDeleteByIDResponse contains the response from method AccessReviewScheduleDefinitions.DeleteByID.

type AccessReviewScheduleDefinitionsGetByIDOptions

type AccessReviewScheduleDefinitionsGetByIDOptions struct {
}

AccessReviewScheduleDefinitionsGetByIDOptions contains the optional parameters for the AccessReviewScheduleDefinitions.GetByID method.

type AccessReviewScheduleDefinitionsGetByIDResponse

type AccessReviewScheduleDefinitionsGetByIDResponse struct {
	AccessReviewScheduleDefinitionsGetByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewScheduleDefinitionsGetByIDResponse contains the response from method AccessReviewScheduleDefinitions.GetByID.

type AccessReviewScheduleDefinitionsGetByIDResult

type AccessReviewScheduleDefinitionsGetByIDResult struct {
	AccessReviewScheduleDefinition
}

AccessReviewScheduleDefinitionsGetByIDResult contains the result from method AccessReviewScheduleDefinitions.GetByID.

type AccessReviewScheduleDefinitionsListOptions

type AccessReviewScheduleDefinitionsListOptions struct {
}

AccessReviewScheduleDefinitionsListOptions contains the optional parameters for the AccessReviewScheduleDefinitions.List method.

type AccessReviewScheduleDefinitionsListPager

type AccessReviewScheduleDefinitionsListPager struct {
	// contains filtered or unexported fields
}

AccessReviewScheduleDefinitionsListPager provides operations for iterating over paged responses.

func (*AccessReviewScheduleDefinitionsListPager) Err

Err returns the last error encountered while paging.

func (*AccessReviewScheduleDefinitionsListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AccessReviewScheduleDefinitionsListPager) PageResponse

PageResponse returns the current AccessReviewScheduleDefinitionsListResponse page.

type AccessReviewScheduleDefinitionsListResponse

type AccessReviewScheduleDefinitionsListResponse struct {
	AccessReviewScheduleDefinitionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewScheduleDefinitionsListResponse contains the response from method AccessReviewScheduleDefinitions.List.

type AccessReviewScheduleDefinitionsListResult

type AccessReviewScheduleDefinitionsListResult struct {
	AccessReviewScheduleDefinitionListResult
}

AccessReviewScheduleDefinitionsListResult contains the result from method AccessReviewScheduleDefinitions.List.

type AccessReviewScheduleDefinitionsStopOptions

type AccessReviewScheduleDefinitionsStopOptions struct {
}

AccessReviewScheduleDefinitionsStopOptions contains the optional parameters for the AccessReviewScheduleDefinitions.Stop method.

type AccessReviewScheduleDefinitionsStopResponse

type AccessReviewScheduleDefinitionsStopResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccessReviewScheduleDefinitionsStopResponse contains the response from method AccessReviewScheduleDefinitions.Stop.

type AccessReviewScheduleSettings

type AccessReviewScheduleSettings struct {
	// Flag to indicate whether auto-apply capability, to automatically change the target object access resource, is enabled. If not enabled, a user must, after
	// the review completes, apply the access review.
	AutoApplyDecisionsEnabled *bool `json:"autoApplyDecisionsEnabled,omitempty"`

	// This specifies the behavior for the autoReview feature when an access review completes.
	DefaultDecision *DefaultDecisionType `json:"defaultDecision,omitempty"`

	// Flag to indicate whether reviewers are required to provide a justification when reviewing access.
	DefaultDecisionEnabled *bool `json:"defaultDecisionEnabled,omitempty"`

	// The duration in days for an instance.
	InstanceDurationInDays *int32 `json:"instanceDurationInDays,omitempty"`

	// Flag to indicate whether the reviewer is required to pass justification when recording a decision.
	JustificationRequiredOnApproval *bool `json:"justificationRequiredOnApproval,omitempty"`

	// Flag to indicate whether sending mails to reviewers and the review creator is enabled.
	MailNotificationsEnabled *bool `json:"mailNotificationsEnabled,omitempty"`

	// Flag to indicate whether showing recommendations to reviewers is enabled.
	RecommendationsEnabled *bool `json:"recommendationsEnabled,omitempty"`

	// Access Review Settings.
	Recurrence *AccessReviewRecurrenceSettings `json:"recurrence,omitempty"`

	// Flag to indicate whether sending reminder emails to reviewers are enabled.
	ReminderNotificationsEnabled *bool `json:"reminderNotificationsEnabled,omitempty"`
}

AccessReviewScheduleSettings - Settings of an Access Review.

type AccessReviewScope

type AccessReviewScope struct {
	// READ-ONLY; The identity type user/servicePrincipal to review
	PrincipalType *AccessReviewScopePrincipalType `json:"principalType,omitempty" azure:"ro"`

	// READ-ONLY; ResourceId in which this review is getting created
	ResourceID *string `json:"resourceId,omitempty" azure:"ro"`

	// READ-ONLY; This is used to indicate the role being reviewed
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty" azure:"ro"`
}

AccessReviewScope - Descriptor for what needs to be reviewed

type AccessReviewScopePrincipalType

type AccessReviewScopePrincipalType string

AccessReviewScopePrincipalType - The identity type user/servicePrincipal to review

const (
	AccessReviewScopePrincipalTypeServicePrincipal AccessReviewScopePrincipalType = "servicePrincipal"
	AccessReviewScopePrincipalTypeUser             AccessReviewScopePrincipalType = "user"
)

func PossibleAccessReviewScopePrincipalTypeValues

func PossibleAccessReviewScopePrincipalTypeValues() []AccessReviewScopePrincipalType

PossibleAccessReviewScopePrincipalTypeValues returns the possible values for the AccessReviewScopePrincipalType const type.

func (AccessReviewScopePrincipalType) ToPtr

ToPtr returns a *AccessReviewScopePrincipalType pointing to the current value.

type ApprovalMode

type ApprovalMode string

ApprovalMode - The type of rule

const (
	ApprovalModeNoApproval  ApprovalMode = "NoApproval"
	ApprovalModeParallel    ApprovalMode = "Parallel"
	ApprovalModeSerial      ApprovalMode = "Serial"
	ApprovalModeSingleStage ApprovalMode = "SingleStage"
)

func PossibleApprovalModeValues

func PossibleApprovalModeValues() []ApprovalMode

PossibleApprovalModeValues returns the possible values for the ApprovalMode const type.

func (ApprovalMode) ToPtr

func (c ApprovalMode) ToPtr() *ApprovalMode

ToPtr returns a *ApprovalMode pointing to the current value.

type ApprovalSettings

type ApprovalSettings struct {
	// The type of rule
	ApprovalMode *ApprovalMode `json:"approvalMode,omitempty"`

	// The approval stages of the request.
	ApprovalStages []*ApprovalStage `json:"approvalStages,omitempty"`

	// Determine whether approval is required or not.
	IsApprovalRequired *bool `json:"isApprovalRequired,omitempty"`

	// Determine whether approval is required for assignment extension.
	IsApprovalRequiredForExtension *bool `json:"isApprovalRequiredForExtension,omitempty"`

	// Determine whether requestor justification required.
	IsRequestorJustificationRequired *bool `json:"isRequestorJustificationRequired,omitempty"`
}

ApprovalSettings - The approval settings.

func (ApprovalSettings) MarshalJSON

func (a ApprovalSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApprovalSettings.

type ApprovalStage

type ApprovalStage struct {
	// The time in days when approval request would be timed out.
	ApprovalStageTimeOutInDays *int32 `json:"approvalStageTimeOutInDays,omitempty"`

	// The escalation approver of the request.
	EscalationApprovers []*UserSet `json:"escalationApprovers,omitempty"`

	// The time in minutes when the approval request would be escalated if the primary approver does not approves.
	EscalationTimeInMinutes *int32 `json:"escalationTimeInMinutes,omitempty"`

	// Determine whether approver need to provide justification for his decision.
	IsApproverJustificationRequired *bool `json:"isApproverJustificationRequired,omitempty"`

	// The value determine whether escalation feature is enabled.
	IsEscalationEnabled *bool `json:"isEscalationEnabled,omitempty"`

	// The primary approver of the request.
	PrimaryApprovers []*UserSet `json:"primaryApprovers,omitempty"`
}

ApprovalStage - The approval stage.

func (ApprovalStage) MarshalJSON

func (a ApprovalStage) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ApprovalStage.

type AssignmentType

type AssignmentType string

AssignmentType - Assignment type of the role assignment schedule

const (
	AssignmentTypeActivated AssignmentType = "Activated"
	AssignmentTypeAssigned  AssignmentType = "Assigned"
)

func PossibleAssignmentTypeValues

func PossibleAssignmentTypeValues() []AssignmentType

PossibleAssignmentTypeValues returns the possible values for the AssignmentType const type.

func (AssignmentType) ToPtr

func (c AssignmentType) ToPtr() *AssignmentType

ToPtr returns a *AssignmentType pointing to the current value.

type CloudError

type CloudError struct {

	// An error response from the service.
	InnerError *CloudErrorBody `json:"error,omitempty"`
	// contains filtered or unexported fields
}

CloudError - An error response from the service. Implements the error and azcore.HTTPResponse interfaces.

func (CloudError) Error

func (e CloudError) Error() string

Error implements the error interface for type CloudError. The contents of the error text are not contractual and subject to change.

type CloudErrorBody

type CloudErrorBody struct {
	// An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
	Code *string `json:"code,omitempty"`

	// A message describing the error, intended to be suitable for display in a user interface.
	Message *string `json:"message,omitempty"`
}

CloudErrorBody - An error response from the service.

type DecisionTargetType

type DecisionTargetType string

DecisionTargetType - The type of decision target : User/ServicePrincipal

const (
	DecisionTargetTypeServicePrincipal DecisionTargetType = "servicePrincipal"
	DecisionTargetTypeUser             DecisionTargetType = "user"
)

func PossibleDecisionTargetTypeValues

func PossibleDecisionTargetTypeValues() []DecisionTargetType

PossibleDecisionTargetTypeValues returns the possible values for the DecisionTargetType const type.

func (DecisionTargetType) ToPtr

ToPtr returns a *DecisionTargetType pointing to the current value.

type DefaultDecisionType

type DefaultDecisionType string

DefaultDecisionType - This specifies the behavior for the autoReview feature when an access review completes.

const (
	DefaultDecisionTypeApprove        DefaultDecisionType = "Approve"
	DefaultDecisionTypeDeny           DefaultDecisionType = "Deny"
	DefaultDecisionTypeRecommendation DefaultDecisionType = "Recommendation"
)

func PossibleDefaultDecisionTypeValues

func PossibleDefaultDecisionTypeValues() []DefaultDecisionType

PossibleDefaultDecisionTypeValues returns the possible values for the DefaultDecisionType const type.

func (DefaultDecisionType) ToPtr

ToPtr returns a *DefaultDecisionType pointing to the current value.

type DenyAssignment

type DenyAssignment struct {
	// Deny assignment properties.
	Properties *DenyAssignmentProperties `json:"properties,omitempty"`

	// READ-ONLY; The deny assignment ID.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The deny assignment name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The deny assignment type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

DenyAssignment - Deny Assignment

type DenyAssignmentFilter

type DenyAssignmentFilter struct {
	// Return deny assignment with specified name.
	DenyAssignmentName *string `json:"denyAssignmentName,omitempty"`

	// Return all deny assignments where the specified principal is listed either in the principals list or exclude principals list of deny assignments.
	GdprExportPrincipalID *string `json:"gdprExportPrincipalId,omitempty"`

	// Return all deny assignments where the specified principal is listed in the principals list of deny assignments.
	PrincipalID *string `json:"principalId,omitempty"`
}

DenyAssignmentFilter - Deny Assignments filter

type DenyAssignmentListResult

type DenyAssignmentListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Deny assignment list.
	Value []*DenyAssignment `json:"value,omitempty"`
}

DenyAssignmentListResult - Deny assignment list operation result.

func (DenyAssignmentListResult) MarshalJSON

func (d DenyAssignmentListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DenyAssignmentListResult.

type DenyAssignmentPermission

type DenyAssignmentPermission struct {
	// Actions to which the deny assignment does not grant access.
	Actions []*string `json:"actions,omitempty"`

	// Data actions to which the deny assignment does not grant access.
	DataActions []*string `json:"dataActions,omitempty"`

	// Actions to exclude from that the deny assignment does not grant access.
	NotActions []*string `json:"notActions,omitempty"`

	// Data actions to exclude from that the deny assignment does not grant access.
	NotDataActions []*string `json:"notDataActions,omitempty"`
}

DenyAssignmentPermission - Deny assignment permissions.

func (DenyAssignmentPermission) MarshalJSON

func (d DenyAssignmentPermission) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DenyAssignmentPermission.

type DenyAssignmentProperties

type DenyAssignmentProperties struct {
	// The display name of the deny assignment.
	DenyAssignmentName *string `json:"denyAssignmentName,omitempty"`

	// The description of the deny assignment.
	Description *string `json:"description,omitempty"`

	// Determines if the deny assignment applies to child scopes. Default value is false.
	DoNotApplyToChildScopes *bool `json:"doNotApplyToChildScopes,omitempty"`

	// Array of principals to which the deny assignment does not apply.
	ExcludePrincipals []*Principal `json:"excludePrincipals,omitempty"`

	// Specifies whether this deny assignment was created by Azure and cannot be edited or deleted.
	IsSystemProtected *bool `json:"isSystemProtected,omitempty"`

	// An array of permissions that are denied by the deny assignment.
	Permissions []*DenyAssignmentPermission `json:"permissions,omitempty"`

	// Array of principals to which the deny assignment applies.
	Principals []*Principal `json:"principals,omitempty"`

	// The deny assignment scope.
	Scope *string `json:"scope,omitempty"`
}

DenyAssignmentProperties - Deny assignment properties.

func (DenyAssignmentProperties) MarshalJSON

func (d DenyAssignmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DenyAssignmentProperties.

type DenyAssignmentsClient

type DenyAssignmentsClient struct {
	// contains filtered or unexported fields
}

DenyAssignmentsClient contains the methods for the DenyAssignments group. Don't use this type directly, use NewDenyAssignmentsClient() instead.

func NewDenyAssignmentsClient

func NewDenyAssignmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *DenyAssignmentsClient

NewDenyAssignmentsClient creates a new instance of DenyAssignmentsClient with the specified values.

func (*DenyAssignmentsClient) Get

func (client *DenyAssignmentsClient) Get(ctx context.Context, scope string, denyAssignmentID string, options *DenyAssignmentsGetOptions) (DenyAssignmentsGetResponse, error)

Get - Get the specified deny assignment. If the operation fails it returns the *ErrorResponse error type.

func (*DenyAssignmentsClient) GetByID

GetByID - Gets a deny assignment by ID. If the operation fails it returns the *ErrorResponse error type.

func (*DenyAssignmentsClient) List

List - Gets all deny assignments for the subscription. If the operation fails it returns the *ErrorResponse error type.

func (*DenyAssignmentsClient) ListForResource

func (client *DenyAssignmentsClient) ListForResource(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, options *DenyAssignmentsListForResourceOptions) *DenyAssignmentsListForResourcePager

ListForResource - Gets deny assignments for a resource. If the operation fails it returns the *ErrorResponse error type.

func (*DenyAssignmentsClient) ListForResourceGroup

ListForResourceGroup - Gets deny assignments for a resource group. If the operation fails it returns the *ErrorResponse error type.

func (*DenyAssignmentsClient) ListForScope

ListForScope - Gets deny assignments for a scope. If the operation fails it returns the *ErrorResponse error type.

type DenyAssignmentsGetByIDOptions

type DenyAssignmentsGetByIDOptions struct {
}

DenyAssignmentsGetByIDOptions contains the optional parameters for the DenyAssignments.GetByID method.

type DenyAssignmentsGetByIDResponse

type DenyAssignmentsGetByIDResponse struct {
	DenyAssignmentsGetByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DenyAssignmentsGetByIDResponse contains the response from method DenyAssignments.GetByID.

type DenyAssignmentsGetByIDResult

type DenyAssignmentsGetByIDResult struct {
	DenyAssignment
}

DenyAssignmentsGetByIDResult contains the result from method DenyAssignments.GetByID.

type DenyAssignmentsGetOptions

type DenyAssignmentsGetOptions struct {
}

DenyAssignmentsGetOptions contains the optional parameters for the DenyAssignments.Get method.

type DenyAssignmentsGetResponse

type DenyAssignmentsGetResponse struct {
	DenyAssignmentsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DenyAssignmentsGetResponse contains the response from method DenyAssignments.Get.

type DenyAssignmentsGetResult

type DenyAssignmentsGetResult struct {
	DenyAssignment
}

DenyAssignmentsGetResult contains the result from method DenyAssignments.Get.

type DenyAssignmentsListForResourceGroupOptions

type DenyAssignmentsListForResourceGroupOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}'
	// to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope
	// for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified
	// principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is
	// the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId
	// filter is used, only the deny assignment name and description properties are returned.
	Filter *string
}

DenyAssignmentsListForResourceGroupOptions contains the optional parameters for the DenyAssignments.ListForResourceGroup method.

type DenyAssignmentsListForResourceGroupPager

type DenyAssignmentsListForResourceGroupPager struct {
	// contains filtered or unexported fields
}

DenyAssignmentsListForResourceGroupPager provides operations for iterating over paged responses.

func (*DenyAssignmentsListForResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*DenyAssignmentsListForResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DenyAssignmentsListForResourceGroupPager) PageResponse

PageResponse returns the current DenyAssignmentsListForResourceGroupResponse page.

type DenyAssignmentsListForResourceGroupResponse

type DenyAssignmentsListForResourceGroupResponse struct {
	DenyAssignmentsListForResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DenyAssignmentsListForResourceGroupResponse contains the response from method DenyAssignments.ListForResourceGroup.

type DenyAssignmentsListForResourceGroupResult

type DenyAssignmentsListForResourceGroupResult struct {
	DenyAssignmentListResult
}

DenyAssignmentsListForResourceGroupResult contains the result from method DenyAssignments.ListForResourceGroup.

type DenyAssignmentsListForResourceOptions

type DenyAssignmentsListForResourceOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}'
	// to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope
	// for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified
	// principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is
	// the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId
	// filter is used, only the deny assignment name and description properties are returned.
	Filter *string
}

DenyAssignmentsListForResourceOptions contains the optional parameters for the DenyAssignments.ListForResource method.

type DenyAssignmentsListForResourcePager

type DenyAssignmentsListForResourcePager struct {
	// contains filtered or unexported fields
}

DenyAssignmentsListForResourcePager provides operations for iterating over paged responses.

func (*DenyAssignmentsListForResourcePager) Err

Err returns the last error encountered while paging.

func (*DenyAssignmentsListForResourcePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DenyAssignmentsListForResourcePager) PageResponse

PageResponse returns the current DenyAssignmentsListForResourceResponse page.

type DenyAssignmentsListForResourceResponse

type DenyAssignmentsListForResourceResponse struct {
	DenyAssignmentsListForResourceResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DenyAssignmentsListForResourceResponse contains the response from method DenyAssignments.ListForResource.

type DenyAssignmentsListForResourceResult

type DenyAssignmentsListForResourceResult struct {
	DenyAssignmentListResult
}

DenyAssignmentsListForResourceResult contains the result from method DenyAssignments.ListForResource.

type DenyAssignmentsListForScopeOptions

type DenyAssignmentsListForScopeOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}'
	// to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope
	// for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified
	// principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is
	// the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId
	// filter is used, only the deny assignment name and description properties are returned.
	Filter *string
}

DenyAssignmentsListForScopeOptions contains the optional parameters for the DenyAssignments.ListForScope method.

type DenyAssignmentsListForScopePager

type DenyAssignmentsListForScopePager struct {
	// contains filtered or unexported fields
}

DenyAssignmentsListForScopePager provides operations for iterating over paged responses.

func (*DenyAssignmentsListForScopePager) Err

Err returns the last error encountered while paging.

func (*DenyAssignmentsListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DenyAssignmentsListForScopePager) PageResponse

PageResponse returns the current DenyAssignmentsListForScopeResponse page.

type DenyAssignmentsListForScopeResponse

type DenyAssignmentsListForScopeResponse struct {
	DenyAssignmentsListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DenyAssignmentsListForScopeResponse contains the response from method DenyAssignments.ListForScope.

type DenyAssignmentsListForScopeResult

type DenyAssignmentsListForScopeResult struct {
	DenyAssignmentListResult
}

DenyAssignmentsListForScopeResult contains the result from method DenyAssignments.ListForScope.

type DenyAssignmentsListOptions

type DenyAssignmentsListOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}'
	// to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope
	// for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified
	// principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is
	// the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId
	// filter is used, only the deny assignment name and description properties are returned.
	Filter *string
}

DenyAssignmentsListOptions contains the optional parameters for the DenyAssignments.List method.

type DenyAssignmentsListPager

type DenyAssignmentsListPager struct {
	// contains filtered or unexported fields
}

DenyAssignmentsListPager provides operations for iterating over paged responses.

func (*DenyAssignmentsListPager) Err

Err returns the last error encountered while paging.

func (*DenyAssignmentsListPager) NextPage

func (p *DenyAssignmentsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*DenyAssignmentsListPager) PageResponse

PageResponse returns the current DenyAssignmentsListResponse page.

type DenyAssignmentsListResponse

type DenyAssignmentsListResponse struct {
	DenyAssignmentsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DenyAssignmentsListResponse contains the response from method DenyAssignments.List.

type DenyAssignmentsListResult

type DenyAssignmentsListResult struct {
	DenyAssignmentListResult
}

DenyAssignmentsListResult contains the result from method DenyAssignments.List.

type EligibleChildResource

type EligibleChildResource struct {
	// READ-ONLY; The resource scope Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The resource name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

EligibleChildResource - Eligible child resource

type EligibleChildResourcesClient

type EligibleChildResourcesClient struct {
	// contains filtered or unexported fields
}

EligibleChildResourcesClient contains the methods for the EligibleChildResources group. Don't use this type directly, use NewEligibleChildResourcesClient() instead.

func NewEligibleChildResourcesClient

func NewEligibleChildResourcesClient(credential azcore.TokenCredential, options *arm.ClientOptions) *EligibleChildResourcesClient

NewEligibleChildResourcesClient creates a new instance of EligibleChildResourcesClient with the specified values.

func (*EligibleChildResourcesClient) Get

Get - Get the child resources of a resource on which user has eligible access If the operation fails it returns the *CloudError error type.

type EligibleChildResourcesGetOptions

type EligibleChildResourcesGetOptions struct {
	// The filter to apply on the operation. Use $filter=resourceType+eq+'Subscription' to filter on only resource of type = 'Subscription'. Use $filter=resourceType+eq+'subscription'+or+resourceType+eq+'resourcegroup'
	// to filter on resource of type = 'Subscription' or 'ResourceGroup'
	Filter *string
}

EligibleChildResourcesGetOptions contains the optional parameters for the EligibleChildResources.Get method.

type EligibleChildResourcesGetPager

type EligibleChildResourcesGetPager struct {
	// contains filtered or unexported fields
}

EligibleChildResourcesGetPager provides operations for iterating over paged responses.

func (*EligibleChildResourcesGetPager) Err

Err returns the last error encountered while paging.

func (*EligibleChildResourcesGetPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*EligibleChildResourcesGetPager) PageResponse

PageResponse returns the current EligibleChildResourcesGetResponse page.

type EligibleChildResourcesGetResponse

type EligibleChildResourcesGetResponse struct {
	EligibleChildResourcesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

EligibleChildResourcesGetResponse contains the response from method EligibleChildResources.Get.

type EligibleChildResourcesGetResult

type EligibleChildResourcesGetResult struct {
	EligibleChildResourcesListResult
}

EligibleChildResourcesGetResult contains the result from method EligibleChildResources.Get.

type EligibleChildResourcesListResult

type EligibleChildResourcesListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Eligible child resource list.
	Value []*EligibleChildResource `json:"value,omitempty"`
}

EligibleChildResourcesListResult - Eligible child resources list operation result.

func (EligibleChildResourcesListResult) MarshalJSON

func (e EligibleChildResourcesListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EligibleChildResourcesListResult.

type EnablementRules

type EnablementRules string

EnablementRules - The type of enable rules

const (
	EnablementRulesJustification             EnablementRules = "Justification"
	EnablementRulesMultiFactorAuthentication EnablementRules = "MultiFactorAuthentication"
	EnablementRulesTicketing                 EnablementRules = "Ticketing"
)

func PossibleEnablementRulesValues

func PossibleEnablementRulesValues() []EnablementRules

PossibleEnablementRulesValues returns the possible values for the EnablementRules const type.

func (EnablementRules) ToPtr

func (c EnablementRules) ToPtr() *EnablementRules

ToPtr returns a *EnablementRules pointing to the current value.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// READ-ONLY; The additional info.
	Info map[string]interface{} `json:"info,omitempty" azure:"ro"`

	// READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ErrorAdditionalInfo - The resource management error additional info.

type ErrorDefinition

type ErrorDefinition struct {

	// Error of the list gateway status.
	InnerError *ErrorDefinitionProperties `json:"error,omitempty"`
	// contains filtered or unexported fields
}

ErrorDefinition - Error description and code explaining why an operation failed. Implements the error and azcore.HTTPResponse interfaces.

func (ErrorDefinition) Error

func (e ErrorDefinition) Error() string

Error implements the error interface for type ErrorDefinition. The contents of the error text are not contractual and subject to change.

type ErrorDefinitionProperties

type ErrorDefinitionProperties struct {
	// Error code of list gateway.
	Code *string `json:"code,omitempty"`

	// READ-ONLY; Description of the error.
	Message *string `json:"message,omitempty" azure:"ro"`
}

ErrorDefinitionProperties - Error description and code explaining why an operation failed.

type ErrorDetail

type ErrorDetail struct {
	// READ-ONLY; The error additional info.
	AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"`

	// READ-ONLY; The error code.
	Code *string `json:"code,omitempty" azure:"ro"`

	// READ-ONLY; The error details.
	Details []*ErrorDetail `json:"details,omitempty" azure:"ro"`

	// READ-ONLY; The error message.
	Message *string `json:"message,omitempty" azure:"ro"`

	// READ-ONLY; The error target.
	Target *string `json:"target,omitempty" azure:"ro"`
}

ErrorDetail - The error detail.

func (ErrorDetail) MarshalJSON

func (e ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorDetail.

type ErrorResponse

type ErrorResponse struct {

	// The error object.
	InnerError *ErrorDetail `json:"error,omitempty"`
	// contains filtered or unexported fields
}

ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). Implements the error and azcore.HTTPResponse interfaces.

func (ErrorResponse) Error

func (e ErrorResponse) Error() string

Error implements the error interface for type ErrorResponse. The contents of the error text are not contractual and subject to change.

type ExpandedProperties

type ExpandedProperties struct {
	// Details of the principal
	Principal *ExpandedPropertiesPrincipal `json:"principal,omitempty"`

	// Details of role definition
	RoleDefinition *ExpandedPropertiesRoleDefinition `json:"roleDefinition,omitempty"`

	// Details of the resource scope
	Scope *ExpandedPropertiesScope `json:"scope,omitempty"`
}

type ExpandedPropertiesPrincipal

type ExpandedPropertiesPrincipal struct {
	// Display name of the principal
	DisplayName *string `json:"displayName,omitempty"`

	// Email id of the principal
	Email *string `json:"email,omitempty"`

	// Id of the principal
	ID *string `json:"id,omitempty"`

	// Type of the principal
	Type *string `json:"type,omitempty"`
}

ExpandedPropertiesPrincipal - Details of the principal

type ExpandedPropertiesRoleDefinition

type ExpandedPropertiesRoleDefinition struct {
	// Display name of the role definition
	DisplayName *string `json:"displayName,omitempty"`

	// Id of the role definition
	ID *string `json:"id,omitempty"`

	// Type of the role definition
	Type *string `json:"type,omitempty"`
}

ExpandedPropertiesRoleDefinition - Details of role definition

type ExpandedPropertiesScope

type ExpandedPropertiesScope struct {
	// Display name of the resource
	DisplayName *string `json:"displayName,omitempty"`

	// Scope id of the resource
	ID *string `json:"id,omitempty"`

	// Type of the resource
	Type *string `json:"type,omitempty"`
}

ExpandedPropertiesScope - Details of the resource scope

type MemberType

type MemberType string

MemberType - Membership type of the role assignment schedule

const (
	MemberTypeDirect    MemberType = "Direct"
	MemberTypeGroup     MemberType = "Group"
	MemberTypeInherited MemberType = "Inherited"
)

func PossibleMemberTypeValues

func PossibleMemberTypeValues() []MemberType

PossibleMemberTypeValues returns the possible values for the MemberType const type.

func (MemberType) ToPtr

func (c MemberType) ToPtr() *MemberType

ToPtr returns a *MemberType pointing to the current value.

type NotificationDeliveryMechanism

type NotificationDeliveryMechanism string

NotificationDeliveryMechanism - The type of notification.

const (
	NotificationDeliveryMechanismEmail NotificationDeliveryMechanism = "Email"
)

func PossibleNotificationDeliveryMechanismValues

func PossibleNotificationDeliveryMechanismValues() []NotificationDeliveryMechanism

PossibleNotificationDeliveryMechanismValues returns the possible values for the NotificationDeliveryMechanism const type.

func (NotificationDeliveryMechanism) ToPtr

ToPtr returns a *NotificationDeliveryMechanism pointing to the current value.

type NotificationLevel

type NotificationLevel string

NotificationLevel - The notification level.

const (
	NotificationLevelAll      NotificationLevel = "All"
	NotificationLevelCritical NotificationLevel = "Critical"
	NotificationLevelNone     NotificationLevel = "None"
)

func PossibleNotificationLevelValues

func PossibleNotificationLevelValues() []NotificationLevel

PossibleNotificationLevelValues returns the possible values for the NotificationLevel const type.

func (NotificationLevel) ToPtr

ToPtr returns a *NotificationLevel pointing to the current value.

type Operation

type Operation struct {
	// Display of the operation
	Display *OperationDisplay `json:"display,omitempty"`

	// Indicates whether the operation is a data action
	IsDataAction *bool `json:"isDataAction,omitempty"`

	// Name of the operation
	Name *string `json:"name,omitempty"`

	// Origin of the operation
	Origin *string `json:"origin,omitempty"`
}

Operation - The definition of a Microsoft.Authorization operation.

type OperationDisplay

type OperationDisplay struct {
	// READ-ONLY; The description for the operation.
	Description *string `json:"description,omitempty" azure:"ro"`

	// READ-ONLY; The operation that users can perform.
	Operation *string `json:"operation,omitempty" azure:"ro"`

	// READ-ONLY; The resource provider name: Microsoft.Authorization.
	Provider *string `json:"provider,omitempty" azure:"ro"`

	// READ-ONLY; The resource on which the operation is performed.
	Resource *string `json:"resource,omitempty" azure:"ro"`
}

OperationDisplay - The display information for a Microsoft.Authorization operation.

type OperationListResult

type OperationListResult struct {
	// The URI that can be used to request the next set of paged results.
	NextLink *string `json:"nextLink,omitempty"`

	// The collection value.
	Value []*Operation `json:"value,omitempty"`
}

OperationListResult - The result of a request to list Microsoft.Authorization operations.

func (OperationListResult) MarshalJSON

func (o OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationListResult.

type OperationsClient

type OperationsClient struct {
	// contains filtered or unexported fields
}

OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.

func NewOperationsClient

func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *OperationsClient

NewOperationsClient creates a new instance of OperationsClient with the specified values.

func (*OperationsClient) List

List - Lists the operations available from this provider. If the operation fails it returns the *ErrorDefinition error type.

type OperationsListOptions

type OperationsListOptions struct {
}

OperationsListOptions contains the optional parameters for the Operations.List method.

type OperationsListPager

type OperationsListPager struct {
	// contains filtered or unexported fields
}

OperationsListPager provides operations for iterating over paged responses.

func (*OperationsListPager) Err

func (p *OperationsListPager) Err() error

Err returns the last error encountered while paging.

func (*OperationsListPager) NextPage

func (p *OperationsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*OperationsListPager) PageResponse

func (p *OperationsListPager) PageResponse() OperationsListResponse

PageResponse returns the current OperationsListResponse page.

type OperationsListResponse

type OperationsListResponse struct {
	OperationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

OperationsListResponse contains the response from method Operations.List.

type OperationsListResult

type OperationsListResult struct {
	OperationListResult
}

OperationsListResult contains the result from method Operations.List.

type Permission

type Permission struct {
	// Allowed actions.
	Actions []*string `json:"actions,omitempty"`

	// Allowed Data actions.
	DataActions []*string `json:"dataActions,omitempty"`

	// Denied actions.
	NotActions []*string `json:"notActions,omitempty"`

	// Denied Data actions.
	NotDataActions []*string `json:"notDataActions,omitempty"`
}

Permission - Role definition permissions.

func (Permission) MarshalJSON

func (p Permission) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Permission.

type PermissionGetResult

type PermissionGetResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// An array of permissions.
	Value []*Permission `json:"value,omitempty"`
}

PermissionGetResult - Permissions information.

func (PermissionGetResult) MarshalJSON

func (p PermissionGetResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PermissionGetResult.

type PermissionsClient

type PermissionsClient struct {
	// contains filtered or unexported fields
}

PermissionsClient contains the methods for the Permissions group. Don't use this type directly, use NewPermissionsClient() instead.

func NewPermissionsClient

func NewPermissionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PermissionsClient

NewPermissionsClient creates a new instance of PermissionsClient with the specified values.

func (*PermissionsClient) ListForResource

func (client *PermissionsClient) ListForResource(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, options *PermissionsListForResourceOptions) *PermissionsListForResourcePager

ListForResource - Gets all permissions the caller has for a resource. If the operation fails it returns the *ErrorResponse error type.

func (*PermissionsClient) ListForResourceGroup

func (client *PermissionsClient) ListForResourceGroup(resourceGroupName string, options *PermissionsListForResourceGroupOptions) *PermissionsListForResourceGroupPager

ListForResourceGroup - Gets all permissions the caller has for a resource group. If the operation fails it returns the *ErrorResponse error type.

type PermissionsListForResourceGroupOptions

type PermissionsListForResourceGroupOptions struct {
}

PermissionsListForResourceGroupOptions contains the optional parameters for the Permissions.ListForResourceGroup method.

type PermissionsListForResourceGroupPager

type PermissionsListForResourceGroupPager struct {
	// contains filtered or unexported fields
}

PermissionsListForResourceGroupPager provides operations for iterating over paged responses.

func (*PermissionsListForResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*PermissionsListForResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PermissionsListForResourceGroupPager) PageResponse

PageResponse returns the current PermissionsListForResourceGroupResponse page.

type PermissionsListForResourceGroupResponse

type PermissionsListForResourceGroupResponse struct {
	PermissionsListForResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PermissionsListForResourceGroupResponse contains the response from method Permissions.ListForResourceGroup.

type PermissionsListForResourceGroupResult

type PermissionsListForResourceGroupResult struct {
	PermissionGetResult
}

PermissionsListForResourceGroupResult contains the result from method Permissions.ListForResourceGroup.

type PermissionsListForResourceOptions

type PermissionsListForResourceOptions struct {
}

PermissionsListForResourceOptions contains the optional parameters for the Permissions.ListForResource method.

type PermissionsListForResourcePager

type PermissionsListForResourcePager struct {
	// contains filtered or unexported fields
}

PermissionsListForResourcePager provides operations for iterating over paged responses.

func (*PermissionsListForResourcePager) Err

Err returns the last error encountered while paging.

func (*PermissionsListForResourcePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*PermissionsListForResourcePager) PageResponse

PageResponse returns the current PermissionsListForResourceResponse page.

type PermissionsListForResourceResponse

type PermissionsListForResourceResponse struct {
	PermissionsListForResourceResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PermissionsListForResourceResponse contains the response from method Permissions.ListForResource.

type PermissionsListForResourceResult

type PermissionsListForResourceResult struct {
	PermissionGetResult
}

PermissionsListForResourceResult contains the result from method Permissions.ListForResource.

type PolicyAssignmentProperties

type PolicyAssignmentProperties struct {
	// Details of the policy
	Policy *PolicyAssignmentPropertiesPolicy `json:"policy,omitempty"`

	// Details of role definition
	RoleDefinition *PolicyAssignmentPropertiesRoleDefinition `json:"roleDefinition,omitempty"`

	// Details of the resource scope
	Scope *PolicyAssignmentPropertiesScope `json:"scope,omitempty"`
}

type PolicyAssignmentPropertiesPolicy

type PolicyAssignmentPropertiesPolicy struct {
	// Id of the policy
	ID *string `json:"id,omitempty"`

	// The last modified date time.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`

	// READ-ONLY; The name of the entity last modified it
	LastModifiedBy *Principal `json:"lastModifiedBy,omitempty" azure:"ro"`
}

PolicyAssignmentPropertiesPolicy - Details of the policy

func (PolicyAssignmentPropertiesPolicy) MarshalJSON

func (p PolicyAssignmentPropertiesPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PolicyAssignmentPropertiesPolicy.

func (*PolicyAssignmentPropertiesPolicy) UnmarshalJSON

func (p *PolicyAssignmentPropertiesPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PolicyAssignmentPropertiesPolicy.

type PolicyAssignmentPropertiesRoleDefinition

type PolicyAssignmentPropertiesRoleDefinition struct {
	// Display name of the role definition
	DisplayName *string `json:"displayName,omitempty"`

	// Id of the role definition
	ID *string `json:"id,omitempty"`

	// Type of the role definition
	Type *string `json:"type,omitempty"`
}

PolicyAssignmentPropertiesRoleDefinition - Details of role definition

type PolicyAssignmentPropertiesScope

type PolicyAssignmentPropertiesScope struct {
	// Display name of the resource
	DisplayName *string `json:"displayName,omitempty"`

	// Scope id of the resource
	ID *string `json:"id,omitempty"`

	// Type of the resource
	Type *string `json:"type,omitempty"`
}

PolicyAssignmentPropertiesScope - Details of the resource scope

type PolicyProperties

type PolicyProperties struct {
	// READ-ONLY; Details of the resource scope
	Scope *PolicyPropertiesScope `json:"scope,omitempty" azure:"ro"`
}

type PolicyPropertiesScope

type PolicyPropertiesScope struct {
	// Display name of the resource
	DisplayName *string `json:"displayName,omitempty"`

	// Scope id of the resource
	ID *string `json:"id,omitempty"`

	// Type of the resource
	Type *string `json:"type,omitempty"`
}

PolicyPropertiesScope - Details of the resource scope

type Principal

type Principal struct {
	// The name of the principal made changes
	DisplayName *string `json:"displayName,omitempty"`

	// Email of principal
	Email *string `json:"email,omitempty"`

	// The id of the principal made changes
	ID *string `json:"id,omitempty"`

	// Type of principal such as user , group etc
	Type *string `json:"type,omitempty"`
}

Principal - The name of the entity last modified it

type PrincipalType

type PrincipalType string

PrincipalType - The principal type of the assigned principal ID.

const (
	PrincipalTypeDevice           PrincipalType = "Device"
	PrincipalTypeForeignGroup     PrincipalType = "ForeignGroup"
	PrincipalTypeGroup            PrincipalType = "Group"
	PrincipalTypeServicePrincipal PrincipalType = "ServicePrincipal"
	PrincipalTypeUser             PrincipalType = "User"
)

func PossiblePrincipalTypeValues

func PossiblePrincipalTypeValues() []PrincipalType

PossiblePrincipalTypeValues returns the possible values for the PrincipalType const type.

func (PrincipalType) ToPtr

func (c PrincipalType) ToPtr() *PrincipalType

ToPtr returns a *PrincipalType pointing to the current value.

type ProviderOperation

type ProviderOperation struct {
	// The operation description.
	Description *string `json:"description,omitempty"`

	// The operation display name.
	DisplayName *string `json:"displayName,omitempty"`

	// The dataAction flag to specify the operation type.
	IsDataAction *bool `json:"isDataAction,omitempty"`

	// The operation name.
	Name *string `json:"name,omitempty"`

	// The operation origin.
	Origin *string `json:"origin,omitempty"`

	// The operation properties.
	Properties map[string]interface{} `json:"properties,omitempty"`
}

ProviderOperation - Operation

type ProviderOperationsMetadata

type ProviderOperationsMetadata struct {
	// The provider display name.
	DisplayName *string `json:"displayName,omitempty"`

	// The provider id.
	ID *string `json:"id,omitempty"`

	// The provider name.
	Name *string `json:"name,omitempty"`

	// The provider operations.
	Operations []*ProviderOperation `json:"operations,omitempty"`

	// The provider resource types
	ResourceTypes []*ResourceType `json:"resourceTypes,omitempty"`

	// The provider type.
	Type *string `json:"type,omitempty"`
}

ProviderOperationsMetadata - Provider Operations metadata

func (ProviderOperationsMetadata) MarshalJSON

func (p ProviderOperationsMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProviderOperationsMetadata.

type ProviderOperationsMetadataClient

type ProviderOperationsMetadataClient struct {
	// contains filtered or unexported fields
}

ProviderOperationsMetadataClient contains the methods for the ProviderOperationsMetadata group. Don't use this type directly, use NewProviderOperationsMetadataClient() instead.

func NewProviderOperationsMetadataClient

func NewProviderOperationsMetadataClient(credential azcore.TokenCredential, options *arm.ClientOptions) *ProviderOperationsMetadataClient

NewProviderOperationsMetadataClient creates a new instance of ProviderOperationsMetadataClient with the specified values.

func (*ProviderOperationsMetadataClient) Get

Get - Gets provider operations metadata for the specified resource provider. If the operation fails it returns the *ErrorResponse error type.

func (*ProviderOperationsMetadataClient) List

List - Gets provider operations metadata for all resource providers. If the operation fails it returns the *ErrorResponse error type.

type ProviderOperationsMetadataGetOptions

type ProviderOperationsMetadataGetOptions struct {
	// Specifies whether to expand the values.
	Expand *string
}

ProviderOperationsMetadataGetOptions contains the optional parameters for the ProviderOperationsMetadata.Get method.

type ProviderOperationsMetadataGetResponse

type ProviderOperationsMetadataGetResponse struct {
	ProviderOperationsMetadataGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ProviderOperationsMetadataGetResponse contains the response from method ProviderOperationsMetadata.Get.

type ProviderOperationsMetadataGetResult

type ProviderOperationsMetadataGetResult struct {
	ProviderOperationsMetadata
}

ProviderOperationsMetadataGetResult contains the result from method ProviderOperationsMetadata.Get.

type ProviderOperationsMetadataListOptions

type ProviderOperationsMetadataListOptions struct {
	// Specifies whether to expand the values.
	Expand *string
}

ProviderOperationsMetadataListOptions contains the optional parameters for the ProviderOperationsMetadata.List method.

type ProviderOperationsMetadataListPager

type ProviderOperationsMetadataListPager struct {
	// contains filtered or unexported fields
}

ProviderOperationsMetadataListPager provides operations for iterating over paged responses.

func (*ProviderOperationsMetadataListPager) Err

Err returns the last error encountered while paging.

func (*ProviderOperationsMetadataListPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*ProviderOperationsMetadataListPager) PageResponse

PageResponse returns the current ProviderOperationsMetadataListResponse page.

type ProviderOperationsMetadataListResponse

type ProviderOperationsMetadataListResponse struct {
	ProviderOperationsMetadataListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

ProviderOperationsMetadataListResponse contains the response from method ProviderOperationsMetadata.List.

type ProviderOperationsMetadataListResult

type ProviderOperationsMetadataListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// The list of providers.
	Value []*ProviderOperationsMetadata `json:"value,omitempty"`
}

ProviderOperationsMetadataListResult - Provider operations metadata list

func (ProviderOperationsMetadataListResult) MarshalJSON

func (p ProviderOperationsMetadataListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProviderOperationsMetadataListResult.

type ProviderOperationsMetadataListResultEnvelope

type ProviderOperationsMetadataListResultEnvelope struct {
	ProviderOperationsMetadataListResult
}

ProviderOperationsMetadataListResultEnvelope contains the result from method ProviderOperationsMetadata.List.

type RecipientType

type RecipientType string

RecipientType - The recipient type.

const (
	RecipientTypeAdmin     RecipientType = "Admin"
	RecipientTypeApprover  RecipientType = "Approver"
	RecipientTypeRequestor RecipientType = "Requestor"
)

func PossibleRecipientTypeValues

func PossibleRecipientTypeValues() []RecipientType

PossibleRecipientTypeValues returns the possible values for the RecipientType const type.

func (RecipientType) ToPtr

func (c RecipientType) ToPtr() *RecipientType

ToPtr returns a *RecipientType pointing to the current value.

type RequestType

type RequestType string

RequestType - The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc

const (
	RequestTypeAdminAssign    RequestType = "AdminAssign"
	RequestTypeAdminExtend    RequestType = "AdminExtend"
	RequestTypeAdminRemove    RequestType = "AdminRemove"
	RequestTypeAdminRenew     RequestType = "AdminRenew"
	RequestTypeAdminUpdate    RequestType = "AdminUpdate"
	RequestTypeSelfActivate   RequestType = "SelfActivate"
	RequestTypeSelfDeactivate RequestType = "SelfDeactivate"
	RequestTypeSelfExtend     RequestType = "SelfExtend"
	RequestTypeSelfRenew      RequestType = "SelfRenew"
)

func PossibleRequestTypeValues

func PossibleRequestTypeValues() []RequestType

PossibleRequestTypeValues returns the possible values for the RequestType const type.

func (RequestType) ToPtr

func (c RequestType) ToPtr() *RequestType

ToPtr returns a *RequestType pointing to the current value.

type ResourceType

type ResourceType struct {
	// The resource type display name.
	DisplayName *string `json:"displayName,omitempty"`

	// The resource type name.
	Name *string `json:"name,omitempty"`

	// The resource type operations.
	Operations []*ProviderOperation `json:"operations,omitempty"`
}

ResourceType - Resource Type

func (ResourceType) MarshalJSON

func (r ResourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ResourceType.

type RoleAssignment

type RoleAssignment struct {
	// Role assignment properties.
	Properties *RoleAssignmentProperties `json:"properties,omitempty"`

	// READ-ONLY; The role assignment ID.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleAssignment - Role Assignments

type RoleAssignmentCreateParameters

type RoleAssignmentCreateParameters struct {
	// REQUIRED; Role assignment properties.
	Properties *RoleAssignmentProperties `json:"properties,omitempty"`
}

RoleAssignmentCreateParameters - Role assignment create parameters.

type RoleAssignmentFilter

type RoleAssignmentFilter struct {
	// Returns role assignment of the specific principal.
	PrincipalID *string `json:"principalId,omitempty"`
}

RoleAssignmentFilter - Role Assignments filter

type RoleAssignmentListResult

type RoleAssignmentListResult struct {
	// Role assignment list.
	Value []*RoleAssignment `json:"value,omitempty"`

	// READ-ONLY; The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`
}

RoleAssignmentListResult - Role assignment list operation result.

func (RoleAssignmentListResult) MarshalJSON

func (r RoleAssignmentListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentListResult.

type RoleAssignmentMetricsClient

type RoleAssignmentMetricsClient struct {
	// contains filtered or unexported fields
}

RoleAssignmentMetricsClient contains the methods for the RoleAssignmentMetrics group. Don't use this type directly, use NewRoleAssignmentMetricsClient() instead.

func NewRoleAssignmentMetricsClient

func NewRoleAssignmentMetricsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RoleAssignmentMetricsClient

NewRoleAssignmentMetricsClient creates a new instance of RoleAssignmentMetricsClient with the specified values.

func (*RoleAssignmentMetricsClient) GetMetricsForSubscription

GetMetricsForSubscription - Get role assignment usage metrics for a subscription If the operation fails it returns the *ErrorResponse error type.

type RoleAssignmentMetricsGetMetricsForSubscriptionOptions

type RoleAssignmentMetricsGetMetricsForSubscriptionOptions struct {
}

RoleAssignmentMetricsGetMetricsForSubscriptionOptions contains the optional parameters for the RoleAssignmentMetrics.GetMetricsForSubscription method.

type RoleAssignmentMetricsGetMetricsForSubscriptionResponse

type RoleAssignmentMetricsGetMetricsForSubscriptionResponse struct {
	RoleAssignmentMetricsGetMetricsForSubscriptionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentMetricsGetMetricsForSubscriptionResponse contains the response from method RoleAssignmentMetrics.GetMetricsForSubscription.

type RoleAssignmentMetricsGetMetricsForSubscriptionResult

type RoleAssignmentMetricsGetMetricsForSubscriptionResult struct {
	RoleAssignmentMetricsResult
}

RoleAssignmentMetricsGetMetricsForSubscriptionResult contains the result from method RoleAssignmentMetrics.GetMetricsForSubscription.

type RoleAssignmentMetricsResult

type RoleAssignmentMetricsResult struct {
	// READ-ONLY; The number of current role assignments.
	RoleAssignmentsCurrentCount *int64 `json:"roleAssignmentsCurrentCount,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment limit.
	RoleAssignmentsLimit *int64 `json:"roleAssignmentsLimit,omitempty" azure:"ro"`

	// READ-ONLY; The number of remaining role assignments available.
	RoleAssignmentsRemainingCount *int64 `json:"roleAssignmentsRemainingCount,omitempty" azure:"ro"`

	// READ-ONLY; The subscription ID.
	SubscriptionID *string `json:"subscriptionId,omitempty" azure:"ro"`
}

RoleAssignmentMetricsResult - Role Assignment Metrics

type RoleAssignmentProperties

type RoleAssignmentProperties struct {
	// REQUIRED; The principal ID.
	PrincipalID *string `json:"principalId,omitempty"`

	// REQUIRED; The role definition ID.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
	// StringEqualsIgnoreCase
	// 'foostoragecontainer'
	Condition *string `json:"condition,omitempty"`

	// Version of the condition. Currently accepted value is '2.0'
	ConditionVersion *string `json:"conditionVersion,omitempty"`

	// Id of the delegated managed identity resource
	DelegatedManagedIdentityResourceID *string `json:"delegatedManagedIdentityResourceId,omitempty"`

	// Description of role assignment
	Description *string `json:"description,omitempty"`

	// The principal type of the assigned principal ID.
	PrincipalType *PrincipalType `json:"principalType,omitempty"`

	// READ-ONLY; Id of the user who created the assignment
	CreatedBy *string `json:"createdBy,omitempty" azure:"ro"`

	// READ-ONLY; Time it was created
	CreatedOn *time.Time `json:"createdOn,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment scope.
	Scope *string `json:"scope,omitempty" azure:"ro"`

	// READ-ONLY; Id of the user who updated the assignment
	UpdatedBy *string `json:"updatedBy,omitempty" azure:"ro"`

	// READ-ONLY; Time it was updated
	UpdatedOn *time.Time `json:"updatedOn,omitempty" azure:"ro"`
}

RoleAssignmentProperties - Role assignment properties.

func (RoleAssignmentProperties) MarshalJSON

func (r RoleAssignmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentProperties.

func (*RoleAssignmentProperties) UnmarshalJSON

func (r *RoleAssignmentProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentProperties.

type RoleAssignmentSchedule

type RoleAssignmentSchedule struct {
	// Role assignment schedule properties.
	Properties *RoleAssignmentScheduleProperties `json:"properties,omitempty"`

	// READ-ONLY; The role assignment schedule Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment schedule name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment schedule type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleAssignmentSchedule - Role Assignment schedule

type RoleAssignmentScheduleFilter

type RoleAssignmentScheduleFilter struct {
	// Returns role assignment schedule of the specific principal.
	PrincipalID *string `json:"principalId,omitempty"`

	// Returns role assignment schedule of the specific role definition.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// Returns role assignment schedule instances of the specific status.
	Status *string `json:"status,omitempty"`
}

RoleAssignmentScheduleFilter - Role assignment schedule filter

type RoleAssignmentScheduleInstance

type RoleAssignmentScheduleInstance struct {
	// Role assignment schedule instance properties.
	Properties *RoleAssignmentScheduleInstanceProperties `json:"properties,omitempty"`

	// READ-ONLY; The role assignment schedule instance ID.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment schedule instance name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment schedule instance type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleAssignmentScheduleInstance - Information about current or upcoming role assignment schedule instance

type RoleAssignmentScheduleInstanceFilter

type RoleAssignmentScheduleInstanceFilter struct {
	// Returns role assignment schedule instances of the specific principal.
	PrincipalID *string `json:"principalId,omitempty"`

	// Returns role assignment schedule instances belonging to a specific role assignment schedule.
	RoleAssignmentScheduleID *string `json:"roleAssignmentScheduleId,omitempty"`

	// Returns role assignment schedule instances of the specific role definition.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// Returns role assignment schedule instances of the specific status.
	Status *string `json:"status,omitempty"`
}

RoleAssignmentScheduleInstanceFilter - Role assignment schedule instance filter

type RoleAssignmentScheduleInstanceListResult

type RoleAssignmentScheduleInstanceListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Role assignment schedule instance list.
	Value []*RoleAssignmentScheduleInstance `json:"value,omitempty"`
}

RoleAssignmentScheduleInstanceListResult - Role assignment schedule instance list operation result.

func (RoleAssignmentScheduleInstanceListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentScheduleInstanceListResult.

type RoleAssignmentScheduleInstanceProperties

type RoleAssignmentScheduleInstanceProperties struct {
	// Assignment type of the role assignment schedule
	AssignmentType *AssignmentType `json:"assignmentType,omitempty"`

	// The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
	// StringEqualsIgnoreCase
	// 'foostoragecontainer'
	Condition *string `json:"condition,omitempty"`

	// Version of the condition. Currently accepted value is '2.0'
	ConditionVersion *string `json:"conditionVersion,omitempty"`

	// DateTime when role assignment schedule was created
	CreatedOn *time.Time `json:"createdOn,omitempty"`

	// The endDateTime of the role assignment schedule instance
	EndDateTime *time.Time `json:"endDateTime,omitempty"`

	// Additional properties of principal, scope and role definition
	ExpandedProperties *ExpandedProperties `json:"expandedProperties,omitempty"`

	// roleEligibilityScheduleId used to activate
	LinkedRoleEligibilityScheduleID *string `json:"linkedRoleEligibilityScheduleId,omitempty"`

	// roleEligibilityScheduleInstanceId linked to this roleAssignmentScheduleInstance
	LinkedRoleEligibilityScheduleInstanceID *string `json:"linkedRoleEligibilityScheduleInstanceId,omitempty"`

	// Membership type of the role assignment schedule
	MemberType *MemberType `json:"memberType,omitempty"`

	// Role Assignment Id in external system
	OriginRoleAssignmentID *string `json:"originRoleAssignmentId,omitempty"`

	// The principal ID.
	PrincipalID *string `json:"principalId,omitempty"`

	// The principal type of the assigned principal ID.
	PrincipalType *PrincipalType `json:"principalType,omitempty"`

	// Id of the master role assignment schedule
	RoleAssignmentScheduleID *string `json:"roleAssignmentScheduleId,omitempty"`

	// The role definition ID.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// The role assignment schedule scope.
	Scope *string `json:"scope,omitempty"`

	// The startDateTime of the role assignment schedule instance
	StartDateTime *time.Time `json:"startDateTime,omitempty"`

	// The status of the role assignment schedule instance.
	Status *Status `json:"status,omitempty"`
}

RoleAssignmentScheduleInstanceProperties - Role assignment schedule properties with scope.

func (RoleAssignmentScheduleInstanceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentScheduleInstanceProperties.

func (*RoleAssignmentScheduleInstanceProperties) UnmarshalJSON

func (r *RoleAssignmentScheduleInstanceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentScheduleInstanceProperties.

type RoleAssignmentScheduleInstancesClient

type RoleAssignmentScheduleInstancesClient struct {
	// contains filtered or unexported fields
}

RoleAssignmentScheduleInstancesClient contains the methods for the RoleAssignmentScheduleInstances group. Don't use this type directly, use NewRoleAssignmentScheduleInstancesClient() instead.

func NewRoleAssignmentScheduleInstancesClient

func NewRoleAssignmentScheduleInstancesClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleAssignmentScheduleInstancesClient

NewRoleAssignmentScheduleInstancesClient creates a new instance of RoleAssignmentScheduleInstancesClient with the specified values.

func (*RoleAssignmentScheduleInstancesClient) Get

Get - Gets the specified role assignment schedule instance. If the operation fails it returns the *CloudError error type.

func (*RoleAssignmentScheduleInstancesClient) ListForScope

ListForScope - Gets role assignment schedule instances of a role assignment schedule. If the operation fails it returns the *CloudError error type.

type RoleAssignmentScheduleInstancesGetOptions

type RoleAssignmentScheduleInstancesGetOptions struct {
}

RoleAssignmentScheduleInstancesGetOptions contains the optional parameters for the RoleAssignmentScheduleInstances.Get method.

type RoleAssignmentScheduleInstancesGetResponse

type RoleAssignmentScheduleInstancesGetResponse struct {
	RoleAssignmentScheduleInstancesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentScheduleInstancesGetResponse contains the response from method RoleAssignmentScheduleInstances.Get.

type RoleAssignmentScheduleInstancesGetResult

type RoleAssignmentScheduleInstancesGetResult struct {
	RoleAssignmentScheduleInstance
}

RoleAssignmentScheduleInstancesGetResult contains the result from method RoleAssignmentScheduleInstances.Get.

type RoleAssignmentScheduleInstancesListForScopeOptions

type RoleAssignmentScheduleInstancesListForScopeOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedules at or above the scope. Use $filter=principalId eq
	// {id} to return all role assignment schedules at, above or below the scope for the specified principal. Use $filter=assignedTo('{userId}') to return all
	// role assignment schedule instances for the user. Use $filter=asTarget() to return all role assignment schedule instances created for the current user.
	Filter *string
}

RoleAssignmentScheduleInstancesListForScopeOptions contains the optional parameters for the RoleAssignmentScheduleInstances.ListForScope method.

type RoleAssignmentScheduleInstancesListForScopePager

type RoleAssignmentScheduleInstancesListForScopePager struct {
	// contains filtered or unexported fields
}

RoleAssignmentScheduleInstancesListForScopePager provides operations for iterating over paged responses.

func (*RoleAssignmentScheduleInstancesListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleAssignmentScheduleInstancesListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleAssignmentScheduleInstancesListForScopePager) PageResponse

PageResponse returns the current RoleAssignmentScheduleInstancesListForScopeResponse page.

type RoleAssignmentScheduleInstancesListForScopeResponse

type RoleAssignmentScheduleInstancesListForScopeResponse struct {
	RoleAssignmentScheduleInstancesListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentScheduleInstancesListForScopeResponse contains the response from method RoleAssignmentScheduleInstances.ListForScope.

type RoleAssignmentScheduleInstancesListForScopeResult

type RoleAssignmentScheduleInstancesListForScopeResult struct {
	RoleAssignmentScheduleInstanceListResult
}

RoleAssignmentScheduleInstancesListForScopeResult contains the result from method RoleAssignmentScheduleInstances.ListForScope.

type RoleAssignmentScheduleListResult

type RoleAssignmentScheduleListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Role assignment schedule list.
	Value []*RoleAssignmentSchedule `json:"value,omitempty"`
}

RoleAssignmentScheduleListResult - Role assignment schedule list operation result.

func (RoleAssignmentScheduleListResult) MarshalJSON

func (r RoleAssignmentScheduleListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentScheduleListResult.

type RoleAssignmentScheduleProperties

type RoleAssignmentScheduleProperties struct {
	// Assignment type of the role assignment schedule
	AssignmentType *AssignmentType `json:"assignmentType,omitempty"`

	// The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
	// StringEqualsIgnoreCase
	// 'foostoragecontainer'
	Condition *string `json:"condition,omitempty"`

	// Version of the condition. Currently accepted value is '2.0'
	ConditionVersion *string `json:"conditionVersion,omitempty"`

	// DateTime when role assignment schedule was created
	CreatedOn *time.Time `json:"createdOn,omitempty"`

	// End DateTime when role assignment schedule
	EndDateTime *time.Time `json:"endDateTime,omitempty"`

	// Additional properties of principal, scope and role definition
	ExpandedProperties *ExpandedProperties `json:"expandedProperties,omitempty"`

	// The id of roleEligibilitySchedule used to activated this roleAssignmentSchedule
	LinkedRoleEligibilityScheduleID *string `json:"linkedRoleEligibilityScheduleId,omitempty"`

	// Membership type of the role assignment schedule
	MemberType *MemberType `json:"memberType,omitempty"`

	// The principal ID.
	PrincipalID *string `json:"principalId,omitempty"`

	// The principal type of the assigned principal ID.
	PrincipalType *PrincipalType `json:"principalType,omitempty"`

	// The id of roleAssignmentScheduleRequest used to create this roleAssignmentSchedule
	RoleAssignmentScheduleRequestID *string `json:"roleAssignmentScheduleRequestId,omitempty"`

	// The role definition ID.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// The role assignment schedule scope.
	Scope *string `json:"scope,omitempty"`

	// Start DateTime when role assignment schedule
	StartDateTime *time.Time `json:"startDateTime,omitempty"`

	// The status of the role assignment schedule.
	Status *Status `json:"status,omitempty"`

	// DateTime when role assignment schedule was modified
	UpdatedOn *time.Time `json:"updatedOn,omitempty"`
}

RoleAssignmentScheduleProperties - Role assignment schedule properties with scope.

func (RoleAssignmentScheduleProperties) MarshalJSON

func (r RoleAssignmentScheduleProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentScheduleProperties.

func (*RoleAssignmentScheduleProperties) UnmarshalJSON

func (r *RoleAssignmentScheduleProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentScheduleProperties.

type RoleAssignmentScheduleRequest

type RoleAssignmentScheduleRequest struct {
	// Role assignment schedule request properties.
	Properties *RoleAssignmentScheduleRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; The role assignment schedule request ID.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment schedule request name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment schedule request type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleAssignmentScheduleRequest - Role Assignment schedule request

type RoleAssignmentScheduleRequestFilter

type RoleAssignmentScheduleRequestFilter struct {
	// Returns role assignment requests of the specific principal.
	PrincipalID *string `json:"principalId,omitempty"`

	// Returns role assignment requests created by specific principal.
	RequestorID *string `json:"requestorId,omitempty"`

	// Returns role assignment requests of the specific role definition.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// Returns role assignment requests of specific status.
	Status *string `json:"status,omitempty"`
}

RoleAssignmentScheduleRequestFilter - Role assignment schedule request filter

type RoleAssignmentScheduleRequestListResult

type RoleAssignmentScheduleRequestListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Role assignment schedule request list.
	Value []*RoleAssignmentScheduleRequest `json:"value,omitempty"`
}

RoleAssignmentScheduleRequestListResult - Role assignment schedule request list operation result.

func (RoleAssignmentScheduleRequestListResult) MarshalJSON

func (r RoleAssignmentScheduleRequestListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentScheduleRequestListResult.

type RoleAssignmentScheduleRequestProperties

type RoleAssignmentScheduleRequestProperties struct {
	// REQUIRED; The principal ID.
	PrincipalID *string `json:"principalId,omitempty"`

	// REQUIRED; The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc
	RequestType *RequestType `json:"requestType,omitempty"`

	// REQUIRED; The role definition ID.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
	// StringEqualsIgnoreCase
	// 'foostoragecontainer'
	Condition *string `json:"condition,omitempty"`

	// Version of the condition. Currently accepted value is '2.0'
	ConditionVersion *string `json:"conditionVersion,omitempty"`

	// Justification for the role assignment
	Justification *string `json:"justification,omitempty"`

	// The linked role eligibility schedule id - to activate an eligibility.
	LinkedRoleEligibilityScheduleID *string `json:"linkedRoleEligibilityScheduleId,omitempty"`

	// Schedule info of the role assignment schedule
	ScheduleInfo *RoleAssignmentScheduleRequestPropertiesScheduleInfo `json:"scheduleInfo,omitempty"`

	// The resultant role assignment schedule id or the role assignment schedule id being updated
	TargetRoleAssignmentScheduleID *string `json:"targetRoleAssignmentScheduleId,omitempty"`

	// The role assignment schedule instance id being updated
	TargetRoleAssignmentScheduleInstanceID *string `json:"targetRoleAssignmentScheduleInstanceId,omitempty"`

	// Ticket Info of the role assignment
	TicketInfo *RoleAssignmentScheduleRequestPropertiesTicketInfo `json:"ticketInfo,omitempty"`

	// READ-ONLY; The approvalId of the role assignment schedule request.
	ApprovalID *string `json:"approvalId,omitempty" azure:"ro"`

	// READ-ONLY; DateTime when role assignment schedule request was created
	CreatedOn *time.Time `json:"createdOn,omitempty" azure:"ro"`

	// READ-ONLY; Additional properties of principal, scope and role definition
	ExpandedProperties *ExpandedProperties `json:"expandedProperties,omitempty" azure:"ro"`

	// READ-ONLY; The principal type of the assigned principal ID.
	PrincipalType *PrincipalType `json:"principalType,omitempty" azure:"ro"`

	// READ-ONLY; Id of the user who created this request
	RequestorID *string `json:"requestorId,omitempty" azure:"ro"`

	// READ-ONLY; The role assignment schedule request scope.
	Scope *string `json:"scope,omitempty" azure:"ro"`

	// READ-ONLY; The status of the role assignment schedule request.
	Status *Status `json:"status,omitempty" azure:"ro"`
}

RoleAssignmentScheduleRequestProperties - Role assignment schedule request properties with scope.

func (RoleAssignmentScheduleRequestProperties) MarshalJSON

func (r RoleAssignmentScheduleRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentScheduleRequestProperties.

func (*RoleAssignmentScheduleRequestProperties) UnmarshalJSON

func (r *RoleAssignmentScheduleRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentScheduleRequestProperties.

type RoleAssignmentScheduleRequestPropertiesScheduleInfo

type RoleAssignmentScheduleRequestPropertiesScheduleInfo struct {
	// Expiration of the role assignment schedule
	Expiration *RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration `json:"expiration,omitempty"`

	// Start DateTime of the role assignment schedule.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
}

RoleAssignmentScheduleRequestPropertiesScheduleInfo - Schedule info of the role assignment schedule

func (RoleAssignmentScheduleRequestPropertiesScheduleInfo) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentScheduleRequestPropertiesScheduleInfo.

func (*RoleAssignmentScheduleRequestPropertiesScheduleInfo) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentScheduleRequestPropertiesScheduleInfo.

type RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration

type RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration struct {
	// Duration of the role assignment schedule in TimeSpan.
	Duration *string `json:"duration,omitempty"`

	// End DateTime of the role assignment schedule.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`

	// Type of the role assignment schedule expiration
	Type *Type `json:"type,omitempty"`
}

RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration - Expiration of the role assignment schedule

func (RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration.

func (*RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration.

type RoleAssignmentScheduleRequestPropertiesTicketInfo

type RoleAssignmentScheduleRequestPropertiesTicketInfo struct {
	// Ticket number for the role assignment
	TicketNumber *string `json:"ticketNumber,omitempty"`

	// Ticket system name for the role assignment
	TicketSystem *string `json:"ticketSystem,omitempty"`
}

RoleAssignmentScheduleRequestPropertiesTicketInfo - Ticket Info of the role assignment

type RoleAssignmentScheduleRequestsCancelOptions

type RoleAssignmentScheduleRequestsCancelOptions struct {
}

RoleAssignmentScheduleRequestsCancelOptions contains the optional parameters for the RoleAssignmentScheduleRequests.Cancel method.

type RoleAssignmentScheduleRequestsCancelResponse

type RoleAssignmentScheduleRequestsCancelResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentScheduleRequestsCancelResponse contains the response from method RoleAssignmentScheduleRequests.Cancel.

type RoleAssignmentScheduleRequestsClient

type RoleAssignmentScheduleRequestsClient struct {
	// contains filtered or unexported fields
}

RoleAssignmentScheduleRequestsClient contains the methods for the RoleAssignmentScheduleRequests group. Don't use this type directly, use NewRoleAssignmentScheduleRequestsClient() instead.

func NewRoleAssignmentScheduleRequestsClient

func NewRoleAssignmentScheduleRequestsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleAssignmentScheduleRequestsClient

NewRoleAssignmentScheduleRequestsClient creates a new instance of RoleAssignmentScheduleRequestsClient with the specified values.

func (*RoleAssignmentScheduleRequestsClient) Cancel

Cancel - Cancels a pending role assignment schedule request. If the operation fails it returns the *CloudError error type.

func (*RoleAssignmentScheduleRequestsClient) Create

Create - Creates a role assignment schedule request. If the operation fails it returns the *CloudError error type.

func (*RoleAssignmentScheduleRequestsClient) Get

Get - Get the specified role assignment schedule request. If the operation fails it returns the *CloudError error type.

func (*RoleAssignmentScheduleRequestsClient) ListForScope

ListForScope - Gets role assignment schedule requests for a scope. If the operation fails it returns the *CloudError error type.

type RoleAssignmentScheduleRequestsCreateOptions

type RoleAssignmentScheduleRequestsCreateOptions struct {
}

RoleAssignmentScheduleRequestsCreateOptions contains the optional parameters for the RoleAssignmentScheduleRequests.Create method.

type RoleAssignmentScheduleRequestsCreateResponse

type RoleAssignmentScheduleRequestsCreateResponse struct {
	RoleAssignmentScheduleRequestsCreateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentScheduleRequestsCreateResponse contains the response from method RoleAssignmentScheduleRequests.Create.

type RoleAssignmentScheduleRequestsCreateResult

type RoleAssignmentScheduleRequestsCreateResult struct {
	RoleAssignmentScheduleRequest
}

RoleAssignmentScheduleRequestsCreateResult contains the result from method RoleAssignmentScheduleRequests.Create.

type RoleAssignmentScheduleRequestsGetOptions

type RoleAssignmentScheduleRequestsGetOptions struct {
}

RoleAssignmentScheduleRequestsGetOptions contains the optional parameters for the RoleAssignmentScheduleRequests.Get method.

type RoleAssignmentScheduleRequestsGetResponse

type RoleAssignmentScheduleRequestsGetResponse struct {
	RoleAssignmentScheduleRequestsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentScheduleRequestsGetResponse contains the response from method RoleAssignmentScheduleRequests.Get.

type RoleAssignmentScheduleRequestsGetResult

type RoleAssignmentScheduleRequestsGetResult struct {
	RoleAssignmentScheduleRequest
}

RoleAssignmentScheduleRequestsGetResult contains the result from method RoleAssignmentScheduleRequests.Get.

type RoleAssignmentScheduleRequestsListForScopeOptions

type RoleAssignmentScheduleRequestsListForScopeOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedule requests at or above the scope. Use $filter=principalId
	// eq {id} to return all role assignment schedule requests at, above or below the scope for the specified principal. Use $filter=asRequestor() to return
	// all role assignment schedule requests requested by the current user. Use $filter=asTarget() to return all role assignment schedule requests created for
	// the current user. Use $filter=asApprover() to return all role assignment schedule requests where the current user is an approver.
	Filter *string
}

RoleAssignmentScheduleRequestsListForScopeOptions contains the optional parameters for the RoleAssignmentScheduleRequests.ListForScope method.

type RoleAssignmentScheduleRequestsListForScopePager

type RoleAssignmentScheduleRequestsListForScopePager struct {
	// contains filtered or unexported fields
}

RoleAssignmentScheduleRequestsListForScopePager provides operations for iterating over paged responses.

func (*RoleAssignmentScheduleRequestsListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleAssignmentScheduleRequestsListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleAssignmentScheduleRequestsListForScopePager) PageResponse

PageResponse returns the current RoleAssignmentScheduleRequestsListForScopeResponse page.

type RoleAssignmentScheduleRequestsListForScopeResponse

type RoleAssignmentScheduleRequestsListForScopeResponse struct {
	RoleAssignmentScheduleRequestsListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentScheduleRequestsListForScopeResponse contains the response from method RoleAssignmentScheduleRequests.ListForScope.

type RoleAssignmentScheduleRequestsListForScopeResult

type RoleAssignmentScheduleRequestsListForScopeResult struct {
	RoleAssignmentScheduleRequestListResult
}

RoleAssignmentScheduleRequestsListForScopeResult contains the result from method RoleAssignmentScheduleRequests.ListForScope.

type RoleAssignmentSchedulesClient

type RoleAssignmentSchedulesClient struct {
	// contains filtered or unexported fields
}

RoleAssignmentSchedulesClient contains the methods for the RoleAssignmentSchedules group. Don't use this type directly, use NewRoleAssignmentSchedulesClient() instead.

func NewRoleAssignmentSchedulesClient

func NewRoleAssignmentSchedulesClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleAssignmentSchedulesClient

NewRoleAssignmentSchedulesClient creates a new instance of RoleAssignmentSchedulesClient with the specified values.

func (*RoleAssignmentSchedulesClient) Get

Get - Get the specified role assignment schedule for a resource scope If the operation fails it returns the *CloudError error type.

func (*RoleAssignmentSchedulesClient) ListForScope

ListForScope - Gets role assignment schedules for a resource scope. If the operation fails it returns the *CloudError error type.

type RoleAssignmentSchedulesGetOptions

type RoleAssignmentSchedulesGetOptions struct {
}

RoleAssignmentSchedulesGetOptions contains the optional parameters for the RoleAssignmentSchedules.Get method.

type RoleAssignmentSchedulesGetResponse

type RoleAssignmentSchedulesGetResponse struct {
	RoleAssignmentSchedulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentSchedulesGetResponse contains the response from method RoleAssignmentSchedules.Get.

type RoleAssignmentSchedulesGetResult

type RoleAssignmentSchedulesGetResult struct {
	RoleAssignmentSchedule
}

RoleAssignmentSchedulesGetResult contains the result from method RoleAssignmentSchedules.Get.

type RoleAssignmentSchedulesListForScopeOptions

type RoleAssignmentSchedulesListForScopeOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedules at or above the scope. Use $filter=principalId eq
	// {id} to return all role assignment schedules at, above or below the scope for the specified principal. Use $filter=assignedTo('{userId}') to return all
	// role assignment schedules for the current user. Use $filter=asTarget() to return all role assignment schedules created for the current user.
	Filter *string
}

RoleAssignmentSchedulesListForScopeOptions contains the optional parameters for the RoleAssignmentSchedules.ListForScope method.

type RoleAssignmentSchedulesListForScopePager

type RoleAssignmentSchedulesListForScopePager struct {
	// contains filtered or unexported fields
}

RoleAssignmentSchedulesListForScopePager provides operations for iterating over paged responses.

func (*RoleAssignmentSchedulesListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleAssignmentSchedulesListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleAssignmentSchedulesListForScopePager) PageResponse

PageResponse returns the current RoleAssignmentSchedulesListForScopeResponse page.

type RoleAssignmentSchedulesListForScopeResponse

type RoleAssignmentSchedulesListForScopeResponse struct {
	RoleAssignmentSchedulesListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentSchedulesListForScopeResponse contains the response from method RoleAssignmentSchedules.ListForScope.

type RoleAssignmentSchedulesListForScopeResult

type RoleAssignmentSchedulesListForScopeResult struct {
	RoleAssignmentScheduleListResult
}

RoleAssignmentSchedulesListForScopeResult contains the result from method RoleAssignmentSchedules.ListForScope.

type RoleAssignmentsClient

type RoleAssignmentsClient struct {
	// contains filtered or unexported fields
}

RoleAssignmentsClient contains the methods for the RoleAssignments group. Don't use this type directly, use NewRoleAssignmentsClient() instead.

func NewRoleAssignmentsClient

func NewRoleAssignmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RoleAssignmentsClient

NewRoleAssignmentsClient creates a new instance of RoleAssignmentsClient with the specified values.

func (*RoleAssignmentsClient) Create

Create - Create or update a role assignment by scope and name. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) CreateByID

CreateByID - Create or update a role assignment by ID. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) Delete

func (client *RoleAssignmentsClient) Delete(ctx context.Context, scope string, roleAssignmentName string, options *RoleAssignmentsDeleteOptions) (RoleAssignmentsDeleteResponse, error)

Delete - Delete a role assignment by scope and name. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) DeleteByID

DeleteByID - Delete a role assignment by ID. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) Get

func (client *RoleAssignmentsClient) Get(ctx context.Context, scope string, roleAssignmentName string, options *RoleAssignmentsGetOptions) (RoleAssignmentsGetResponse, error)

Get - Get a role assignment by scope and name. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) GetByID

GetByID - Get a role assignment by ID. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) ListForResource

func (client *RoleAssignmentsClient) ListForResource(resourceGroupName string, resourceProviderNamespace string, resourceType string, resourceName string, options *RoleAssignmentsListForResourceOptions) *RoleAssignmentsListForResourcePager

ListForResource - List all role assignments that apply to a resource. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) ListForResourceGroup

ListForResourceGroup - List all role assignments that apply to a resource group. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) ListForScope

ListForScope - List all role assignments that apply to a scope. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) ListForSubscription

ListForSubscription - List all role assignments that apply to a subscription. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) Validate

Validate - Validate a role assignment create or update operation by scope and name. If the operation fails it returns the *ErrorResponse error type.

func (*RoleAssignmentsClient) ValidateByID

ValidateByID - Validate a role assignment create or update operation by ID. If the operation fails it returns the *ErrorResponse error type.

type RoleAssignmentsCreateByIDOptions

type RoleAssignmentsCreateByIDOptions struct {
}

RoleAssignmentsCreateByIDOptions contains the optional parameters for the RoleAssignments.CreateByID method.

type RoleAssignmentsCreateByIDResponse

type RoleAssignmentsCreateByIDResponse struct {
	RoleAssignmentsCreateByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsCreateByIDResponse contains the response from method RoleAssignments.CreateByID.

type RoleAssignmentsCreateByIDResult

type RoleAssignmentsCreateByIDResult struct {
	RoleAssignment
}

RoleAssignmentsCreateByIDResult contains the result from method RoleAssignments.CreateByID.

type RoleAssignmentsCreateOptions

type RoleAssignmentsCreateOptions struct {
}

RoleAssignmentsCreateOptions contains the optional parameters for the RoleAssignments.Create method.

type RoleAssignmentsCreateResponse

type RoleAssignmentsCreateResponse struct {
	RoleAssignmentsCreateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsCreateResponse contains the response from method RoleAssignments.Create.

type RoleAssignmentsCreateResult

type RoleAssignmentsCreateResult struct {
	RoleAssignment
}

RoleAssignmentsCreateResult contains the result from method RoleAssignments.Create.

type RoleAssignmentsDeleteByIDOptions

type RoleAssignmentsDeleteByIDOptions struct {
	// Tenant ID for cross-tenant request
	TenantID *string
}

RoleAssignmentsDeleteByIDOptions contains the optional parameters for the RoleAssignments.DeleteByID method.

type RoleAssignmentsDeleteByIDResponse

type RoleAssignmentsDeleteByIDResponse struct {
	RoleAssignmentsDeleteByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsDeleteByIDResponse contains the response from method RoleAssignments.DeleteByID.

type RoleAssignmentsDeleteByIDResult

type RoleAssignmentsDeleteByIDResult struct {
	RoleAssignment
}

RoleAssignmentsDeleteByIDResult contains the result from method RoleAssignments.DeleteByID.

type RoleAssignmentsDeleteOptions

type RoleAssignmentsDeleteOptions struct {
	// Tenant ID for cross-tenant request
	TenantID *string
}

RoleAssignmentsDeleteOptions contains the optional parameters for the RoleAssignments.Delete method.

type RoleAssignmentsDeleteResponse

type RoleAssignmentsDeleteResponse struct {
	RoleAssignmentsDeleteResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsDeleteResponse contains the response from method RoleAssignments.Delete.

type RoleAssignmentsDeleteResult

type RoleAssignmentsDeleteResult struct {
	RoleAssignment
}

RoleAssignmentsDeleteResult contains the result from method RoleAssignments.Delete.

type RoleAssignmentsGetByIDOptions

type RoleAssignmentsGetByIDOptions struct {
	// Tenant ID for cross-tenant request
	TenantID *string
}

RoleAssignmentsGetByIDOptions contains the optional parameters for the RoleAssignments.GetByID method.

type RoleAssignmentsGetByIDResponse

type RoleAssignmentsGetByIDResponse struct {
	RoleAssignmentsGetByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsGetByIDResponse contains the response from method RoleAssignments.GetByID.

type RoleAssignmentsGetByIDResult

type RoleAssignmentsGetByIDResult struct {
	RoleAssignment
}

RoleAssignmentsGetByIDResult contains the result from method RoleAssignments.GetByID.

type RoleAssignmentsGetOptions

type RoleAssignmentsGetOptions struct {
	// Tenant ID for cross-tenant request
	TenantID *string
}

RoleAssignmentsGetOptions contains the optional parameters for the RoleAssignments.Get method.

type RoleAssignmentsGetResponse

type RoleAssignmentsGetResponse struct {
	RoleAssignmentsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsGetResponse contains the response from method RoleAssignments.Get.

type RoleAssignmentsGetResult

type RoleAssignmentsGetResult struct {
	RoleAssignment
}

RoleAssignmentsGetResult contains the result from method RoleAssignments.Get.

type RoleAssignmentsListForResourceGroupOptions

type RoleAssignmentsListForResourceGroupOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to
	// return all role assignments at, above or below the scope for the specified principal.
	Filter *string
	// Tenant ID for cross-tenant request
	TenantID *string
}

RoleAssignmentsListForResourceGroupOptions contains the optional parameters for the RoleAssignments.ListForResourceGroup method.

type RoleAssignmentsListForResourceGroupPager

type RoleAssignmentsListForResourceGroupPager struct {
	// contains filtered or unexported fields
}

RoleAssignmentsListForResourceGroupPager provides operations for iterating over paged responses.

func (*RoleAssignmentsListForResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*RoleAssignmentsListForResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleAssignmentsListForResourceGroupPager) PageResponse

PageResponse returns the current RoleAssignmentsListForResourceGroupResponse page.

type RoleAssignmentsListForResourceGroupResponse

type RoleAssignmentsListForResourceGroupResponse struct {
	RoleAssignmentsListForResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsListForResourceGroupResponse contains the response from method RoleAssignments.ListForResourceGroup.

type RoleAssignmentsListForResourceGroupResult

type RoleAssignmentsListForResourceGroupResult struct {
	RoleAssignmentListResult
}

RoleAssignmentsListForResourceGroupResult contains the result from method RoleAssignments.ListForResourceGroup.

type RoleAssignmentsListForResourceOptions

type RoleAssignmentsListForResourceOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to
	// return all role assignments at, above or below the scope for the specified principal.
	Filter *string
	// Tenant ID for cross-tenant request
	TenantID *string
}

RoleAssignmentsListForResourceOptions contains the optional parameters for the RoleAssignments.ListForResource method.

type RoleAssignmentsListForResourcePager

type RoleAssignmentsListForResourcePager struct {
	// contains filtered or unexported fields
}

RoleAssignmentsListForResourcePager provides operations for iterating over paged responses.

func (*RoleAssignmentsListForResourcePager) Err

Err returns the last error encountered while paging.

func (*RoleAssignmentsListForResourcePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleAssignmentsListForResourcePager) PageResponse

PageResponse returns the current RoleAssignmentsListForResourceResponse page.

type RoleAssignmentsListForResourceResponse

type RoleAssignmentsListForResourceResponse struct {
	RoleAssignmentsListForResourceResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsListForResourceResponse contains the response from method RoleAssignments.ListForResource.

type RoleAssignmentsListForResourceResult

type RoleAssignmentsListForResourceResult struct {
	RoleAssignmentListResult
}

RoleAssignmentsListForResourceResult contains the result from method RoleAssignments.ListForResource.

type RoleAssignmentsListForScopeOptions

type RoleAssignmentsListForScopeOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to
	// return all role assignments at, above or below the scope for the specified principal.
	Filter *string
	// Tenant ID for cross-tenant request
	TenantID *string
}

RoleAssignmentsListForScopeOptions contains the optional parameters for the RoleAssignments.ListForScope method.

type RoleAssignmentsListForScopePager

type RoleAssignmentsListForScopePager struct {
	// contains filtered or unexported fields
}

RoleAssignmentsListForScopePager provides operations for iterating over paged responses.

func (*RoleAssignmentsListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleAssignmentsListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleAssignmentsListForScopePager) PageResponse

PageResponse returns the current RoleAssignmentsListForScopeResponse page.

type RoleAssignmentsListForScopeResponse

type RoleAssignmentsListForScopeResponse struct {
	RoleAssignmentsListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsListForScopeResponse contains the response from method RoleAssignments.ListForScope.

type RoleAssignmentsListForScopeResult

type RoleAssignmentsListForScopeResult struct {
	RoleAssignmentListResult
}

RoleAssignmentsListForScopeResult contains the result from method RoleAssignments.ListForScope.

type RoleAssignmentsListForSubscriptionOptions

type RoleAssignmentsListForSubscriptionOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to
	// return all role assignments at, above or below the scope for the specified principal.
	Filter *string
	// Tenant ID for cross-tenant request
	TenantID *string
}

RoleAssignmentsListForSubscriptionOptions contains the optional parameters for the RoleAssignments.ListForSubscription method.

type RoleAssignmentsListForSubscriptionPager

type RoleAssignmentsListForSubscriptionPager struct {
	// contains filtered or unexported fields
}

RoleAssignmentsListForSubscriptionPager provides operations for iterating over paged responses.

func (*RoleAssignmentsListForSubscriptionPager) Err

Err returns the last error encountered while paging.

func (*RoleAssignmentsListForSubscriptionPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleAssignmentsListForSubscriptionPager) PageResponse

PageResponse returns the current RoleAssignmentsListForSubscriptionResponse page.

type RoleAssignmentsListForSubscriptionResponse

type RoleAssignmentsListForSubscriptionResponse struct {
	RoleAssignmentsListForSubscriptionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsListForSubscriptionResponse contains the response from method RoleAssignments.ListForSubscription.

type RoleAssignmentsListForSubscriptionResult

type RoleAssignmentsListForSubscriptionResult struct {
	RoleAssignmentListResult
}

RoleAssignmentsListForSubscriptionResult contains the result from method RoleAssignments.ListForSubscription.

type RoleAssignmentsValidateByIDOptions

type RoleAssignmentsValidateByIDOptions struct {
}

RoleAssignmentsValidateByIDOptions contains the optional parameters for the RoleAssignments.ValidateByID method.

type RoleAssignmentsValidateByIDResponse

type RoleAssignmentsValidateByIDResponse struct {
	RoleAssignmentsValidateByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsValidateByIDResponse contains the response from method RoleAssignments.ValidateByID.

type RoleAssignmentsValidateByIDResult

type RoleAssignmentsValidateByIDResult struct {
	ValidationResponse
}

RoleAssignmentsValidateByIDResult contains the result from method RoleAssignments.ValidateByID.

type RoleAssignmentsValidateOptions

type RoleAssignmentsValidateOptions struct {
}

RoleAssignmentsValidateOptions contains the optional parameters for the RoleAssignments.Validate method.

type RoleAssignmentsValidateResponse

type RoleAssignmentsValidateResponse struct {
	RoleAssignmentsValidateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleAssignmentsValidateResponse contains the response from method RoleAssignments.Validate.

type RoleAssignmentsValidateResult

type RoleAssignmentsValidateResult struct {
	ValidationResponse
}

RoleAssignmentsValidateResult contains the result from method RoleAssignments.Validate.

type RoleDefinition

type RoleDefinition struct {
	// Role definition properties.
	Properties *RoleDefinitionProperties `json:"properties,omitempty"`

	// READ-ONLY; The role definition ID.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role definition name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role definition type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleDefinition - Role definition.

type RoleDefinitionFilter

type RoleDefinitionFilter struct {
	// Returns role definition with the specific name.
	RoleName *string `json:"roleName,omitempty"`

	// Returns role definition with the specific type.
	Type *string `json:"type,omitempty"`
}

RoleDefinitionFilter - Role Definitions filter

type RoleDefinitionListResult

type RoleDefinitionListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Role definition list.
	Value []*RoleDefinition `json:"value,omitempty"`
}

RoleDefinitionListResult - Role definition list operation result.

func (RoleDefinitionListResult) MarshalJSON

func (r RoleDefinitionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleDefinitionListResult.

type RoleDefinitionProperties

type RoleDefinitionProperties struct {
	// Role definition assignable scopes.
	AssignableScopes []*string `json:"assignableScopes,omitempty"`

	// The role definition description.
	Description *string `json:"description,omitempty"`

	// Role definition permissions.
	Permissions []*Permission `json:"permissions,omitempty"`

	// The role name.
	RoleName *string `json:"roleName,omitempty"`

	// The role type.
	RoleType *string `json:"type,omitempty"`
}

RoleDefinitionProperties - Role definition properties.

func (RoleDefinitionProperties) MarshalJSON

func (r RoleDefinitionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleDefinitionProperties.

type RoleDefinitionsClient

type RoleDefinitionsClient struct {
	// contains filtered or unexported fields
}

RoleDefinitionsClient contains the methods for the RoleDefinitions group. Don't use this type directly, use NewRoleDefinitionsClient() instead.

func NewRoleDefinitionsClient

func NewRoleDefinitionsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleDefinitionsClient

NewRoleDefinitionsClient creates a new instance of RoleDefinitionsClient with the specified values.

func (*RoleDefinitionsClient) CreateOrUpdate

func (client *RoleDefinitionsClient) CreateOrUpdate(ctx context.Context, scope string, roleDefinitionID string, roleDefinition RoleDefinition, options *RoleDefinitionsCreateOrUpdateOptions) (RoleDefinitionsCreateOrUpdateResponse, error)

CreateOrUpdate - Creates or updates a role definition. If the operation fails it returns the *ErrorResponse error type.

func (*RoleDefinitionsClient) Delete

func (client *RoleDefinitionsClient) Delete(ctx context.Context, scope string, roleDefinitionID string, options *RoleDefinitionsDeleteOptions) (RoleDefinitionsDeleteResponse, error)

Delete - Deletes a role definition. If the operation fails it returns the *ErrorResponse error type.

func (*RoleDefinitionsClient) Get

func (client *RoleDefinitionsClient) Get(ctx context.Context, scope string, roleDefinitionID string, options *RoleDefinitionsGetOptions) (RoleDefinitionsGetResponse, error)

Get - Get role definition by name (GUID). If the operation fails it returns the *ErrorResponse error type.

func (*RoleDefinitionsClient) GetByID

GetByID - Gets a role definition by ID. If the operation fails it returns the *ErrorResponse error type.

func (*RoleDefinitionsClient) List

List - Get all role definitions that are applicable at scope and above. If the operation fails it returns the *ErrorResponse error type.

type RoleDefinitionsCreateOrUpdateOptions

type RoleDefinitionsCreateOrUpdateOptions struct {
}

RoleDefinitionsCreateOrUpdateOptions contains the optional parameters for the RoleDefinitions.CreateOrUpdate method.

type RoleDefinitionsCreateOrUpdateResponse

type RoleDefinitionsCreateOrUpdateResponse struct {
	RoleDefinitionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleDefinitionsCreateOrUpdateResponse contains the response from method RoleDefinitions.CreateOrUpdate.

type RoleDefinitionsCreateOrUpdateResult

type RoleDefinitionsCreateOrUpdateResult struct {
	RoleDefinition
}

RoleDefinitionsCreateOrUpdateResult contains the result from method RoleDefinitions.CreateOrUpdate.

type RoleDefinitionsDeleteOptions

type RoleDefinitionsDeleteOptions struct {
}

RoleDefinitionsDeleteOptions contains the optional parameters for the RoleDefinitions.Delete method.

type RoleDefinitionsDeleteResponse

type RoleDefinitionsDeleteResponse struct {
	RoleDefinitionsDeleteResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleDefinitionsDeleteResponse contains the response from method RoleDefinitions.Delete.

type RoleDefinitionsDeleteResult

type RoleDefinitionsDeleteResult struct {
	RoleDefinition
}

RoleDefinitionsDeleteResult contains the result from method RoleDefinitions.Delete.

type RoleDefinitionsGetByIDOptions

type RoleDefinitionsGetByIDOptions struct {
}

RoleDefinitionsGetByIDOptions contains the optional parameters for the RoleDefinitions.GetByID method.

type RoleDefinitionsGetByIDResponse

type RoleDefinitionsGetByIDResponse struct {
	RoleDefinitionsGetByIDResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleDefinitionsGetByIDResponse contains the response from method RoleDefinitions.GetByID.

type RoleDefinitionsGetByIDResult

type RoleDefinitionsGetByIDResult struct {
	RoleDefinition
}

RoleDefinitionsGetByIDResult contains the result from method RoleDefinitions.GetByID.

type RoleDefinitionsGetOptions

type RoleDefinitionsGetOptions struct {
}

RoleDefinitionsGetOptions contains the optional parameters for the RoleDefinitions.Get method.

type RoleDefinitionsGetResponse

type RoleDefinitionsGetResponse struct {
	RoleDefinitionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleDefinitionsGetResponse contains the response from method RoleDefinitions.Get.

type RoleDefinitionsGetResult

type RoleDefinitionsGetResult struct {
	RoleDefinition
}

RoleDefinitionsGetResult contains the result from method RoleDefinitions.Get.

type RoleDefinitionsListOptions

type RoleDefinitionsListOptions struct {
	// The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well.
	Filter *string
}

RoleDefinitionsListOptions contains the optional parameters for the RoleDefinitions.List method.

type RoleDefinitionsListPager

type RoleDefinitionsListPager struct {
	// contains filtered or unexported fields
}

RoleDefinitionsListPager provides operations for iterating over paged responses.

func (*RoleDefinitionsListPager) Err

Err returns the last error encountered while paging.

func (*RoleDefinitionsListPager) NextPage

func (p *RoleDefinitionsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleDefinitionsListPager) PageResponse

PageResponse returns the current RoleDefinitionsListResponse page.

type RoleDefinitionsListResponse

type RoleDefinitionsListResponse struct {
	RoleDefinitionsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleDefinitionsListResponse contains the response from method RoleDefinitions.List.

type RoleDefinitionsListResult

type RoleDefinitionsListResult struct {
	RoleDefinitionListResult
}

RoleDefinitionsListResult contains the result from method RoleDefinitions.List.

type RoleEligibilitySchedule

type RoleEligibilitySchedule struct {
	// role eligibility schedule properties.
	Properties *RoleEligibilityScheduleProperties `json:"properties,omitempty"`

	// READ-ONLY; The role eligibility schedule Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role eligibility schedule name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role eligibility schedule type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleEligibilitySchedule - Role eligibility schedule

type RoleEligibilityScheduleFilter

type RoleEligibilityScheduleFilter struct {
	// Returns role eligibility schedule of the specific principal.
	PrincipalID *string `json:"principalId,omitempty"`

	// Returns role eligibility schedule of the specific role definition.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// Returns role eligibility schedule of the specific status.
	Status *string `json:"status,omitempty"`
}

RoleEligibilityScheduleFilter - Role eligibility schedule filter

type RoleEligibilityScheduleInstance

type RoleEligibilityScheduleInstance struct {
	// Role eligibility schedule instance properties.
	Properties *RoleEligibilityScheduleInstanceProperties `json:"properties,omitempty"`

	// READ-ONLY; The role eligibility schedule instance ID.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role eligibility schedule instance name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role eligibility schedule instance type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleEligibilityScheduleInstance - Information about current or upcoming role eligibility schedule instance

type RoleEligibilityScheduleInstanceFilter

type RoleEligibilityScheduleInstanceFilter struct {
	// Returns role eligibility schedule instances of the specific principal.
	PrincipalID *string `json:"principalId,omitempty"`

	// Returns role eligibility schedule instances of the specific role definition.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// Returns role eligibility schedule instances belonging to a specific role eligibility schedule.
	RoleEligibilityScheduleID *string `json:"roleEligibilityScheduleId,omitempty"`

	// Returns role eligibility schedule instances of the specific status.
	Status *string `json:"status,omitempty"`
}

RoleEligibilityScheduleInstanceFilter - Role eligibility schedule instance filter

type RoleEligibilityScheduleInstanceListResult

type RoleEligibilityScheduleInstanceListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Role eligibility schedule instance list.
	Value []*RoleEligibilityScheduleInstance `json:"value,omitempty"`
}

RoleEligibilityScheduleInstanceListResult - Role eligibility schedule instance list operation result.

func (RoleEligibilityScheduleInstanceListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleEligibilityScheduleInstanceListResult.

type RoleEligibilityScheduleInstanceProperties

type RoleEligibilityScheduleInstanceProperties struct {
	// The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
	// StringEqualsIgnoreCase
	// 'foostoragecontainer'
	Condition *string `json:"condition,omitempty"`

	// Version of the condition. Currently accepted value is '2.0'
	ConditionVersion *string `json:"conditionVersion,omitempty"`

	// DateTime when role eligibility schedule was created
	CreatedOn *time.Time `json:"createdOn,omitempty"`

	// The endDateTime of the role eligibility schedule instance
	EndDateTime *time.Time `json:"endDateTime,omitempty"`

	// Additional properties of principal, scope and role definition
	ExpandedProperties *ExpandedProperties `json:"expandedProperties,omitempty"`

	// Membership type of the role eligibility schedule
	MemberType *MemberType `json:"memberType,omitempty"`

	// The principal ID.
	PrincipalID *string `json:"principalId,omitempty"`

	// The principal type of the assigned principal ID.
	PrincipalType *PrincipalType `json:"principalType,omitempty"`

	// The role definition ID.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// Id of the master role eligibility schedule
	RoleEligibilityScheduleID *string `json:"roleEligibilityScheduleId,omitempty"`

	// The role eligibility schedule scope.
	Scope *string `json:"scope,omitempty"`

	// The startDateTime of the role eligibility schedule instance
	StartDateTime *time.Time `json:"startDateTime,omitempty"`

	// The status of the role eligibility schedule instance
	Status *Status `json:"status,omitempty"`
}

RoleEligibilityScheduleInstanceProperties - Role eligibility schedule properties with scope.

func (RoleEligibilityScheduleInstanceProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleEligibilityScheduleInstanceProperties.

func (*RoleEligibilityScheduleInstanceProperties) UnmarshalJSON

func (r *RoleEligibilityScheduleInstanceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleEligibilityScheduleInstanceProperties.

type RoleEligibilityScheduleInstancesClient

type RoleEligibilityScheduleInstancesClient struct {
	// contains filtered or unexported fields
}

RoleEligibilityScheduleInstancesClient contains the methods for the RoleEligibilityScheduleInstances group. Don't use this type directly, use NewRoleEligibilityScheduleInstancesClient() instead.

func NewRoleEligibilityScheduleInstancesClient

func NewRoleEligibilityScheduleInstancesClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleEligibilityScheduleInstancesClient

NewRoleEligibilityScheduleInstancesClient creates a new instance of RoleEligibilityScheduleInstancesClient with the specified values.

func (*RoleEligibilityScheduleInstancesClient) Get

Get - Gets the specified role eligibility schedule instance. If the operation fails it returns the *CloudError error type.

func (*RoleEligibilityScheduleInstancesClient) ListForScope

ListForScope - Gets role eligibility schedule instances of a role eligibility schedule. If the operation fails it returns the *CloudError error type.

type RoleEligibilityScheduleInstancesGetOptions

type RoleEligibilityScheduleInstancesGetOptions struct {
}

RoleEligibilityScheduleInstancesGetOptions contains the optional parameters for the RoleEligibilityScheduleInstances.Get method.

type RoleEligibilityScheduleInstancesGetResponse

type RoleEligibilityScheduleInstancesGetResponse struct {
	RoleEligibilityScheduleInstancesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleEligibilityScheduleInstancesGetResponse contains the response from method RoleEligibilityScheduleInstances.Get.

type RoleEligibilityScheduleInstancesGetResult

type RoleEligibilityScheduleInstancesGetResult struct {
	RoleEligibilityScheduleInstance
}

RoleEligibilityScheduleInstancesGetResult contains the result from method RoleEligibilityScheduleInstances.Get.

type RoleEligibilityScheduleInstancesListForScopeOptions

type RoleEligibilityScheduleInstancesListForScopeOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role assignment schedules at or above the scope. Use $filter=principalId eq
	// {id} to return all role assignment schedules at, above or below the scope for the specified principal. Use $filter=assignedTo('{userId}') to return all
	// role eligibility schedules for the user. Use $filter=asTarget() to return all role eligibility schedules created for the current user.
	Filter *string
}

RoleEligibilityScheduleInstancesListForScopeOptions contains the optional parameters for the RoleEligibilityScheduleInstances.ListForScope method.

type RoleEligibilityScheduleInstancesListForScopePager

type RoleEligibilityScheduleInstancesListForScopePager struct {
	// contains filtered or unexported fields
}

RoleEligibilityScheduleInstancesListForScopePager provides operations for iterating over paged responses.

func (*RoleEligibilityScheduleInstancesListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleEligibilityScheduleInstancesListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleEligibilityScheduleInstancesListForScopePager) PageResponse

PageResponse returns the current RoleEligibilityScheduleInstancesListForScopeResponse page.

type RoleEligibilityScheduleInstancesListForScopeResponse

type RoleEligibilityScheduleInstancesListForScopeResponse struct {
	RoleEligibilityScheduleInstancesListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleEligibilityScheduleInstancesListForScopeResponse contains the response from method RoleEligibilityScheduleInstances.ListForScope.

type RoleEligibilityScheduleInstancesListForScopeResult

type RoleEligibilityScheduleInstancesListForScopeResult struct {
	RoleEligibilityScheduleInstanceListResult
}

RoleEligibilityScheduleInstancesListForScopeResult contains the result from method RoleEligibilityScheduleInstances.ListForScope.

type RoleEligibilityScheduleListResult

type RoleEligibilityScheduleListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// role eligibility schedule list.
	Value []*RoleEligibilitySchedule `json:"value,omitempty"`
}

RoleEligibilityScheduleListResult - role eligibility schedule list operation result.

func (RoleEligibilityScheduleListResult) MarshalJSON

func (r RoleEligibilityScheduleListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleEligibilityScheduleListResult.

type RoleEligibilityScheduleProperties

type RoleEligibilityScheduleProperties struct {
	// The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
	// StringEqualsIgnoreCase
	// 'foostoragecontainer'
	Condition *string `json:"condition,omitempty"`

	// Version of the condition. Currently accepted value is '2.0'
	ConditionVersion *string `json:"conditionVersion,omitempty"`

	// DateTime when role eligibility schedule was created
	CreatedOn *time.Time `json:"createdOn,omitempty"`

	// End DateTime when role eligibility schedule
	EndDateTime *time.Time `json:"endDateTime,omitempty"`

	// Additional properties of principal, scope and role definition
	ExpandedProperties *ExpandedProperties `json:"expandedProperties,omitempty"`

	// Membership type of the role eligibility schedule
	MemberType *MemberType `json:"memberType,omitempty"`

	// The principal ID.
	PrincipalID *string `json:"principalId,omitempty"`

	// The principal type of the assigned principal ID.
	PrincipalType *PrincipalType `json:"principalType,omitempty"`

	// The role definition ID.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// The id of roleEligibilityScheduleRequest used to create this roleAssignmentSchedule
	RoleEligibilityScheduleRequestID *string `json:"roleEligibilityScheduleRequestId,omitempty"`

	// The role eligibility schedule scope.
	Scope *string `json:"scope,omitempty"`

	// Start DateTime when role eligibility schedule
	StartDateTime *time.Time `json:"startDateTime,omitempty"`

	// The status of the role eligibility schedule.
	Status *Status `json:"status,omitempty"`

	// DateTime when role eligibility schedule was modified
	UpdatedOn *time.Time `json:"updatedOn,omitempty"`
}

RoleEligibilityScheduleProperties - Role eligibility schedule properties with scope.

func (RoleEligibilityScheduleProperties) MarshalJSON

func (r RoleEligibilityScheduleProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleEligibilityScheduleProperties.

func (*RoleEligibilityScheduleProperties) UnmarshalJSON

func (r *RoleEligibilityScheduleProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleEligibilityScheduleProperties.

type RoleEligibilityScheduleRequest

type RoleEligibilityScheduleRequest struct {
	// Role eligibility schedule request properties.
	Properties *RoleEligibilityScheduleRequestProperties `json:"properties,omitempty"`

	// READ-ONLY; The role eligibility schedule request ID.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role eligibility schedule request name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role eligibility schedule request type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleEligibilityScheduleRequest - Role Eligibility schedule request

type RoleEligibilityScheduleRequestFilter

type RoleEligibilityScheduleRequestFilter struct {
	// Returns role eligibility requests of the specific principal.
	PrincipalID *string `json:"principalId,omitempty"`

	// Returns role eligibility requests created by specific principal.
	RequestorID *string `json:"requestorId,omitempty"`

	// Returns role eligibility requests of the specific role definition.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// Returns role eligibility requests of specific status.
	Status *string `json:"status,omitempty"`
}

RoleEligibilityScheduleRequestFilter - Role eligibility schedule request filter

type RoleEligibilityScheduleRequestListResult

type RoleEligibilityScheduleRequestListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Role eligibility schedule request list.
	Value []*RoleEligibilityScheduleRequest `json:"value,omitempty"`
}

RoleEligibilityScheduleRequestListResult - Role eligibility schedule request list operation result.

func (RoleEligibilityScheduleRequestListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleEligibilityScheduleRequestListResult.

type RoleEligibilityScheduleRequestProperties

type RoleEligibilityScheduleRequestProperties struct {
	// REQUIRED; The principal ID.
	PrincipalID *string `json:"principalId,omitempty"`

	// REQUIRED; The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc
	RequestType *RequestType `json:"requestType,omitempty"`

	// REQUIRED; The role definition ID.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName]
	// StringEqualsIgnoreCase
	// 'foostoragecontainer'
	Condition *string `json:"condition,omitempty"`

	// Version of the condition. Currently accepted value is '2.0'
	ConditionVersion *string `json:"conditionVersion,omitempty"`

	// Justification for the role eligibility
	Justification *string `json:"justification,omitempty"`

	// Schedule info of the role eligibility schedule
	ScheduleInfo *RoleEligibilityScheduleRequestPropertiesScheduleInfo `json:"scheduleInfo,omitempty"`

	// The resultant role eligibility schedule id or the role eligibility schedule id being updated
	TargetRoleEligibilityScheduleID *string `json:"targetRoleEligibilityScheduleId,omitempty"`

	// The role eligibility schedule instance id being updated
	TargetRoleEligibilityScheduleInstanceID *string `json:"targetRoleEligibilityScheduleInstanceId,omitempty"`

	// Ticket Info of the role eligibility
	TicketInfo *RoleEligibilityScheduleRequestPropertiesTicketInfo `json:"ticketInfo,omitempty"`

	// READ-ONLY; The approvalId of the role eligibility schedule request.
	ApprovalID *string `json:"approvalId,omitempty" azure:"ro"`

	// READ-ONLY; DateTime when role eligibility schedule request was created
	CreatedOn *time.Time `json:"createdOn,omitempty" azure:"ro"`

	// READ-ONLY; Additional properties of principal, scope and role definition
	ExpandedProperties *ExpandedProperties `json:"expandedProperties,omitempty" azure:"ro"`

	// READ-ONLY; The principal type of the assigned principal ID.
	PrincipalType *PrincipalType `json:"principalType,omitempty" azure:"ro"`

	// READ-ONLY; Id of the user who created this request
	RequestorID *string `json:"requestorId,omitempty" azure:"ro"`

	// READ-ONLY; The role eligibility schedule request scope.
	Scope *string `json:"scope,omitempty" azure:"ro"`

	// READ-ONLY; The status of the role eligibility schedule request.
	Status *Status `json:"status,omitempty" azure:"ro"`
}

RoleEligibilityScheduleRequestProperties - Role eligibility schedule request properties with scope.

func (RoleEligibilityScheduleRequestProperties) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleEligibilityScheduleRequestProperties.

func (*RoleEligibilityScheduleRequestProperties) UnmarshalJSON

func (r *RoleEligibilityScheduleRequestProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleEligibilityScheduleRequestProperties.

type RoleEligibilityScheduleRequestPropertiesScheduleInfo

type RoleEligibilityScheduleRequestPropertiesScheduleInfo struct {
	// Expiration of the role eligibility schedule
	Expiration *RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration `json:"expiration,omitempty"`

	// Start DateTime of the role eligibility schedule.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
}

RoleEligibilityScheduleRequestPropertiesScheduleInfo - Schedule info of the role eligibility schedule

func (RoleEligibilityScheduleRequestPropertiesScheduleInfo) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleEligibilityScheduleRequestPropertiesScheduleInfo.

func (*RoleEligibilityScheduleRequestPropertiesScheduleInfo) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type RoleEligibilityScheduleRequestPropertiesScheduleInfo.

type RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration

type RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration struct {
	// Duration of the role eligibility schedule in TimeSpan.
	Duration *string `json:"duration,omitempty"`

	// End DateTime of the role eligibility schedule.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`

	// Type of the role eligibility schedule expiration
	Type *Type `json:"type,omitempty"`
}

RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration - Expiration of the role eligibility schedule

func (RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration.

func (*RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration) UnmarshalJSON

UnmarshalJSON implements the json.Unmarshaller interface for type RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration.

type RoleEligibilityScheduleRequestPropertiesTicketInfo

type RoleEligibilityScheduleRequestPropertiesTicketInfo struct {
	// Ticket number for the role eligibility
	TicketNumber *string `json:"ticketNumber,omitempty"`

	// Ticket system name for the role eligibility
	TicketSystem *string `json:"ticketSystem,omitempty"`
}

RoleEligibilityScheduleRequestPropertiesTicketInfo - Ticket Info of the role eligibility

type RoleEligibilityScheduleRequestsCancelOptions

type RoleEligibilityScheduleRequestsCancelOptions struct {
}

RoleEligibilityScheduleRequestsCancelOptions contains the optional parameters for the RoleEligibilityScheduleRequests.Cancel method.

type RoleEligibilityScheduleRequestsCancelResponse

type RoleEligibilityScheduleRequestsCancelResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleEligibilityScheduleRequestsCancelResponse contains the response from method RoleEligibilityScheduleRequests.Cancel.

type RoleEligibilityScheduleRequestsClient

type RoleEligibilityScheduleRequestsClient struct {
	// contains filtered or unexported fields
}

RoleEligibilityScheduleRequestsClient contains the methods for the RoleEligibilityScheduleRequests group. Don't use this type directly, use NewRoleEligibilityScheduleRequestsClient() instead.

func NewRoleEligibilityScheduleRequestsClient

func NewRoleEligibilityScheduleRequestsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleEligibilityScheduleRequestsClient

NewRoleEligibilityScheduleRequestsClient creates a new instance of RoleEligibilityScheduleRequestsClient with the specified values.

func (*RoleEligibilityScheduleRequestsClient) Cancel

Cancel - Cancels a pending role eligibility schedule request. If the operation fails it returns the *CloudError error type.

func (*RoleEligibilityScheduleRequestsClient) Create

Create - Creates a role eligibility schedule request. If the operation fails it returns the *CloudError error type.

func (*RoleEligibilityScheduleRequestsClient) Get

Get - Get the specified role eligibility schedule request. If the operation fails it returns the *CloudError error type.

func (*RoleEligibilityScheduleRequestsClient) ListForScope

ListForScope - Gets role eligibility schedule requests for a scope. If the operation fails it returns the *CloudError error type.

type RoleEligibilityScheduleRequestsCreateOptions

type RoleEligibilityScheduleRequestsCreateOptions struct {
}

RoleEligibilityScheduleRequestsCreateOptions contains the optional parameters for the RoleEligibilityScheduleRequests.Create method.

type RoleEligibilityScheduleRequestsCreateResponse

type RoleEligibilityScheduleRequestsCreateResponse struct {
	RoleEligibilityScheduleRequestsCreateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleEligibilityScheduleRequestsCreateResponse contains the response from method RoleEligibilityScheduleRequests.Create.

type RoleEligibilityScheduleRequestsCreateResult

type RoleEligibilityScheduleRequestsCreateResult struct {
	RoleEligibilityScheduleRequest
}

RoleEligibilityScheduleRequestsCreateResult contains the result from method RoleEligibilityScheduleRequests.Create.

type RoleEligibilityScheduleRequestsGetOptions

type RoleEligibilityScheduleRequestsGetOptions struct {
}

RoleEligibilityScheduleRequestsGetOptions contains the optional parameters for the RoleEligibilityScheduleRequests.Get method.

type RoleEligibilityScheduleRequestsGetResponse

type RoleEligibilityScheduleRequestsGetResponse struct {
	RoleEligibilityScheduleRequestsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleEligibilityScheduleRequestsGetResponse contains the response from method RoleEligibilityScheduleRequests.Get.

type RoleEligibilityScheduleRequestsGetResult

type RoleEligibilityScheduleRequestsGetResult struct {
	RoleEligibilityScheduleRequest
}

RoleEligibilityScheduleRequestsGetResult contains the result from method RoleEligibilityScheduleRequests.Get.

type RoleEligibilityScheduleRequestsListForScopeOptions

type RoleEligibilityScheduleRequestsListForScopeOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role eligibility schedule requests at or above the scope. Use $filter=principalId
	// eq {id} to return all role eligibility schedule requests at, above or below the scope for the specified principal. Use $filter=asRequestor() to return
	// all role eligibility schedule requests requested by the current user. Use $filter=asTarget() to return all role eligibility schedule requests created
	// for the current user. Use $filter=asApprover() to return all role eligibility schedule requests where the current user is an approver.
	Filter *string
}

RoleEligibilityScheduleRequestsListForScopeOptions contains the optional parameters for the RoleEligibilityScheduleRequests.ListForScope method.

type RoleEligibilityScheduleRequestsListForScopePager

type RoleEligibilityScheduleRequestsListForScopePager struct {
	// contains filtered or unexported fields
}

RoleEligibilityScheduleRequestsListForScopePager provides operations for iterating over paged responses.

func (*RoleEligibilityScheduleRequestsListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleEligibilityScheduleRequestsListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleEligibilityScheduleRequestsListForScopePager) PageResponse

PageResponse returns the current RoleEligibilityScheduleRequestsListForScopeResponse page.

type RoleEligibilityScheduleRequestsListForScopeResponse

type RoleEligibilityScheduleRequestsListForScopeResponse struct {
	RoleEligibilityScheduleRequestsListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleEligibilityScheduleRequestsListForScopeResponse contains the response from method RoleEligibilityScheduleRequests.ListForScope.

type RoleEligibilityScheduleRequestsListForScopeResult

type RoleEligibilityScheduleRequestsListForScopeResult struct {
	RoleEligibilityScheduleRequestListResult
}

RoleEligibilityScheduleRequestsListForScopeResult contains the result from method RoleEligibilityScheduleRequests.ListForScope.

type RoleEligibilitySchedulesClient

type RoleEligibilitySchedulesClient struct {
	// contains filtered or unexported fields
}

RoleEligibilitySchedulesClient contains the methods for the RoleEligibilitySchedules group. Don't use this type directly, use NewRoleEligibilitySchedulesClient() instead.

func NewRoleEligibilitySchedulesClient

func NewRoleEligibilitySchedulesClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleEligibilitySchedulesClient

NewRoleEligibilitySchedulesClient creates a new instance of RoleEligibilitySchedulesClient with the specified values.

func (*RoleEligibilitySchedulesClient) Get

Get - Get the specified role eligibility schedule for a resource scope If the operation fails it returns the *CloudError error type.

func (*RoleEligibilitySchedulesClient) ListForScope

ListForScope - Gets role eligibility schedules for a resource scope. If the operation fails it returns the *CloudError error type.

type RoleEligibilitySchedulesGetOptions

type RoleEligibilitySchedulesGetOptions struct {
}

RoleEligibilitySchedulesGetOptions contains the optional parameters for the RoleEligibilitySchedules.Get method.

type RoleEligibilitySchedulesGetResponse

type RoleEligibilitySchedulesGetResponse struct {
	RoleEligibilitySchedulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleEligibilitySchedulesGetResponse contains the response from method RoleEligibilitySchedules.Get.

type RoleEligibilitySchedulesGetResult

type RoleEligibilitySchedulesGetResult struct {
	RoleEligibilitySchedule
}

RoleEligibilitySchedulesGetResult contains the result from method RoleEligibilitySchedules.Get.

type RoleEligibilitySchedulesListForScopeOptions

type RoleEligibilitySchedulesListForScopeOptions struct {
	// The filter to apply on the operation. Use $filter=atScope() to return all role eligibility schedules at or above the scope. Use $filter=principalId eq
	// {id} to return all role eligibility schedules at, above or below the scope for the specified principal. Use $filter=assignedTo('{userId}') to return
	// all role eligibility schedules for the user. Use $filter=asTarget() to return all role eligibility schedules created for the current user.
	Filter *string
}

RoleEligibilitySchedulesListForScopeOptions contains the optional parameters for the RoleEligibilitySchedules.ListForScope method.

type RoleEligibilitySchedulesListForScopePager

type RoleEligibilitySchedulesListForScopePager struct {
	// contains filtered or unexported fields
}

RoleEligibilitySchedulesListForScopePager provides operations for iterating over paged responses.

func (*RoleEligibilitySchedulesListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleEligibilitySchedulesListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleEligibilitySchedulesListForScopePager) PageResponse

PageResponse returns the current RoleEligibilitySchedulesListForScopeResponse page.

type RoleEligibilitySchedulesListForScopeResponse

type RoleEligibilitySchedulesListForScopeResponse struct {
	RoleEligibilitySchedulesListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleEligibilitySchedulesListForScopeResponse contains the response from method RoleEligibilitySchedules.ListForScope.

type RoleEligibilitySchedulesListForScopeResult

type RoleEligibilitySchedulesListForScopeResult struct {
	RoleEligibilityScheduleListResult
}

RoleEligibilitySchedulesListForScopeResult contains the result from method RoleEligibilitySchedules.ListForScope.

type RoleManagementPoliciesClient

type RoleManagementPoliciesClient struct {
	// contains filtered or unexported fields
}

RoleManagementPoliciesClient contains the methods for the RoleManagementPolicies group. Don't use this type directly, use NewRoleManagementPoliciesClient() instead.

func NewRoleManagementPoliciesClient

func NewRoleManagementPoliciesClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleManagementPoliciesClient

NewRoleManagementPoliciesClient creates a new instance of RoleManagementPoliciesClient with the specified values.

func (*RoleManagementPoliciesClient) Delete

Delete - Delete a role management policy If the operation fails it returns the *CloudError error type.

func (*RoleManagementPoliciesClient) Get

Get - Get the specified role management policy for a resource scope If the operation fails it returns the *CloudError error type.

func (*RoleManagementPoliciesClient) ListForScope

ListForScope - Gets role management policies for a resource scope. If the operation fails it returns the *CloudError error type.

func (*RoleManagementPoliciesClient) Update

Update - Update a role management policy If the operation fails it returns the *CloudError error type.

type RoleManagementPoliciesDeleteOptions

type RoleManagementPoliciesDeleteOptions struct {
}

RoleManagementPoliciesDeleteOptions contains the optional parameters for the RoleManagementPolicies.Delete method.

type RoleManagementPoliciesDeleteResponse

type RoleManagementPoliciesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleManagementPoliciesDeleteResponse contains the response from method RoleManagementPolicies.Delete.

type RoleManagementPoliciesGetOptions

type RoleManagementPoliciesGetOptions struct {
}

RoleManagementPoliciesGetOptions contains the optional parameters for the RoleManagementPolicies.Get method.

type RoleManagementPoliciesGetResponse

type RoleManagementPoliciesGetResponse struct {
	RoleManagementPoliciesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleManagementPoliciesGetResponse contains the response from method RoleManagementPolicies.Get.

type RoleManagementPoliciesGetResult

type RoleManagementPoliciesGetResult struct {
	RoleManagementPolicy
}

RoleManagementPoliciesGetResult contains the result from method RoleManagementPolicies.Get.

type RoleManagementPoliciesListForScopeOptions

type RoleManagementPoliciesListForScopeOptions struct {
}

RoleManagementPoliciesListForScopeOptions contains the optional parameters for the RoleManagementPolicies.ListForScope method.

type RoleManagementPoliciesListForScopePager

type RoleManagementPoliciesListForScopePager struct {
	// contains filtered or unexported fields
}

RoleManagementPoliciesListForScopePager provides operations for iterating over paged responses.

func (*RoleManagementPoliciesListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleManagementPoliciesListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleManagementPoliciesListForScopePager) PageResponse

PageResponse returns the current RoleManagementPoliciesListForScopeResponse page.

type RoleManagementPoliciesListForScopeResponse

type RoleManagementPoliciesListForScopeResponse struct {
	RoleManagementPoliciesListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleManagementPoliciesListForScopeResponse contains the response from method RoleManagementPolicies.ListForScope.

type RoleManagementPoliciesListForScopeResult

type RoleManagementPoliciesListForScopeResult struct {
	RoleManagementPolicyListResult
}

RoleManagementPoliciesListForScopeResult contains the result from method RoleManagementPolicies.ListForScope.

type RoleManagementPoliciesUpdateOptions

type RoleManagementPoliciesUpdateOptions struct {
}

RoleManagementPoliciesUpdateOptions contains the optional parameters for the RoleManagementPolicies.Update method.

type RoleManagementPoliciesUpdateResponse

type RoleManagementPoliciesUpdateResponse struct {
	RoleManagementPoliciesUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleManagementPoliciesUpdateResponse contains the response from method RoleManagementPolicies.Update.

type RoleManagementPoliciesUpdateResult

type RoleManagementPoliciesUpdateResult struct {
	RoleManagementPolicy
}

RoleManagementPoliciesUpdateResult contains the result from method RoleManagementPolicies.Update.

type RoleManagementPolicy

type RoleManagementPolicy struct {
	// Role management policy properties.
	Properties *RoleManagementPolicyProperties `json:"properties,omitempty"`

	// READ-ONLY; The role management policy Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role management policy name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role management policy type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleManagementPolicy - Role management policy

func (RoleManagementPolicy) MarshalJSON

func (r RoleManagementPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicy.

type RoleManagementPolicyApprovalRule

type RoleManagementPolicyApprovalRule struct {
	RoleManagementPolicyRule
	// The approval setting
	Setting *ApprovalSettings `json:"setting,omitempty"`
}

RoleManagementPolicyApprovalRule - The role management policy rule.

func (RoleManagementPolicyApprovalRule) MarshalJSON

func (r RoleManagementPolicyApprovalRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyApprovalRule.

func (*RoleManagementPolicyApprovalRule) UnmarshalJSON

func (r *RoleManagementPolicyApprovalRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleManagementPolicyApprovalRule.

type RoleManagementPolicyAssignment

type RoleManagementPolicyAssignment struct {
	// Role management policy properties.
	Properties *RoleManagementPolicyAssignmentProperties `json:"properties,omitempty"`

	// READ-ONLY; The role management policy Id.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The role management policy name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The role management policy type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RoleManagementPolicyAssignment - Role management policy

type RoleManagementPolicyAssignmentListResult

type RoleManagementPolicyAssignmentListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Role management policy assignment list.
	Value []*RoleManagementPolicyAssignment `json:"value,omitempty"`
}

RoleManagementPolicyAssignmentListResult - Role management policy assignment list operation result.

func (RoleManagementPolicyAssignmentListResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyAssignmentListResult.

type RoleManagementPolicyAssignmentProperties

type RoleManagementPolicyAssignmentProperties struct {
	// The policy id role management policy assignment.
	PolicyID *string `json:"policyId,omitempty"`

	// The role definition of management policy assignment.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// The role management policy scope.
	Scope *string `json:"scope,omitempty"`

	// READ-ONLY; Additional properties of scope, role definition and policy
	PolicyAssignmentProperties *PolicyAssignmentProperties `json:"policyAssignmentProperties,omitempty" azure:"ro"`
}

RoleManagementPolicyAssignmentProperties - Role management policy assignment properties with scope.

type RoleManagementPolicyAssignmentsClient

type RoleManagementPolicyAssignmentsClient struct {
	// contains filtered or unexported fields
}

RoleManagementPolicyAssignmentsClient contains the methods for the RoleManagementPolicyAssignments group. Don't use this type directly, use NewRoleManagementPolicyAssignmentsClient() instead.

func NewRoleManagementPolicyAssignmentsClient

func NewRoleManagementPolicyAssignmentsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RoleManagementPolicyAssignmentsClient

NewRoleManagementPolicyAssignmentsClient creates a new instance of RoleManagementPolicyAssignmentsClient with the specified values.

func (*RoleManagementPolicyAssignmentsClient) Create

Create - Create a role management policy assignment If the operation fails it returns the *CloudError error type.

func (*RoleManagementPolicyAssignmentsClient) Delete

Delete - Delete a role management policy assignment If the operation fails it returns the *CloudError error type.

func (*RoleManagementPolicyAssignmentsClient) Get

Get - Get the specified role management policy assignment for a resource scope If the operation fails it returns the *CloudError error type.

func (*RoleManagementPolicyAssignmentsClient) ListForScope

ListForScope - Gets role management assignment policies for a resource scope. If the operation fails it returns the *CloudError error type.

type RoleManagementPolicyAssignmentsCreateOptions

type RoleManagementPolicyAssignmentsCreateOptions struct {
}

RoleManagementPolicyAssignmentsCreateOptions contains the optional parameters for the RoleManagementPolicyAssignments.Create method.

type RoleManagementPolicyAssignmentsCreateResponse

type RoleManagementPolicyAssignmentsCreateResponse struct {
	RoleManagementPolicyAssignmentsCreateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleManagementPolicyAssignmentsCreateResponse contains the response from method RoleManagementPolicyAssignments.Create.

type RoleManagementPolicyAssignmentsCreateResult

type RoleManagementPolicyAssignmentsCreateResult struct {
	RoleManagementPolicyAssignment
}

RoleManagementPolicyAssignmentsCreateResult contains the result from method RoleManagementPolicyAssignments.Create.

type RoleManagementPolicyAssignmentsDeleteOptions

type RoleManagementPolicyAssignmentsDeleteOptions struct {
}

RoleManagementPolicyAssignmentsDeleteOptions contains the optional parameters for the RoleManagementPolicyAssignments.Delete method.

type RoleManagementPolicyAssignmentsDeleteResponse

type RoleManagementPolicyAssignmentsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleManagementPolicyAssignmentsDeleteResponse contains the response from method RoleManagementPolicyAssignments.Delete.

type RoleManagementPolicyAssignmentsGetOptions

type RoleManagementPolicyAssignmentsGetOptions struct {
}

RoleManagementPolicyAssignmentsGetOptions contains the optional parameters for the RoleManagementPolicyAssignments.Get method.

type RoleManagementPolicyAssignmentsGetResponse

type RoleManagementPolicyAssignmentsGetResponse struct {
	RoleManagementPolicyAssignmentsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleManagementPolicyAssignmentsGetResponse contains the response from method RoleManagementPolicyAssignments.Get.

type RoleManagementPolicyAssignmentsGetResult

type RoleManagementPolicyAssignmentsGetResult struct {
	RoleManagementPolicyAssignment
}

RoleManagementPolicyAssignmentsGetResult contains the result from method RoleManagementPolicyAssignments.Get.

type RoleManagementPolicyAssignmentsListForScopeOptions

type RoleManagementPolicyAssignmentsListForScopeOptions struct {
}

RoleManagementPolicyAssignmentsListForScopeOptions contains the optional parameters for the RoleManagementPolicyAssignments.ListForScope method.

type RoleManagementPolicyAssignmentsListForScopePager

type RoleManagementPolicyAssignmentsListForScopePager struct {
	// contains filtered or unexported fields
}

RoleManagementPolicyAssignmentsListForScopePager provides operations for iterating over paged responses.

func (*RoleManagementPolicyAssignmentsListForScopePager) Err

Err returns the last error encountered while paging.

func (*RoleManagementPolicyAssignmentsListForScopePager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*RoleManagementPolicyAssignmentsListForScopePager) PageResponse

PageResponse returns the current RoleManagementPolicyAssignmentsListForScopeResponse page.

type RoleManagementPolicyAssignmentsListForScopeResponse

type RoleManagementPolicyAssignmentsListForScopeResponse struct {
	RoleManagementPolicyAssignmentsListForScopeResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RoleManagementPolicyAssignmentsListForScopeResponse contains the response from method RoleManagementPolicyAssignments.ListForScope.

type RoleManagementPolicyAssignmentsListForScopeResult

type RoleManagementPolicyAssignmentsListForScopeResult struct {
	RoleManagementPolicyAssignmentListResult
}

RoleManagementPolicyAssignmentsListForScopeResult contains the result from method RoleManagementPolicyAssignments.ListForScope.

type RoleManagementPolicyAuthenticationContextRule

type RoleManagementPolicyAuthenticationContextRule struct {
	RoleManagementPolicyRule
	// The claim value.
	ClaimValue *string `json:"claimValue,omitempty"`

	// The value indicating if rule is enabled.
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

RoleManagementPolicyAuthenticationContextRule - The role management policy rule.

func (RoleManagementPolicyAuthenticationContextRule) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyAuthenticationContextRule.

func (*RoleManagementPolicyAuthenticationContextRule) UnmarshalJSON

func (r *RoleManagementPolicyAuthenticationContextRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleManagementPolicyAuthenticationContextRule.

type RoleManagementPolicyEnablementRule

type RoleManagementPolicyEnablementRule struct {
	RoleManagementPolicyRule
	// The list of enabled rules.
	EnabledRules []*EnablementRules `json:"enabledRules,omitempty"`
}

RoleManagementPolicyEnablementRule - The role management policy rule.

func (RoleManagementPolicyEnablementRule) MarshalJSON

func (r RoleManagementPolicyEnablementRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyEnablementRule.

func (*RoleManagementPolicyEnablementRule) UnmarshalJSON

func (r *RoleManagementPolicyEnablementRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleManagementPolicyEnablementRule.

type RoleManagementPolicyExpirationRule

type RoleManagementPolicyExpirationRule struct {
	RoleManagementPolicyRule
	// The value indicating whether expiration is required.
	IsExpirationRequired *bool `json:"isExpirationRequired,omitempty"`

	// The maximum duration of expiration in timespan.
	MaximumDuration *string `json:"maximumDuration,omitempty"`
}

RoleManagementPolicyExpirationRule - The role management policy rule.

func (RoleManagementPolicyExpirationRule) MarshalJSON

func (r RoleManagementPolicyExpirationRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyExpirationRule.

func (*RoleManagementPolicyExpirationRule) UnmarshalJSON

func (r *RoleManagementPolicyExpirationRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleManagementPolicyExpirationRule.

type RoleManagementPolicyListResult

type RoleManagementPolicyListResult struct {
	// The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`

	// Role management policy list.
	Value []*RoleManagementPolicy `json:"value,omitempty"`
}

RoleManagementPolicyListResult - Role management policy list operation result.

func (RoleManagementPolicyListResult) MarshalJSON

func (r RoleManagementPolicyListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyListResult.

type RoleManagementPolicyNotificationRule

type RoleManagementPolicyNotificationRule struct {
	RoleManagementPolicyRule
	// Its value determine if the notification need to be sent to the recipient type specified in policy rule.
	IsDefaultRecipientsEnabled *bool `json:"isDefaultRecipientsEnabled,omitempty"`

	// The notification level.
	NotificationLevel *NotificationLevel `json:"notificationLevel,omitempty"`

	// The list notification recipients.
	NotificationRecipients []*string `json:"notificationRecipients,omitempty"`

	// The type of notification.
	NotificationType *NotificationDeliveryMechanism `json:"notificationType,omitempty"`

	// The recipient type.
	RecipientType *RecipientType `json:"recipientType,omitempty"`
}

RoleManagementPolicyNotificationRule - The role management policy rule.

func (RoleManagementPolicyNotificationRule) MarshalJSON

func (r RoleManagementPolicyNotificationRule) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyNotificationRule.

func (*RoleManagementPolicyNotificationRule) UnmarshalJSON

func (r *RoleManagementPolicyNotificationRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleManagementPolicyNotificationRule.

type RoleManagementPolicyProperties

type RoleManagementPolicyProperties struct {
	// The role management policy description.
	Description *string `json:"description,omitempty"`

	// The role management policy display name.
	DisplayName *string `json:"displayName,omitempty"`

	// The role management policy is default policy.
	IsOrganizationDefault *bool `json:"isOrganizationDefault,omitempty"`

	// The rule applied to the policy.
	Rules []RoleManagementPolicyRuleClassification `json:"rules,omitempty"`

	// The role management policy scope.
	Scope *string `json:"scope,omitempty"`

	// READ-ONLY; The readonly computed rule applied to the policy.
	EffectiveRules []RoleManagementPolicyRuleClassification `json:"effectiveRules,omitempty" azure:"ro"`

	// READ-ONLY; The name of the entity last modified it
	LastModifiedBy *Principal `json:"lastModifiedBy,omitempty" azure:"ro"`

	// READ-ONLY; The last modified date time.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty" azure:"ro"`

	// READ-ONLY; Additional properties of scope
	PolicyProperties *PolicyProperties `json:"policyProperties,omitempty" azure:"ro"`
}

RoleManagementPolicyProperties - Role management policy properties with scope.

func (RoleManagementPolicyProperties) MarshalJSON

func (r RoleManagementPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyProperties.

func (*RoleManagementPolicyProperties) UnmarshalJSON

func (r *RoleManagementPolicyProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleManagementPolicyProperties.

type RoleManagementPolicyRule

type RoleManagementPolicyRule struct {
	// REQUIRED; The type of rule
	RuleType *RoleManagementPolicyRuleType `json:"ruleType,omitempty"`

	// The id of the rule.
	ID *string `json:"id,omitempty"`

	// The target of the current rule.
	Target *RoleManagementPolicyRuleTarget `json:"target,omitempty"`
}

RoleManagementPolicyRule - The role management policy rule.

func (*RoleManagementPolicyRule) GetRoleManagementPolicyRule

func (r *RoleManagementPolicyRule) GetRoleManagementPolicyRule() *RoleManagementPolicyRule

GetRoleManagementPolicyRule implements the RoleManagementPolicyRuleClassification interface for type RoleManagementPolicyRule.

func (*RoleManagementPolicyRule) UnmarshalJSON

func (r *RoleManagementPolicyRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RoleManagementPolicyRule.

type RoleManagementPolicyRuleClassification

type RoleManagementPolicyRuleClassification interface {
	// GetRoleManagementPolicyRule returns the RoleManagementPolicyRule content of the underlying type.
	GetRoleManagementPolicyRule() *RoleManagementPolicyRule
}

RoleManagementPolicyRuleClassification provides polymorphic access to related types. Call the interface's GetRoleManagementPolicyRule() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *RoleManagementPolicyApprovalRule, *RoleManagementPolicyAuthenticationContextRule, *RoleManagementPolicyEnablementRule, - *RoleManagementPolicyExpirationRule, *RoleManagementPolicyNotificationRule, *RoleManagementPolicyRule

type RoleManagementPolicyRuleTarget

type RoleManagementPolicyRuleTarget struct {
	// The caller of the setting.
	Caller *string `json:"caller,omitempty"`

	// The list of enforced settings.
	EnforcedSettings []*string `json:"enforcedSettings,omitempty"`

	// The list of inheritable settings.
	InheritableSettings []*string `json:"inheritableSettings,omitempty"`

	// The assignment level to which it is applied.
	Level *string `json:"level,omitempty"`

	// The type of operation.
	Operations []*string `json:"operations,omitempty"`

	// The list of target objects.
	TargetObjects []*string `json:"targetObjects,omitempty"`
}

RoleManagementPolicyRuleTarget - The role management policy rule target.

func (RoleManagementPolicyRuleTarget) MarshalJSON

func (r RoleManagementPolicyRuleTarget) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RoleManagementPolicyRuleTarget.

type RoleManagementPolicyRuleType

type RoleManagementPolicyRuleType string

RoleManagementPolicyRuleType - The type of rule

const (
	RoleManagementPolicyRuleTypeRoleManagementPolicyApprovalRule              RoleManagementPolicyRuleType = "RoleManagementPolicyApprovalRule"
	RoleManagementPolicyRuleTypeRoleManagementPolicyAuthenticationContextRule RoleManagementPolicyRuleType = "RoleManagementPolicyAuthenticationContextRule"
	RoleManagementPolicyRuleTypeRoleManagementPolicyEnablementRule            RoleManagementPolicyRuleType = "RoleManagementPolicyEnablementRule"
	RoleManagementPolicyRuleTypeRoleManagementPolicyExpirationRule            RoleManagementPolicyRuleType = "RoleManagementPolicyExpirationRule"
	RoleManagementPolicyRuleTypeRoleManagementPolicyNotificationRule          RoleManagementPolicyRuleType = "RoleManagementPolicyNotificationRule"
)

func PossibleRoleManagementPolicyRuleTypeValues

func PossibleRoleManagementPolicyRuleTypeValues() []RoleManagementPolicyRuleType

PossibleRoleManagementPolicyRuleTypeValues returns the possible values for the RoleManagementPolicyRuleType const type.

func (RoleManagementPolicyRuleType) ToPtr

ToPtr returns a *RoleManagementPolicyRuleType pointing to the current value.

type ServicePrincipalDecisionTarget

type ServicePrincipalDecisionTarget struct {
	AccessReviewDecisionTarget
	// READ-ONLY; The appId for the service principal entity being reviewed
	AppID *string `json:"appId,omitempty" azure:"ro"`

	// READ-ONLY; The id of service principal whose access is reviewed.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`

	// READ-ONLY; The display name of the service principal whose access was reviewed.
	PrincipalName *string `json:"principalName,omitempty" azure:"ro"`
}

ServicePrincipalDecisionTarget - Service Principal Decision Target

func (ServicePrincipalDecisionTarget) MarshalJSON

func (s ServicePrincipalDecisionTarget) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServicePrincipalDecisionTarget.

func (*ServicePrincipalDecisionTarget) UnmarshalJSON

func (s *ServicePrincipalDecisionTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ServicePrincipalDecisionTarget.

type Status

type Status string

Status - The status of the role assignment schedule.

const (
	StatusAccepted                    Status = "Accepted"
	StatusAdminApproved               Status = "AdminApproved"
	StatusAdminDenied                 Status = "AdminDenied"
	StatusCanceled                    Status = "Canceled"
	StatusDenied                      Status = "Denied"
	StatusFailed                      Status = "Failed"
	StatusFailedAsResourceIsLocked    Status = "FailedAsResourceIsLocked"
	StatusGranted                     Status = "Granted"
	StatusInvalid                     Status = "Invalid"
	StatusPendingAdminDecision        Status = "PendingAdminDecision"
	StatusPendingApproval             Status = "PendingApproval"
	StatusPendingApprovalProvisioning Status = "PendingApprovalProvisioning"
	StatusPendingEvaluation           Status = "PendingEvaluation"
	StatusPendingExternalProvisioning Status = "PendingExternalProvisioning"
	StatusPendingProvisioning         Status = "PendingProvisioning"
	StatusPendingRevocation           Status = "PendingRevocation"
	StatusPendingScheduleCreation     Status = "PendingScheduleCreation"
	StatusProvisioned                 Status = "Provisioned"
	StatusProvisioningStarted         Status = "ProvisioningStarted"
	StatusRevoked                     Status = "Revoked"
	StatusScheduleCreated             Status = "ScheduleCreated"
	StatusTimedOut                    Status = "TimedOut"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns the possible values for the Status const type.

func (Status) ToPtr

func (c Status) ToPtr() *Status

ToPtr returns a *Status pointing to the current value.

type Type

type Type string

Type - Type of the role assignment schedule expiration

const (
	TypeAfterDateTime Type = "AfterDateTime"
	TypeAfterDuration Type = "AfterDuration"
	TypeNoExpiration  Type = "NoExpiration"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns the possible values for the Type const type.

func (Type) ToPtr

func (c Type) ToPtr() *Type

ToPtr returns a *Type pointing to the current value.

type UserDecisionTarget

type UserDecisionTarget struct {
	AccessReviewDecisionTarget
	// READ-ONLY; The id of user whose access was reviewed.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`

	// READ-ONLY; The display name of the user whose access was reviewed.
	PrincipalName *string `json:"principalName,omitempty" azure:"ro"`

	// READ-ONLY; The user principal name of the user whose access was reviewed.
	UserPrincipalName *string `json:"userPrincipalName,omitempty" azure:"ro"`
}

UserDecisionTarget - User Decision Target

func (UserDecisionTarget) MarshalJSON

func (u UserDecisionTarget) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UserDecisionTarget.

func (*UserDecisionTarget) UnmarshalJSON

func (u *UserDecisionTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UserDecisionTarget.

type UserSet

type UserSet struct {
	// The description of the user.
	Description *string `json:"description,omitempty"`

	// The object id of the user.
	ID *string `json:"id,omitempty"`

	// The value indicating whether the user is a backup fallback approver
	IsBackup *bool `json:"isBackup,omitempty"`

	// The type of user.
	UserType *UserType `json:"userType,omitempty"`
}

UserSet - The detail of a user.

type UserType

type UserType string

UserType - The type of user.

const (
	UserTypeGroup UserType = "Group"
	UserTypeUser  UserType = "User"
)

func PossibleUserTypeValues

func PossibleUserTypeValues() []UserType

PossibleUserTypeValues returns the possible values for the UserType const type.

func (UserType) ToPtr

func (c UserType) ToPtr() *UserType

ToPtr returns a *UserType pointing to the current value.

type ValidationResponse

type ValidationResponse struct {
	// Failed validation result details
	ErrorInfo *ValidationResponseErrorInfo `json:"errorInfo,omitempty"`

	// READ-ONLY; Whether or not validation succeeded
	IsValid *bool `json:"isValid,omitempty" azure:"ro"`
}

ValidationResponse - Validation response

type ValidationResponseErrorInfo

type ValidationResponseErrorInfo struct {
	// READ-ONLY; Error code indicating why validation failed
	Code *string `json:"code,omitempty" azure:"ro"`

	// READ-ONLY; Message indicating why validation failed
	Message *string `json:"message,omitempty" azure:"ro"`
}

ValidationResponseErrorInfo - Failed validation result details

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL