README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/managedapplications/2019-07-01/applications
Documentation
The applications
SDK allows for interaction with the Azure Resource Manager Service managedapplications
(API Version 2019-07-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/managedapplications/2019-07-01/applications"
Client Initialization
client := applications.NewApplicationsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ApplicationsClient.CreateOrUpdate
ctx := context.TODO()
id := applications.NewApplicationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationValue")
payload := applications.Application{
// ...
}
if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ApplicationsClient.CreateOrUpdateById
ctx := context.TODO()
id := applications.NewApplicationIdID("applicationIdValue")
payload := applications.Application{
// ...
}
if err := client.CreateOrUpdateByIdThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ApplicationsClient.Delete
ctx := context.TODO()
id := applications.NewApplicationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationValue")
if err := client.DeleteThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ApplicationsClient.DeleteById
ctx := context.TODO()
id := applications.NewApplicationIdID("applicationIdValue")
if err := client.DeleteByIdThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ApplicationsClient.Get
ctx := context.TODO()
id := applications.NewApplicationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApplicationsClient.GetById
ctx := context.TODO()
id := applications.NewApplicationIdID("applicationIdValue")
read, err := client.GetById(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApplicationsClient.ListAllowedUpgradePlans
ctx := context.TODO()
id := applications.NewApplicationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationValue")
read, err := client.ListAllowedUpgradePlans(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApplicationsClient.ListByResourceGroup
ctx := context.TODO()
id := applications.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ApplicationsClient.ListBySubscription
ctx := context.TODO()
id := applications.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ApplicationsClient.ListTokens
ctx := context.TODO()
id := applications.NewApplicationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationValue")
payload := applications.ListTokenRequest{
// ...
}
read, err := client.ListTokens(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApplicationsClient.RefreshPermissions
ctx := context.TODO()
id := applications.NewApplicationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationValue")
if err := client.RefreshPermissionsThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ApplicationsClient.Update
ctx := context.TODO()
id := applications.NewApplicationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationValue")
payload := applications.ApplicationPatchable{
// ...
}
if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ApplicationsClient.UpdateAccess
ctx := context.TODO()
id := applications.NewApplicationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "applicationValue")
payload := applications.UpdateAccessDefinition{
// ...
}
if err := client.UpdateAccessThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ApplicationsClient.UpdateById
ctx := context.TODO()
id := applications.NewApplicationIdID("applicationIdValue")
payload := applications.ApplicationPatchable{
// ...
}
if err := client.UpdateByIdThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Documentation ¶
Index ¶
- func PossibleValuesForApplicationArtifactName() []string
- func PossibleValuesForApplicationArtifactType() []string
- func PossibleValuesForApplicationManagementMode() []string
- func PossibleValuesForJitApprovalMode() []string
- func PossibleValuesForJitApproverType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForResourceIdentityType() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForSubstatus() []string
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateApplicationIdID(input interface{}, key string) (warnings []string, errors []error)
- type AllowedUpgradePlansResult
- type Application
- type ApplicationArtifact
- type ApplicationArtifactName
- type ApplicationArtifactType
- type ApplicationAuthorization
- type ApplicationBillingDetailsDefinition
- type ApplicationClientDetails
- type ApplicationId
- type ApplicationIdId
- type ApplicationJitAccessPolicy
- type ApplicationManagementMode
- type ApplicationOperationPredicate
- type ApplicationPackageContact
- type ApplicationPackageSupportUrls
- type ApplicationPatchable
- type ApplicationProperties
- type ApplicationsClient
- func (c ApplicationsClient) CreateOrUpdate(ctx context.Context, id ApplicationId, input Application) (result CreateOrUpdateOperationResponse, err error)
- func (c ApplicationsClient) CreateOrUpdateById(ctx context.Context, id ApplicationIdId, input Application) (result CreateOrUpdateByIdOperationResponse, err error)
- func (c ApplicationsClient) CreateOrUpdateByIdThenPoll(ctx context.Context, id ApplicationIdId, input Application) error
- func (c ApplicationsClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationId, input Application) error
- func (c ApplicationsClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
- func (c ApplicationsClient) DeleteById(ctx context.Context, id ApplicationIdId) (result DeleteByIdOperationResponse, err error)
- func (c ApplicationsClient) DeleteByIdThenPoll(ctx context.Context, id ApplicationIdId) error
- func (c ApplicationsClient) DeleteThenPoll(ctx context.Context, id ApplicationId) error
- func (c ApplicationsClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
- func (c ApplicationsClient) GetById(ctx context.Context, id ApplicationIdId) (result GetByIdOperationResponse, err error)
- func (c ApplicationsClient) ListAllowedUpgradePlans(ctx context.Context, id ApplicationId) (result ListAllowedUpgradePlansOperationResponse, err error)
- func (c ApplicationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ApplicationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ApplicationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ApplicationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c ApplicationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ApplicationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c ApplicationsClient) ListTokens(ctx context.Context, id ApplicationId, input ListTokenRequest) (result ListTokensOperationResponse, err error)
- func (c ApplicationsClient) RefreshPermissions(ctx context.Context, id ApplicationId) (result RefreshPermissionsOperationResponse, err error)
- func (c ApplicationsClient) RefreshPermissionsThenPoll(ctx context.Context, id ApplicationId) error
- func (c ApplicationsClient) Update(ctx context.Context, id ApplicationId, input ApplicationPatchable) (result UpdateOperationResponse, err error)
- func (c ApplicationsClient) UpdateAccess(ctx context.Context, id ApplicationId, input UpdateAccessDefinition) (result UpdateAccessOperationResponse, err error)
- func (c ApplicationsClient) UpdateAccessThenPoll(ctx context.Context, id ApplicationId, input UpdateAccessDefinition) error
- func (c ApplicationsClient) UpdateById(ctx context.Context, id ApplicationIdId, input ApplicationPatchable) (result UpdateByIdOperationResponse, err error)
- func (c ApplicationsClient) UpdateByIdThenPoll(ctx context.Context, id ApplicationIdId, input ApplicationPatchable) error
- func (c ApplicationsClient) UpdateThenPoll(ctx context.Context, id ApplicationId, input ApplicationPatchable) error
- type CreateOrUpdateByIdOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteByIdOperationResponse
- type DeleteOperationResponse
- type GetByIdOperationResponse
- type GetOperationResponse
- type Identity
- type JitApprovalMode
- type JitApproverDefinition
- type JitApproverType
- type JitRequestMetadata
- type ListAllowedUpgradePlansOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListTokenRequest
- type ListTokensOperationResponse
- type ManagedIdentityToken
- type ManagedIdentityTokenResult
- type Plan
- type PlanPatchable
- type ProvisioningState
- type RefreshPermissionsOperationResponse
- type ResourceIdentityType
- type Sku
- type Status
- type Substatus
- type UpdateAccessDefinition
- type UpdateAccessOperationResponse
- type UpdateByIdOperationResponse
- type UpdateOperationResponse
- type UserAssignedResourceIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApplicationArtifactName ¶
func PossibleValuesForApplicationArtifactName() []string
func PossibleValuesForApplicationArtifactType ¶
func PossibleValuesForApplicationArtifactType() []string
func PossibleValuesForApplicationManagementMode ¶
func PossibleValuesForApplicationManagementMode() []string
func PossibleValuesForJitApprovalMode ¶
func PossibleValuesForJitApprovalMode() []string
func PossibleValuesForJitApproverType ¶
func PossibleValuesForJitApproverType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForResourceIdentityType ¶
func PossibleValuesForResourceIdentityType() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForSubstatus ¶
func PossibleValuesForSubstatus() []string
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
func ValidateApplicationIdID ¶
ValidateApplicationIdID checks that 'input' can be parsed as a Application Id ID
Types ¶
type AllowedUpgradePlansResult ¶
type AllowedUpgradePlansResult struct {
Value *[]Plan `json:"value,omitempty"`
}
type Application ¶
type Application struct { Id *string `json:"id,omitempty"` Identity *Identity `json:"identity,omitempty"` Kind string `json:"kind"` Location *string `json:"location,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties ApplicationProperties `json:"properties"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationArtifact ¶
type ApplicationArtifact struct { Name ApplicationArtifactName `json:"name"` Type ApplicationArtifactType `json:"type"` Uri string `json:"uri"` }
type ApplicationArtifactName ¶
type ApplicationArtifactName string
const ( ApplicationArtifactNameAuthorizations ApplicationArtifactName = "Authorizations" ApplicationArtifactNameCustomRoleDefinition ApplicationArtifactName = "CustomRoleDefinition" ApplicationArtifactNameNotSpecified ApplicationArtifactName = "NotSpecified" ApplicationArtifactNameViewDefinition ApplicationArtifactName = "ViewDefinition" )
func (*ApplicationArtifactName) UnmarshalJSON ¶
func (s *ApplicationArtifactName) UnmarshalJSON(bytes []byte) error
type ApplicationArtifactType ¶
type ApplicationArtifactType string
const ( ApplicationArtifactTypeCustom ApplicationArtifactType = "Custom" ApplicationArtifactTypeNotSpecified ApplicationArtifactType = "NotSpecified" ApplicationArtifactTypeTemplate ApplicationArtifactType = "Template" )
func (*ApplicationArtifactType) UnmarshalJSON ¶
func (s *ApplicationArtifactType) UnmarshalJSON(bytes []byte) error
type ApplicationBillingDetailsDefinition ¶
type ApplicationBillingDetailsDefinition struct {
ResourceUsageId *string `json:"resourceUsageId,omitempty"`
}
type ApplicationId ¶
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, applicationName string) ApplicationId
NewApplicationID returns a new ApplicationId struct
func ParseApplicationID ¶
func ParseApplicationID(input string) (*ApplicationId, error)
ParseApplicationID parses 'input' into a ApplicationId
func ParseApplicationIDInsensitively ¶
func ParseApplicationIDInsensitively(input string) (*ApplicationId, error)
ParseApplicationIDInsensitively parses 'input' case-insensitively into a ApplicationId note: this method should only be used for API response data and not user input
func (*ApplicationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ApplicationId) FromParseResult(input resourceids.ParseResult) error
func (ApplicationId) ID ¶
func (id ApplicationId) ID() string
ID returns the formatted Application ID
func (ApplicationId) Segments ¶
func (id ApplicationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application ID
func (ApplicationId) String ¶
func (id ApplicationId) String() string
String returns a human-readable description of this Application ID
type ApplicationIdId ¶
type ApplicationIdId struct {
ApplicationId string
}
ApplicationIdId is a struct representing the Resource ID for a Application Id
func NewApplicationIdID ¶
func NewApplicationIdID(applicationId string) ApplicationIdId
NewApplicationIdID returns a new ApplicationIdId struct
func ParseApplicationIdID ¶
func ParseApplicationIdID(input string) (*ApplicationIdId, error)
ParseApplicationIdID parses 'input' into a ApplicationIdId
func ParseApplicationIdIDInsensitively ¶
func ParseApplicationIdIDInsensitively(input string) (*ApplicationIdId, error)
ParseApplicationIdIDInsensitively parses 'input' case-insensitively into a ApplicationIdId note: this method should only be used for API response data and not user input
func (*ApplicationIdId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ApplicationIdId) FromParseResult(input resourceids.ParseResult) error
func (ApplicationIdId) ID ¶
func (id ApplicationIdId) ID() string
ID returns the formatted Application Id ID
func (ApplicationIdId) Segments ¶
func (id ApplicationIdId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application Id ID
func (ApplicationIdId) String ¶
func (id ApplicationIdId) String() string
String returns a human-readable description of this Application Id ID
type ApplicationJitAccessPolicy ¶
type ApplicationJitAccessPolicy struct { JitAccessEnabled bool `json:"jitAccessEnabled"` JitApprovalMode *JitApprovalMode `json:"jitApprovalMode,omitempty"` JitApprovers *[]JitApproverDefinition `json:"jitApprovers,omitempty"` MaximumJitAccessDuration *string `json:"maximumJitAccessDuration,omitempty"` }
type ApplicationManagementMode ¶
type ApplicationManagementMode string
const ( ApplicationManagementModeManaged ApplicationManagementMode = "Managed" ApplicationManagementModeNotSpecified ApplicationManagementMode = "NotSpecified" ApplicationManagementModeUnmanaged ApplicationManagementMode = "Unmanaged" )
func (*ApplicationManagementMode) UnmarshalJSON ¶
func (s *ApplicationManagementMode) UnmarshalJSON(bytes []byte) error
type ApplicationOperationPredicate ¶
type ApplicationOperationPredicate struct { Id *string Kind *string Location *string ManagedBy *string Name *string Type *string }
func (ApplicationOperationPredicate) Matches ¶
func (p ApplicationOperationPredicate) Matches(input Application) bool
type ApplicationPatchable ¶
type ApplicationPatchable struct { Id *string `json:"id,omitempty"` Identity *Identity `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location *string `json:"location,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Plan *PlanPatchable `json:"plan,omitempty"` Properties *ApplicationProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationProperties ¶
type ApplicationProperties struct { ApplicationDefinitionId *string `json:"applicationDefinitionId,omitempty"` Artifacts *[]ApplicationArtifact `json:"artifacts,omitempty"` Authorizations *[]ApplicationAuthorization `json:"authorizations,omitempty"` BillingDetails *ApplicationBillingDetailsDefinition `json:"billingDetails,omitempty"` CreatedBy *ApplicationClientDetails `json:"createdBy,omitempty"` CustomerSupport *ApplicationPackageContact `json:"customerSupport,omitempty"` JitAccessPolicy *ApplicationJitAccessPolicy `json:"jitAccessPolicy,omitempty"` ManagedResourceGroupId *string `json:"managedResourceGroupId,omitempty"` ManagementMode *ApplicationManagementMode `json:"managementMode,omitempty"` Outputs *interface{} `json:"outputs,omitempty"` Parameters *interface{} `json:"parameters,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublisherTenantId *string `json:"publisherTenantId,omitempty"` SupportUrls *ApplicationPackageSupportUrls `json:"supportUrls,omitempty"` UpdatedBy *ApplicationClientDetails `json:"updatedBy,omitempty"` }
type ApplicationsClient ¶
type ApplicationsClient struct {
Client *resourcemanager.Client
}
func NewApplicationsClientWithBaseURI ¶
func NewApplicationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplicationsClient, error)
func (ApplicationsClient) CreateOrUpdate ¶
func (c ApplicationsClient) CreateOrUpdate(ctx context.Context, id ApplicationId, input Application) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApplicationsClient) CreateOrUpdateById ¶
func (c ApplicationsClient) CreateOrUpdateById(ctx context.Context, id ApplicationIdId, input Application) (result CreateOrUpdateByIdOperationResponse, err error)
CreateOrUpdateById ...
func (ApplicationsClient) CreateOrUpdateByIdThenPoll ¶
func (c ApplicationsClient) CreateOrUpdateByIdThenPoll(ctx context.Context, id ApplicationIdId, input Application) error
CreateOrUpdateByIdThenPoll performs CreateOrUpdateById then polls until it's completed
func (ApplicationsClient) CreateOrUpdateThenPoll ¶
func (c ApplicationsClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationId, input Application) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ApplicationsClient) Delete ¶
func (c ApplicationsClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
Delete ...
func (ApplicationsClient) DeleteById ¶
func (c ApplicationsClient) DeleteById(ctx context.Context, id ApplicationIdId) (result DeleteByIdOperationResponse, err error)
DeleteById ...
func (ApplicationsClient) DeleteByIdThenPoll ¶
func (c ApplicationsClient) DeleteByIdThenPoll(ctx context.Context, id ApplicationIdId) error
DeleteByIdThenPoll performs DeleteById then polls until it's completed
func (ApplicationsClient) DeleteThenPoll ¶
func (c ApplicationsClient) DeleteThenPoll(ctx context.Context, id ApplicationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ApplicationsClient) Get ¶
func (c ApplicationsClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
Get ...
func (ApplicationsClient) GetById ¶
func (c ApplicationsClient) GetById(ctx context.Context, id ApplicationIdId) (result GetByIdOperationResponse, err error)
GetById ...
func (ApplicationsClient) ListAllowedUpgradePlans ¶
func (c ApplicationsClient) ListAllowedUpgradePlans(ctx context.Context, id ApplicationId) (result ListAllowedUpgradePlansOperationResponse, err error)
ListAllowedUpgradePlans ...
func (ApplicationsClient) ListByResourceGroup ¶
func (c ApplicationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ApplicationsClient) ListByResourceGroupComplete ¶
func (c ApplicationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ApplicationsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ApplicationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ApplicationOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApplicationsClient) ListBySubscription ¶
func (c ApplicationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ApplicationsClient) ListBySubscriptionComplete ¶
func (c ApplicationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ApplicationsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ApplicationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApplicationOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApplicationsClient) ListTokens ¶
func (c ApplicationsClient) ListTokens(ctx context.Context, id ApplicationId, input ListTokenRequest) (result ListTokensOperationResponse, err error)
ListTokens ...
func (ApplicationsClient) RefreshPermissions ¶
func (c ApplicationsClient) RefreshPermissions(ctx context.Context, id ApplicationId) (result RefreshPermissionsOperationResponse, err error)
RefreshPermissions ...
func (ApplicationsClient) RefreshPermissionsThenPoll ¶
func (c ApplicationsClient) RefreshPermissionsThenPoll(ctx context.Context, id ApplicationId) error
RefreshPermissionsThenPoll performs RefreshPermissions then polls until it's completed
func (ApplicationsClient) Update ¶
func (c ApplicationsClient) Update(ctx context.Context, id ApplicationId, input ApplicationPatchable) (result UpdateOperationResponse, err error)
Update ...
func (ApplicationsClient) UpdateAccess ¶
func (c ApplicationsClient) UpdateAccess(ctx context.Context, id ApplicationId, input UpdateAccessDefinition) (result UpdateAccessOperationResponse, err error)
UpdateAccess ...
func (ApplicationsClient) UpdateAccessThenPoll ¶
func (c ApplicationsClient) UpdateAccessThenPoll(ctx context.Context, id ApplicationId, input UpdateAccessDefinition) error
UpdateAccessThenPoll performs UpdateAccess then polls until it's completed
func (ApplicationsClient) UpdateById ¶
func (c ApplicationsClient) UpdateById(ctx context.Context, id ApplicationIdId, input ApplicationPatchable) (result UpdateByIdOperationResponse, err error)
UpdateById ...
func (ApplicationsClient) UpdateByIdThenPoll ¶
func (c ApplicationsClient) UpdateByIdThenPoll(ctx context.Context, id ApplicationIdId, input ApplicationPatchable) error
UpdateByIdThenPoll performs UpdateById then polls until it's completed
func (ApplicationsClient) UpdateThenPoll ¶
func (c ApplicationsClient) UpdateThenPoll(ctx context.Context, id ApplicationId, input ApplicationPatchable) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type GetByIdOperationResponse ¶
type GetByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Application }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Application }
type Identity ¶
type Identity struct { PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type *ResourceIdentityType `json:"type,omitempty"` UserAssignedIdentities *map[string]UserAssignedResourceIdentity `json:"userAssignedIdentities,omitempty"` }
type JitApprovalMode ¶
type JitApprovalMode string
const ( JitApprovalModeAutoApprove JitApprovalMode = "AutoApprove" JitApprovalModeManualApprove JitApprovalMode = "ManualApprove" JitApprovalModeNotSpecified JitApprovalMode = "NotSpecified" )
func (*JitApprovalMode) UnmarshalJSON ¶
func (s *JitApprovalMode) UnmarshalJSON(bytes []byte) error
type JitApproverDefinition ¶
type JitApproverDefinition struct { DisplayName *string `json:"displayName,omitempty"` Id string `json:"id"` Type *JitApproverType `json:"type,omitempty"` }
type JitApproverType ¶
type JitApproverType string
const ( JitApproverTypeGroup JitApproverType = "group" JitApproverTypeUser JitApproverType = "user" )
func (*JitApproverType) UnmarshalJSON ¶
func (s *JitApproverType) UnmarshalJSON(bytes []byte) error
type JitRequestMetadata ¶
type ListAllowedUpgradePlansOperationResponse ¶
type ListAllowedUpgradePlansOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AllowedUpgradePlansResult }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Application
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Application }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Application
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Application }
type ListTokenRequest ¶
type ListTokensOperationResponse ¶
type ListTokensOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedIdentityTokenResult }
type ManagedIdentityToken ¶
type ManagedIdentityToken struct { AccessToken *string `json:"accessToken,omitempty"` AuthorizationAudience *string `json:"authorizationAudience,omitempty"` ExpiresIn *string `json:"expiresIn,omitempty"` ExpiresOn *string `json:"expiresOn,omitempty"` NotBefore *string `json:"notBefore,omitempty"` ResourceId *string `json:"resourceId,omitempty"` TokenType *string `json:"tokenType,omitempty"` }
type ManagedIdentityTokenResult ¶
type ManagedIdentityTokenResult struct {
Value *[]ManagedIdentityToken `json:"value,omitempty"`
}
type PlanPatchable ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateReady ProvisioningState = "Ready" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ResourceIdentityType ¶
type ResourceIdentityType string
const ( ResourceIdentityTypeNone ResourceIdentityType = "None" ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned" ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned" ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned" )
func (*ResourceIdentityType) UnmarshalJSON ¶
func (s *ResourceIdentityType) UnmarshalJSON(bytes []byte) error
type UpdateAccessDefinition ¶
type UpdateAccessDefinition struct { Approver *string `json:"approver,omitempty"` Metadata JitRequestMetadata `json:"metadata"` Status Status `json:"status"` SubStatus Substatus `json:"subStatus"` }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_application.go
- id_applicationid.go
- method_createorupdate.go
- method_createorupdatebyid.go
- method_delete.go
- method_deletebyid.go
- method_get.go
- method_getbyid.go
- method_listallowedupgradeplans.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listtokens.go
- method_refreshpermissions.go
- method_update.go
- method_updateaccess.go
- method_updatebyid.go
- model_allowedupgradeplansresult.go
- model_application.go
- model_applicationartifact.go
- model_applicationauthorization.go
- model_applicationbillingdetailsdefinition.go
- model_applicationclientdetails.go
- model_applicationjitaccesspolicy.go
- model_applicationpackagecontact.go
- model_applicationpackagesupporturls.go
- model_applicationpatchable.go
- model_applicationproperties.go
- model_identity.go
- model_jitapproverdefinition.go
- model_jitrequestmetadata.go
- model_listtokenrequest.go
- model_managedidentitytoken.go
- model_managedidentitytokenresult.go
- model_plan.go
- model_planpatchable.go
- model_sku.go
- model_updateaccessdefinition.go
- model_userassignedresourceidentity.go
- predicates.go
- version.go