applications

package
v0.20240524.1074426 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/managedapplications/2021-07-01/applications Documentation

The applications SDK allows for interaction with the Azure Resource Manager Service managedapplications (API Version 2021-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/managedapplications/2021-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 := commonids.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 := commonids.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

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

func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)

ValidateApplicationID checks that 'input' can be parsed as a Application ID

func ValidateApplicationIdID

func ValidateApplicationIdID(input interface{}, key string) (warnings []string, errors []error)

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"`
	SystemData *systemdata.SystemData `json:"systemData,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 ApplicationAuthorization

type ApplicationAuthorization struct {
	PrincipalId      string `json:"principalId"`
	RoleDefinitionId string `json:"roleDefinitionId"`
}

type ApplicationBillingDetailsDefinition

type ApplicationBillingDetailsDefinition struct {
	ResourceUsageId *string `json:"resourceUsageId,omitempty"`
}

type ApplicationClientDetails

type ApplicationClientDetails struct {
	ApplicationId *string `json:"applicationId,omitempty"`
	Oid           *string `json:"oid,omitempty"`
	Puid          *string `json:"puid,omitempty"`
}

type ApplicationId

type ApplicationId struct {
	SubscriptionId    string
	ResourceGroupName string
	ApplicationName   string
}

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

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

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

type ApplicationPackageContact

type ApplicationPackageContact struct {
	ContactName *string `json:"contactName,omitempty"`
	Email       string  `json:"email"`
	Phone       string  `json:"phone"`
}

type ApplicationPackageSupportUrls

type ApplicationPackageSupportUrls struct {
	GovernmentCloud *string `json:"governmentCloud,omitempty"`
	PublicAzure     *string `json:"publicAzure,omitempty"`
}

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"`
	SystemData *systemdata.SystemData `json:"systemData,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

Delete ...

func (ApplicationsClient) DeleteById

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

Get ...

func (ApplicationsClient) GetById

GetById ...

func (ApplicationsClient) ListAllowedUpgradePlans

func (c ApplicationsClient) ListAllowedUpgradePlans(ctx context.Context, id ApplicationId) (result ListAllowedUpgradePlansOperationResponse, err error)

ListAllowedUpgradePlans ...

func (ApplicationsClient) ListByResourceGroup

ListByResourceGroup ...

func (ApplicationsClient) ListByResourceGroupComplete

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

ListBySubscription ...

func (ApplicationsClient) ListBySubscriptionComplete

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

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

Update ...

func (ApplicationsClient) UpdateAccess

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

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 CreateOrUpdateByIdOperationResponse

type CreateOrUpdateByIdOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Application
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Application
}

type DeleteByIdOperationResponse

type DeleteByIdOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

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 JitRequestMetadata struct {
	OriginRequestId    *string `json:"originRequestId,omitempty"`
	RequestorId        *string `json:"requestorId,omitempty"`
	SubjectDisplayName *string `json:"subjectDisplayName,omitempty"`
	TenantDisplayName  *string `json:"tenantDisplayName,omitempty"`
}

type ListAllowedUpgradePlansOperationResponse

type ListAllowedUpgradePlansOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AllowedUpgradePlansResult
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Application
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Application
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Application
}

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Application
}

type ListTokenRequest

type ListTokenRequest struct {
	AuthorizationAudience  *string   `json:"authorizationAudience,omitempty"`
	UserAssignedIdentities *[]string `json:"userAssignedIdentities,omitempty"`
}

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 Plan

type Plan struct {
	Name          string  `json:"name"`
	Product       string  `json:"product"`
	PromotionCode *string `json:"promotionCode,omitempty"`
	Publisher     string  `json:"publisher"`
	Version       string  `json:"version"`
}

type PlanPatchable

type PlanPatchable struct {
	Name          *string `json:"name,omitempty"`
	Product       *string `json:"product,omitempty"`
	PromotionCode *string `json:"promotionCode,omitempty"`
	Publisher     *string `json:"publisher,omitempty"`
	Version       *string `json:"version,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateDeleted      ProvisioningState = "Deleted"
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
	ProvisioningStateRunning      ProvisioningState = "Running"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type RefreshPermissionsOperationResponse

type RefreshPermissionsOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

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 Sku

type Sku struct {
	Capacity *int64  `json:"capacity,omitempty"`
	Family   *string `json:"family,omitempty"`
	Model    *string `json:"model,omitempty"`
	Name     string  `json:"name"`
	Size     *string `json:"size,omitempty"`
	Tier     *string `json:"tier,omitempty"`
}

type Status

type Status string
const (
	StatusElevate      Status = "Elevate"
	StatusNotSpecified Status = "NotSpecified"
	StatusRemove       Status = "Remove"
)

func (*Status) UnmarshalJSON

func (s *Status) UnmarshalJSON(bytes []byte) error

type Substatus

type Substatus string
const (
	SubstatusApproved     Substatus = "Approved"
	SubstatusDenied       Substatus = "Denied"
	SubstatusExpired      Substatus = "Expired"
	SubstatusFailed       Substatus = "Failed"
	SubstatusNotSpecified Substatus = "NotSpecified"
	SubstatusTimeout      Substatus = "Timeout"
)

func (*Substatus) UnmarshalJSON

func (s *Substatus) 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 UpdateAccessOperationResponse

type UpdateAccessOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *UpdateAccessDefinition
}

type UpdateByIdOperationResponse

type UpdateByIdOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ApplicationPatchable
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ApplicationPatchable
}

type UserAssignedResourceIdentity

type UserAssignedResourceIdentity struct {
	PrincipalId *string `json:"principalId,omitempty"`
	TenantId    *string `json:"tenantId,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL