...

Package managedapplications

import "github.com/Azure/azure-sdk-for-go/services/preview/solutions/mgmt/2021-02-01-preview/managedapplications"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armmanagedapplications(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armmanagedapplications). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package managedapplications implements the Azure ARM Managedapplications service API version 2021-02-01-preview.

ARM applications

Index ▾

Constants
func UserAgent() string
func Version() string
type AllowedUpgradePlansResult
type Application
    func (a Application) MarshalJSON() ([]byte, error)
    func (a *Application) UnmarshalJSON(body []byte) error
type ApplicationArtifact
type ApplicationArtifactName
    func PossibleApplicationArtifactNameValues() []ApplicationArtifactName
type ApplicationArtifactType
    func PossibleApplicationArtifactTypeValues() []ApplicationArtifactType
type ApplicationAuthorization
type ApplicationBillingDetailsDefinition
type ApplicationClientDetails
type ApplicationDefinition
    func (ad ApplicationDefinition) MarshalJSON() ([]byte, error)
    func (ad *ApplicationDefinition) UnmarshalJSON(body []byte) error
type ApplicationDefinitionArtifact
type ApplicationDefinitionArtifactName
    func PossibleApplicationDefinitionArtifactNameValues() []ApplicationDefinitionArtifactName
type ApplicationDefinitionListResult
    func (adlr ApplicationDefinitionListResult) IsEmpty() bool
type ApplicationDefinitionListResultIterator
    func NewApplicationDefinitionListResultIterator(page ApplicationDefinitionListResultPage) ApplicationDefinitionListResultIterator
    func (iter *ApplicationDefinitionListResultIterator) Next() error
    func (iter *ApplicationDefinitionListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ApplicationDefinitionListResultIterator) NotDone() bool
    func (iter ApplicationDefinitionListResultIterator) Response() ApplicationDefinitionListResult
    func (iter ApplicationDefinitionListResultIterator) Value() ApplicationDefinition
type ApplicationDefinitionListResultPage
    func NewApplicationDefinitionListResultPage(cur ApplicationDefinitionListResult, getNextPage func(context.Context, ApplicationDefinitionListResult) (ApplicationDefinitionListResult, error)) ApplicationDefinitionListResultPage
    func (page *ApplicationDefinitionListResultPage) Next() error
    func (page *ApplicationDefinitionListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ApplicationDefinitionListResultPage) NotDone() bool
    func (page ApplicationDefinitionListResultPage) Response() ApplicationDefinitionListResult
    func (page ApplicationDefinitionListResultPage) Values() []ApplicationDefinition
type ApplicationDefinitionPatchable
    func (adp ApplicationDefinitionPatchable) MarshalJSON() ([]byte, error)
type ApplicationDefinitionProperties
type ApplicationDefinitionsClient
    func NewApplicationDefinitionsClient(subscriptionID string) ApplicationDefinitionsClient
    func NewApplicationDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationDefinitionsClient
    func (client ApplicationDefinitionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) CreateOrUpdateByID(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) CreateOrUpdateByIDPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (*http.Request, error)
    func (client ApplicationDefinitionsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) CreateOrUpdateByIDSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (*http.Request, error)
    func (client ApplicationDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) Delete(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result autorest.Response, err error)
    func (client ApplicationDefinitionsClient) DeleteByID(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result autorest.Response, err error)
    func (client ApplicationDefinitionsClient) DeleteByIDPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)
    func (client ApplicationDefinitionsClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ApplicationDefinitionsClient) DeleteByIDSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)
    func (client ApplicationDefinitionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ApplicationDefinitionsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) Get(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) GetByID(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) GetByIDPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)
    func (client ApplicationDefinitionsClient) GetByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) GetByIDSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)
    func (client ApplicationDefinitionsClient) GetResponder(resp *http.Response) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationDefinitionListResultPage, err error)
    func (client ApplicationDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationDefinitionListResultIterator, err error)
    func (client ApplicationDefinitionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ApplicationDefinitionsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationDefinitionListResult, err error)
    func (client ApplicationDefinitionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) ListBySubscription(ctx context.Context) (result ApplicationDefinitionListResultPage, err error)
    func (client ApplicationDefinitionsClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationDefinitionListResultIterator, err error)
    func (client ApplicationDefinitionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client ApplicationDefinitionsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationDefinitionListResult, err error)
    func (client ApplicationDefinitionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) Update(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinitionPatchable) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) UpdateByID(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinitionPatchable) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) UpdateByIDPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinitionPatchable) (*http.Request, error)
    func (client ApplicationDefinitionsClient) UpdateByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) UpdateByIDSender(req *http.Request) (*http.Response, error)
    func (client ApplicationDefinitionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinitionPatchable) (*http.Request, error)
    func (client ApplicationDefinitionsClient) UpdateResponder(resp *http.Response) (result ApplicationDefinition, err error)
    func (client ApplicationDefinitionsClient) UpdateSender(req *http.Request) (*http.Response, error)
type ApplicationDeploymentPolicy
type ApplicationJitAccessPolicy
type ApplicationListResult
    func (alr ApplicationListResult) IsEmpty() bool
type ApplicationListResultIterator
    func NewApplicationListResultIterator(page ApplicationListResultPage) ApplicationListResultIterator
    func (iter *ApplicationListResultIterator) Next() error
    func (iter *ApplicationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ApplicationListResultIterator) NotDone() bool
    func (iter ApplicationListResultIterator) Response() ApplicationListResult
    func (iter ApplicationListResultIterator) Value() Application
type ApplicationListResultPage
    func NewApplicationListResultPage(cur ApplicationListResult, getNextPage func(context.Context, ApplicationListResult) (ApplicationListResult, error)) ApplicationListResultPage
    func (page *ApplicationListResultPage) Next() error
    func (page *ApplicationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ApplicationListResultPage) NotDone() bool
    func (page ApplicationListResultPage) Response() ApplicationListResult
    func (page ApplicationListResultPage) Values() []Application
type ApplicationLockLevel
    func PossibleApplicationLockLevelValues() []ApplicationLockLevel
type ApplicationManagementMode
    func PossibleApplicationManagementModeValues() []ApplicationManagementMode
type ApplicationManagementPolicy
type ApplicationNotificationEndpoint
type ApplicationNotificationPolicy
type ApplicationPackageContact
type ApplicationPackageLockingPolicyDefinition
type ApplicationPackageSupportUrls
type ApplicationPatchable
    func (ap ApplicationPatchable) MarshalJSON() ([]byte, error)
    func (ap *ApplicationPatchable) UnmarshalJSON(body []byte) error
type ApplicationPolicy
type ApplicationProperties
    func (ap ApplicationProperties) MarshalJSON() ([]byte, error)
type ApplicationPropertiesPatchable
    func (app ApplicationPropertiesPatchable) MarshalJSON() ([]byte, error)
type ApplicationsClient
    func NewApplicationsClient(subscriptionID string) ApplicationsClient
    func NewApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationsClient
    func (client ApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationName string, parameters Application) (result ApplicationsCreateOrUpdateFuture, err error)
    func (client ApplicationsClient) CreateOrUpdateByID(ctx context.Context, applicationID string, parameters Application) (result ApplicationsCreateOrUpdateByIDFuture, err error)
    func (client ApplicationsClient) CreateOrUpdateByIDPreparer(ctx context.Context, applicationID string, parameters Application) (*http.Request, error)
    func (client ApplicationsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result Application, err error)
    func (client ApplicationsClient) CreateOrUpdateByIDSender(req *http.Request) (future ApplicationsCreateOrUpdateByIDFuture, err error)
    func (client ApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters Application) (*http.Request, error)
    func (client ApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)
    func (client ApplicationsClient) CreateOrUpdateSender(req *http.Request) (future ApplicationsCreateOrUpdateFuture, err error)
    func (client ApplicationsClient) Delete(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationsDeleteFuture, err error)
    func (client ApplicationsClient) DeleteByID(ctx context.Context, applicationID string) (result ApplicationsDeleteByIDFuture, err error)
    func (client ApplicationsClient) DeleteByIDPreparer(ctx context.Context, applicationID string) (*http.Request, error)
    func (client ApplicationsClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ApplicationsClient) DeleteByIDSender(req *http.Request) (future ApplicationsDeleteByIDFuture, err error)
    func (client ApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
    func (client ApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ApplicationsClient) DeleteSender(req *http.Request) (future ApplicationsDeleteFuture, err error)
    func (client ApplicationsClient) Get(ctx context.Context, resourceGroupName string, applicationName string) (result Application, err error)
    func (client ApplicationsClient) GetByID(ctx context.Context, applicationID string) (result Application, err error)
    func (client ApplicationsClient) GetByIDPreparer(ctx context.Context, applicationID string) (*http.Request, error)
    func (client ApplicationsClient) GetByIDResponder(resp *http.Response) (result Application, err error)
    func (client ApplicationsClient) GetByIDSender(req *http.Request) (*http.Response, error)
    func (client ApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
    func (client ApplicationsClient) GetResponder(resp *http.Response) (result Application, err error)
    func (client ApplicationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ApplicationsClient) ListAllowedUpgradePlans(ctx context.Context, resourceGroupName string, applicationName string) (result AllowedUpgradePlansResult, err error)
    func (client ApplicationsClient) ListAllowedUpgradePlansPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
    func (client ApplicationsClient) ListAllowedUpgradePlansResponder(resp *http.Response) (result AllowedUpgradePlansResult, err error)
    func (client ApplicationsClient) ListAllowedUpgradePlansSender(req *http.Request) (*http.Response, error)
    func (client ApplicationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationListResultPage, err error)
    func (client ApplicationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationListResultIterator, err error)
    func (client ApplicationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ApplicationsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationListResult, err error)
    func (client ApplicationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ApplicationsClient) ListBySubscription(ctx context.Context) (result ApplicationListResultPage, err error)
    func (client ApplicationsClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationListResultIterator, err error)
    func (client ApplicationsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client ApplicationsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationListResult, err error)
    func (client ApplicationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client ApplicationsClient) ListTokens(ctx context.Context, resourceGroupName string, applicationName string, parameters ListTokenRequest) (result ManagedIdentityTokenResult, err error)
    func (client ApplicationsClient) ListTokensPreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters ListTokenRequest) (*http.Request, error)
    func (client ApplicationsClient) ListTokensResponder(resp *http.Response) (result ManagedIdentityTokenResult, err error)
    func (client ApplicationsClient) ListTokensSender(req *http.Request) (*http.Response, error)
    func (client ApplicationsClient) RefreshPermissions(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationsRefreshPermissionsFuture, err error)
    func (client ApplicationsClient) RefreshPermissionsPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
    func (client ApplicationsClient) RefreshPermissionsResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ApplicationsClient) RefreshPermissionsSender(req *http.Request) (future ApplicationsRefreshPermissionsFuture, err error)
    func (client ApplicationsClient) Update(ctx context.Context, resourceGroupName string, applicationName string, parameters *ApplicationPatchable) (result ApplicationsUpdateFuture, err error)
    func (client ApplicationsClient) UpdateAccess(ctx context.Context, resourceGroupName string, applicationName string, parameters UpdateAccessDefinition) (result ApplicationsUpdateAccessFuture, err error)
    func (client ApplicationsClient) UpdateAccessPreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters UpdateAccessDefinition) (*http.Request, error)
    func (client ApplicationsClient) UpdateAccessResponder(resp *http.Response) (result UpdateAccessDefinition, err error)
    func (client ApplicationsClient) UpdateAccessSender(req *http.Request) (future ApplicationsUpdateAccessFuture, err error)
    func (client ApplicationsClient) UpdateByID(ctx context.Context, applicationID string, parameters *ApplicationPatchable) (result ApplicationsUpdateByIDFuture, err error)
    func (client ApplicationsClient) UpdateByIDPreparer(ctx context.Context, applicationID string, parameters *ApplicationPatchable) (*http.Request, error)
    func (client ApplicationsClient) UpdateByIDResponder(resp *http.Response) (result ApplicationPatchable, err error)
    func (client ApplicationsClient) UpdateByIDSender(req *http.Request) (future ApplicationsUpdateByIDFuture, err error)
    func (client ApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters *ApplicationPatchable) (*http.Request, error)
    func (client ApplicationsClient) UpdateResponder(resp *http.Response) (result ApplicationPatchable, err error)
    func (client ApplicationsClient) UpdateSender(req *http.Request) (future ApplicationsUpdateFuture, err error)
type ApplicationsCreateOrUpdateByIDFuture
    func (future *ApplicationsCreateOrUpdateByIDFuture) UnmarshalJSON(body []byte) error
type ApplicationsCreateOrUpdateFuture
    func (future *ApplicationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type ApplicationsDeleteByIDFuture
    func (future *ApplicationsDeleteByIDFuture) UnmarshalJSON(body []byte) error
type ApplicationsDeleteFuture
    func (future *ApplicationsDeleteFuture) UnmarshalJSON(body []byte) error
type ApplicationsRefreshPermissionsFuture
    func (future *ApplicationsRefreshPermissionsFuture) UnmarshalJSON(body []byte) error
type ApplicationsUpdateAccessFuture
    func (future *ApplicationsUpdateAccessFuture) UnmarshalJSON(body []byte) error
type ApplicationsUpdateByIDFuture
    func (future *ApplicationsUpdateByIDFuture) UnmarshalJSON(body []byte) error
type ApplicationsUpdateFuture
    func (future *ApplicationsUpdateFuture) UnmarshalJSON(body []byte) error
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
    func (client BaseClient) ListOperations(ctx context.Context) (result OperationListResultPage, err error)
    func (client BaseClient) ListOperationsComplete(ctx context.Context) (result OperationListResultIterator, err error)
    func (client BaseClient) ListOperationsPreparer(ctx context.Context) (*http.Request, error)
    func (client BaseClient) ListOperationsResponder(resp *http.Response) (result OperationListResult, err error)
    func (client BaseClient) ListOperationsSender(req *http.Request) (*http.Response, error)
type CreatedByType
    func PossibleCreatedByTypeValues() []CreatedByType
type DeploymentMode
    func PossibleDeploymentModeValues() []DeploymentMode
type ErrorAdditionalInfo
    func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
type ErrorDetail
    func (ed ErrorDetail) MarshalJSON() ([]byte, error)
type ErrorResponse
type GenericResource
    func (gr GenericResource) MarshalJSON() ([]byte, error)
type Identity
    func (i Identity) MarshalJSON() ([]byte, error)
type JitApprovalMode
    func PossibleJitApprovalModeValues() []JitApprovalMode
type JitApproverDefinition
type JitApproverType
    func PossibleJitApproverTypeValues() []JitApproverType
type JitAuthorizationPolicies
type JitRequestDefinition
    func (jrd JitRequestDefinition) MarshalJSON() ([]byte, error)
    func (jrd *JitRequestDefinition) UnmarshalJSON(body []byte) error
type JitRequestDefinitionListResult
type JitRequestMetadata
type JitRequestPatchable
    func (jrp JitRequestPatchable) MarshalJSON() ([]byte, error)
type JitRequestProperties
    func (jrp JitRequestProperties) MarshalJSON() ([]byte, error)
type JitRequestState
    func PossibleJitRequestStateValues() []JitRequestState
type JitRequestsClient
    func NewJitRequestsClient(subscriptionID string) JitRequestsClient
    func NewJitRequestsClientWithBaseURI(baseURI string, subscriptionID string) JitRequestsClient
    func (client JitRequestsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, jitRequestName string, parameters JitRequestDefinition) (result JitRequestsCreateOrUpdateFuture, err error)
    func (client JitRequestsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, jitRequestName string, parameters JitRequestDefinition) (*http.Request, error)
    func (client JitRequestsClient) CreateOrUpdateResponder(resp *http.Response) (result JitRequestDefinition, err error)
    func (client JitRequestsClient) CreateOrUpdateSender(req *http.Request) (future JitRequestsCreateOrUpdateFuture, err error)
    func (client JitRequestsClient) Delete(ctx context.Context, resourceGroupName string, jitRequestName string) (result autorest.Response, err error)
    func (client JitRequestsClient) DeletePreparer(ctx context.Context, resourceGroupName string, jitRequestName string) (*http.Request, error)
    func (client JitRequestsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client JitRequestsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client JitRequestsClient) Get(ctx context.Context, resourceGroupName string, jitRequestName string) (result JitRequestDefinition, err error)
    func (client JitRequestsClient) GetPreparer(ctx context.Context, resourceGroupName string, jitRequestName string) (*http.Request, error)
    func (client JitRequestsClient) GetResponder(resp *http.Response) (result JitRequestDefinition, err error)
    func (client JitRequestsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client JitRequestsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result JitRequestDefinitionListResult, err error)
    func (client JitRequestsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client JitRequestsClient) ListByResourceGroupResponder(resp *http.Response) (result JitRequestDefinitionListResult, err error)
    func (client JitRequestsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client JitRequestsClient) ListBySubscription(ctx context.Context) (result JitRequestDefinitionListResult, err error)
    func (client JitRequestsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client JitRequestsClient) ListBySubscriptionResponder(resp *http.Response) (result JitRequestDefinitionListResult, err error)
    func (client JitRequestsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client JitRequestsClient) Update(ctx context.Context, resourceGroupName string, jitRequestName string, parameters JitRequestPatchable) (result JitRequestDefinition, err error)
    func (client JitRequestsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, jitRequestName string, parameters JitRequestPatchable) (*http.Request, error)
    func (client JitRequestsClient) UpdateResponder(resp *http.Response) (result JitRequestDefinition, err error)
    func (client JitRequestsClient) UpdateSender(req *http.Request) (*http.Response, error)
type JitRequestsCreateOrUpdateFuture
    func (future *JitRequestsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type JitSchedulingPolicy
type JitSchedulingType
    func PossibleJitSchedulingTypeValues() []JitSchedulingType
type ListTokenRequest
type ManagedIdentityToken
type ManagedIdentityTokenResult
type Operation
type OperationDisplay
    func (o OperationDisplay) MarshalJSON() ([]byte, error)
type OperationListResult
    func (olr OperationListResult) IsEmpty() bool
type OperationListResultIterator
    func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
    func (iter *OperationListResultIterator) Next() error
    func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OperationListResultIterator) NotDone() bool
    func (iter OperationListResultIterator) Response() OperationListResult
    func (iter OperationListResultIterator) Value() Operation
type OperationListResultPage
    func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
    func (page *OperationListResultPage) Next() error
    func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OperationListResultPage) NotDone() bool
    func (page OperationListResultPage) Response() OperationListResult
    func (page OperationListResultPage) Values() []Operation
type Plan
type PlanPatchable
type ProvisioningState
    func PossibleProvisioningStateValues() []ProvisioningState
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceIdentityType
    func PossibleResourceIdentityTypeValues() []ResourceIdentityType
type Sku
type Status
    func PossibleStatusValues() []Status
type Substatus
    func PossibleSubstatusValues() []Substatus
type SystemData
type UpdateAccessDefinition
type UserAssignedResourceIdentity
    func (uari UserAssignedResourceIdentity) MarshalJSON() ([]byte, error)

Package files

applicationdefinitions.go applications.go client.go enums.go jitrequests.go models.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Managedapplications
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AllowedUpgradePlansResult

AllowedUpgradePlansResult the array of plan.

type AllowedUpgradePlansResult struct {
    autorest.Response `json:"-"`
    // Value - The array of plans.
    Value *[]Plan `json:"value,omitempty"`
}

type Application

Application information about managed application.

type Application struct {
    autorest.Response `json:"-"`
    // ApplicationProperties - The managed application properties.
    *ApplicationProperties `json:"properties,omitempty"`
    // Plan - The plan information.
    Plan *Plan `json:"plan,omitempty"`
    // Kind - The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.
    Kind *string `json:"kind,omitempty"`
    // Identity - The identity of the resource.
    Identity *Identity `json:"identity,omitempty"`
    // ManagedBy - ID of the resource that manages this resource.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Sku - The SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
}

func (Application) MarshalJSON

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

MarshalJSON is the custom marshaler for Application.

func (*Application) UnmarshalJSON

func (a *Application) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Application struct.

type ApplicationArtifact

ApplicationArtifact managed application artifact.

type ApplicationArtifact struct {
    // Name - The managed application artifact name. Possible values include: 'NotSpecified', 'ViewDefinition', 'Authorizations', 'CustomRoleDefinition'
    Name ApplicationArtifactName `json:"name,omitempty"`
    // URI - The managed application artifact blob uri.
    URI *string `json:"uri,omitempty"`
    // Type - The managed application artifact type. Possible values include: 'ApplicationArtifactTypeNotSpecified', 'ApplicationArtifactTypeTemplate', 'ApplicationArtifactTypeCustom'
    Type ApplicationArtifactType `json:"type,omitempty"`
}

type ApplicationArtifactName

ApplicationArtifactName enumerates the values for application artifact name.

type ApplicationArtifactName string
const (
    // Authorizations ...
    Authorizations ApplicationArtifactName = "Authorizations"
    // CustomRoleDefinition ...
    CustomRoleDefinition ApplicationArtifactName = "CustomRoleDefinition"
    // NotSpecified ...
    NotSpecified ApplicationArtifactName = "NotSpecified"
    // ViewDefinition ...
    ViewDefinition ApplicationArtifactName = "ViewDefinition"
)

func PossibleApplicationArtifactNameValues

func PossibleApplicationArtifactNameValues() []ApplicationArtifactName

PossibleApplicationArtifactNameValues returns an array of possible values for the ApplicationArtifactName const type.

type ApplicationArtifactType

ApplicationArtifactType enumerates the values for application artifact type.

type ApplicationArtifactType string
const (
    // ApplicationArtifactTypeCustom ...
    ApplicationArtifactTypeCustom ApplicationArtifactType = "Custom"
    // ApplicationArtifactTypeNotSpecified ...
    ApplicationArtifactTypeNotSpecified ApplicationArtifactType = "NotSpecified"
    // ApplicationArtifactTypeTemplate ...
    ApplicationArtifactTypeTemplate ApplicationArtifactType = "Template"
)

func PossibleApplicationArtifactTypeValues

func PossibleApplicationArtifactTypeValues() []ApplicationArtifactType

PossibleApplicationArtifactTypeValues returns an array of possible values for the ApplicationArtifactType const type.

type ApplicationAuthorization

ApplicationAuthorization the managed application provider authorization.

type ApplicationAuthorization struct {
    // PrincipalID - The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.
    PrincipalID *string `json:"principalId,omitempty"`
    // RoleDefinitionID - The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.
    RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
}

type ApplicationBillingDetailsDefinition

ApplicationBillingDetailsDefinition managed application billing details definition.

type ApplicationBillingDetailsDefinition struct {
    // ResourceUsageID - The managed application resource usage Id.
    ResourceUsageID *string `json:"resourceUsageId,omitempty"`
}

type ApplicationClientDetails

ApplicationClientDetails the application client details to track the entity creating/updating the managed app resource.

type ApplicationClientDetails struct {
    // Oid - The client Oid.
    Oid *string `json:"oid,omitempty"`
    // Puid - The client Puid
    Puid *string `json:"puid,omitempty"`
    // ApplicationID - The client application Id.
    ApplicationID *string `json:"applicationId,omitempty"`
}

type ApplicationDefinition

ApplicationDefinition information about managed application definition.

type ApplicationDefinition struct {
    autorest.Response `json:"-"`
    // ApplicationDefinitionProperties - The managed application definition properties.
    *ApplicationDefinitionProperties `json:"properties,omitempty"`
    // ManagedBy - ID of the resource that manages this resource.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Sku - The SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
}

func (ApplicationDefinition) MarshalJSON

func (ad ApplicationDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationDefinition.

func (*ApplicationDefinition) UnmarshalJSON

func (ad *ApplicationDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationDefinition struct.

type ApplicationDefinitionArtifact

ApplicationDefinitionArtifact application definition artifact.

type ApplicationDefinitionArtifact struct {
    // Name - The managed application definition artifact name. Possible values include: 'ApplicationDefinitionArtifactNameNotSpecified', 'ApplicationDefinitionArtifactNameApplicationResourceTemplate', 'ApplicationDefinitionArtifactNameCreateUIDefinition', 'ApplicationDefinitionArtifactNameMainTemplateParameters'
    Name ApplicationDefinitionArtifactName `json:"name,omitempty"`
    // URI - The managed application definition artifact blob uri.
    URI *string `json:"uri,omitempty"`
    // Type - The managed application definition artifact type. Possible values include: 'ApplicationArtifactTypeNotSpecified', 'ApplicationArtifactTypeTemplate', 'ApplicationArtifactTypeCustom'
    Type ApplicationArtifactType `json:"type,omitempty"`
}

type ApplicationDefinitionArtifactName

ApplicationDefinitionArtifactName enumerates the values for application definition artifact name.

type ApplicationDefinitionArtifactName string
const (
    // ApplicationDefinitionArtifactNameApplicationResourceTemplate ...
    ApplicationDefinitionArtifactNameApplicationResourceTemplate ApplicationDefinitionArtifactName = "ApplicationResourceTemplate"
    // ApplicationDefinitionArtifactNameCreateUIDefinition ...
    ApplicationDefinitionArtifactNameCreateUIDefinition ApplicationDefinitionArtifactName = "CreateUiDefinition"
    // ApplicationDefinitionArtifactNameMainTemplateParameters ...
    ApplicationDefinitionArtifactNameMainTemplateParameters ApplicationDefinitionArtifactName = "MainTemplateParameters"
    // ApplicationDefinitionArtifactNameNotSpecified ...
    ApplicationDefinitionArtifactNameNotSpecified ApplicationDefinitionArtifactName = "NotSpecified"
)

func PossibleApplicationDefinitionArtifactNameValues

func PossibleApplicationDefinitionArtifactNameValues() []ApplicationDefinitionArtifactName

PossibleApplicationDefinitionArtifactNameValues returns an array of possible values for the ApplicationDefinitionArtifactName const type.

type ApplicationDefinitionListResult

ApplicationDefinitionListResult list of managed application definitions.

type ApplicationDefinitionListResult struct {
    autorest.Response `json:"-"`
    // Value - The array of managed application definitions.
    Value *[]ApplicationDefinition `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ApplicationDefinitionListResult) IsEmpty

func (adlr ApplicationDefinitionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationDefinitionListResultIterator

ApplicationDefinitionListResultIterator provides access to a complete listing of ApplicationDefinition values.

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

func NewApplicationDefinitionListResultIterator

func NewApplicationDefinitionListResultIterator(page ApplicationDefinitionListResultPage) ApplicationDefinitionListResultIterator

Creates a new instance of the ApplicationDefinitionListResultIterator type.

func (*ApplicationDefinitionListResultIterator) Next

func (iter *ApplicationDefinitionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationDefinitionListResultIterator) NextWithContext

func (iter *ApplicationDefinitionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationDefinitionListResultIterator) NotDone

func (iter ApplicationDefinitionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationDefinitionListResultIterator) Response

func (iter ApplicationDefinitionListResultIterator) Response() ApplicationDefinitionListResult

Response returns the raw server response from the last page request.

func (ApplicationDefinitionListResultIterator) Value

func (iter ApplicationDefinitionListResultIterator) Value() ApplicationDefinition

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationDefinitionListResultPage

ApplicationDefinitionListResultPage contains a page of ApplicationDefinition values.

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

func NewApplicationDefinitionListResultPage

func NewApplicationDefinitionListResultPage(cur ApplicationDefinitionListResult, getNextPage func(context.Context, ApplicationDefinitionListResult) (ApplicationDefinitionListResult, error)) ApplicationDefinitionListResultPage

Creates a new instance of the ApplicationDefinitionListResultPage type.

func (*ApplicationDefinitionListResultPage) Next

func (page *ApplicationDefinitionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationDefinitionListResultPage) NextWithContext

func (page *ApplicationDefinitionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationDefinitionListResultPage) NotDone

func (page ApplicationDefinitionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationDefinitionListResultPage) Response

func (page ApplicationDefinitionListResultPage) Response() ApplicationDefinitionListResult

Response returns the raw server response from the last page request.

func (ApplicationDefinitionListResultPage) Values

func (page ApplicationDefinitionListResultPage) Values() []ApplicationDefinition

Values returns the slice of values for the current page or nil if there are no values.

type ApplicationDefinitionPatchable

ApplicationDefinitionPatchable information about an application definition request.

type ApplicationDefinitionPatchable struct {
    // Tags - Application definition tags
    Tags map[string]*string `json:"tags"`
}

func (ApplicationDefinitionPatchable) MarshalJSON

func (adp ApplicationDefinitionPatchable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationDefinitionPatchable.

type ApplicationDefinitionProperties

ApplicationDefinitionProperties the managed application definition properties.

type ApplicationDefinitionProperties struct {
    // LockLevel - The managed application lock level. Possible values include: 'CanNotDelete', 'ReadOnly', 'None'
    LockLevel ApplicationLockLevel `json:"lockLevel,omitempty"`
    // DisplayName - The managed application definition display name.
    DisplayName *string `json:"displayName,omitempty"`
    // IsEnabled - A value indicating whether the package is enabled or not.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // Authorizations - The managed application provider authorizations.
    Authorizations *[]ApplicationAuthorization `json:"authorizations,omitempty"`
    // Artifacts - The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.
    Artifacts *[]ApplicationDefinitionArtifact `json:"artifacts,omitempty"`
    // Description - The managed application definition description.
    Description *string `json:"description,omitempty"`
    // PackageFileURI - The managed application definition package file Uri. Use this element
    PackageFileURI *string `json:"packageFileUri,omitempty"`
    // StorageAccountID - The storage account id for bring your own storage scenario.
    StorageAccountID *string `json:"storageAccountId,omitempty"`
    // MainTemplate - The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.
    MainTemplate interface{} `json:"mainTemplate,omitempty"`
    // CreateUIDefinition - The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.
    CreateUIDefinition interface{} `json:"createUiDefinition,omitempty"`
    // NotificationPolicy - The managed application notification policy.
    NotificationPolicy *ApplicationNotificationPolicy `json:"notificationPolicy,omitempty"`
    // LockingPolicy - The managed application locking policy.
    LockingPolicy *ApplicationPackageLockingPolicyDefinition `json:"lockingPolicy,omitempty"`
    // DeploymentPolicy - The managed application deployment policy.
    DeploymentPolicy *ApplicationDeploymentPolicy `json:"deploymentPolicy,omitempty"`
    // ManagementPolicy - The managed application management policy that determines publisher's access to the managed resource group.
    ManagementPolicy *ApplicationManagementPolicy `json:"managementPolicy,omitempty"`
    // Policies - The managed application provider policies.
    Policies *[]ApplicationPolicy `json:"policies,omitempty"`
}

type ApplicationDefinitionsClient

ApplicationDefinitionsClient is the ARM applications

type ApplicationDefinitionsClient struct {
    BaseClient
}

func NewApplicationDefinitionsClient

func NewApplicationDefinitionsClient(subscriptionID string) ApplicationDefinitionsClient

NewApplicationDefinitionsClient creates an instance of the ApplicationDefinitionsClient client.

func NewApplicationDefinitionsClientWithBaseURI

func NewApplicationDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationDefinitionsClient

NewApplicationDefinitionsClientWithBaseURI creates an instance of the ApplicationDefinitionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationDefinitionsClient) CreateOrUpdate

func (client ApplicationDefinitionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (result ApplicationDefinition, err error)

CreateOrUpdate creates or updates a managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition. parameters - parameters supplied to the create or update an managed application definition.

func (ApplicationDefinitionsClient) CreateOrUpdateByID

func (client ApplicationDefinitionsClient) CreateOrUpdateByID(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (result ApplicationDefinition, err error)

CreateOrUpdateByID creates or updates managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition. parameters - parameters supplied to the create or update a managed application definition.

func (ApplicationDefinitionsClient) CreateOrUpdateByIDPreparer

func (client ApplicationDefinitionsClient) CreateOrUpdateByIDPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (*http.Request, error)

CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.

func (ApplicationDefinitionsClient) CreateOrUpdateByIDResponder

func (client ApplicationDefinitionsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)

CreateOrUpdateByIDResponder handles the response to the CreateOrUpdateByID request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) CreateOrUpdateByIDSender

func (client ApplicationDefinitionsClient) CreateOrUpdateByIDSender(req *http.Request) (*http.Response, error)

CreateOrUpdateByIDSender sends the CreateOrUpdateByID request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) CreateOrUpdatePreparer

func (client ApplicationDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationDefinitionsClient) CreateOrUpdateResponder

func (client ApplicationDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationDefinition, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) CreateOrUpdateSender

func (client ApplicationDefinitionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) Delete

func (client ApplicationDefinitionsClient) Delete(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result autorest.Response, err error)

Delete deletes the managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition.

func (ApplicationDefinitionsClient) DeleteByID

func (client ApplicationDefinitionsClient) DeleteByID(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result autorest.Response, err error)

DeleteByID deletes the managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition.

func (ApplicationDefinitionsClient) DeleteByIDPreparer

func (client ApplicationDefinitionsClient) DeleteByIDPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)

DeleteByIDPreparer prepares the DeleteByID request.

func (ApplicationDefinitionsClient) DeleteByIDResponder

func (client ApplicationDefinitionsClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)

DeleteByIDResponder handles the response to the DeleteByID request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) DeleteByIDSender

func (client ApplicationDefinitionsClient) DeleteByIDSender(req *http.Request) (*http.Response, error)

DeleteByIDSender sends the DeleteByID request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) DeletePreparer

func (client ApplicationDefinitionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationDefinitionsClient) DeleteResponder

func (client ApplicationDefinitionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) DeleteSender

func (client ApplicationDefinitionsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) Get

func (client ApplicationDefinitionsClient) Get(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result ApplicationDefinition, err error)

Get gets the managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition.

func (ApplicationDefinitionsClient) GetByID

func (client ApplicationDefinitionsClient) GetByID(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result ApplicationDefinition, err error)

GetByID gets the managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition.

func (ApplicationDefinitionsClient) GetByIDPreparer

func (client ApplicationDefinitionsClient) GetByIDPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)

GetByIDPreparer prepares the GetByID request.

func (ApplicationDefinitionsClient) GetByIDResponder

func (client ApplicationDefinitionsClient) GetByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)

GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) GetByIDSender

func (client ApplicationDefinitionsClient) GetByIDSender(req *http.Request) (*http.Response, error)

GetByIDSender sends the GetByID request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) GetPreparer

func (client ApplicationDefinitionsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationDefinitionsClient) GetResponder

func (client ApplicationDefinitionsClient) GetResponder(resp *http.Response) (result ApplicationDefinition, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) GetSender

func (client ApplicationDefinitionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) ListByResourceGroup

func (client ApplicationDefinitionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationDefinitionListResultPage, err error)

ListByResourceGroup lists the managed application definitions in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ApplicationDefinitionsClient) ListByResourceGroupComplete

func (client ApplicationDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationDefinitionListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationDefinitionsClient) ListByResourceGroupPreparer

func (client ApplicationDefinitionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplicationDefinitionsClient) ListByResourceGroupResponder

func (client ApplicationDefinitionsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationDefinitionListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) ListByResourceGroupSender

func (client ApplicationDefinitionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) ListBySubscription

func (client ApplicationDefinitionsClient) ListBySubscription(ctx context.Context) (result ApplicationDefinitionListResultPage, err error)

ListBySubscription gets all the application definitions within a subscription.

func (ApplicationDefinitionsClient) ListBySubscriptionComplete

func (client ApplicationDefinitionsClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationDefinitionListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationDefinitionsClient) ListBySubscriptionPreparer

func (client ApplicationDefinitionsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ApplicationDefinitionsClient) ListBySubscriptionResponder

func (client ApplicationDefinitionsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationDefinitionListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) ListBySubscriptionSender

func (client ApplicationDefinitionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) Update

func (client ApplicationDefinitionsClient) Update(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinitionPatchable) (result ApplicationDefinition, err error)

Update updates the managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition. parameters - parameters supplied to the update a managed application definition.

func (ApplicationDefinitionsClient) UpdateByID

func (client ApplicationDefinitionsClient) UpdateByID(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinitionPatchable) (result ApplicationDefinition, err error)

UpdateByID updates the managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition. parameters - parameters supplied to the update a managed application definition.

func (ApplicationDefinitionsClient) UpdateByIDPreparer

func (client ApplicationDefinitionsClient) UpdateByIDPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinitionPatchable) (*http.Request, error)

UpdateByIDPreparer prepares the UpdateByID request.

func (ApplicationDefinitionsClient) UpdateByIDResponder

func (client ApplicationDefinitionsClient) UpdateByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)

UpdateByIDResponder handles the response to the UpdateByID request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) UpdateByIDSender

func (client ApplicationDefinitionsClient) UpdateByIDSender(req *http.Request) (*http.Response, error)

UpdateByIDSender sends the UpdateByID request. The method will close the http.Response Body if it receives an error.

func (ApplicationDefinitionsClient) UpdatePreparer

func (client ApplicationDefinitionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinitionPatchable) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ApplicationDefinitionsClient) UpdateResponder

func (client ApplicationDefinitionsClient) UpdateResponder(resp *http.Response) (result ApplicationDefinition, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ApplicationDefinitionsClient) UpdateSender

func (client ApplicationDefinitionsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ApplicationDeploymentPolicy

ApplicationDeploymentPolicy managed application deployment policy.

type ApplicationDeploymentPolicy struct {
    // DeploymentMode - The managed application deployment mode. Possible values include: 'DeploymentModeNotSpecified', 'DeploymentModeIncremental', 'DeploymentModeComplete'
    DeploymentMode DeploymentMode `json:"deploymentMode,omitempty"`
}

type ApplicationJitAccessPolicy

ApplicationJitAccessPolicy managed application Jit access policy.

type ApplicationJitAccessPolicy struct {
    // JitAccessEnabled - Whether the JIT access is enabled.
    JitAccessEnabled *bool `json:"jitAccessEnabled,omitempty"`
    // JitApprovalMode - JIT approval mode. Possible values include: 'JitApprovalModeNotSpecified', 'JitApprovalModeAutoApprove', 'JitApprovalModeManualApprove'
    JitApprovalMode JitApprovalMode `json:"jitApprovalMode,omitempty"`
    // JitApprovers - The JIT approvers
    JitApprovers *[]JitApproverDefinition `json:"jitApprovers,omitempty"`
    // MaximumJitAccessDuration - The maximum duration JIT access is granted. This is an ISO8601 time period value.
    MaximumJitAccessDuration *string `json:"maximumJitAccessDuration,omitempty"`
}

type ApplicationListResult

ApplicationListResult list of managed applications.

type ApplicationListResult struct {
    autorest.Response `json:"-"`
    // Value - The array of managed applications.
    Value *[]Application `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ApplicationListResult) IsEmpty

func (alr ApplicationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationListResultIterator

ApplicationListResultIterator provides access to a complete listing of Application values.

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

func NewApplicationListResultIterator

func NewApplicationListResultIterator(page ApplicationListResultPage) ApplicationListResultIterator

Creates a new instance of the ApplicationListResultIterator type.

func (*ApplicationListResultIterator) Next

func (iter *ApplicationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationListResultIterator) NextWithContext

func (iter *ApplicationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationListResultIterator) NotDone

func (iter ApplicationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationListResultIterator) Response

func (iter ApplicationListResultIterator) Response() ApplicationListResult

Response returns the raw server response from the last page request.

func (ApplicationListResultIterator) Value

func (iter ApplicationListResultIterator) Value() Application

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationListResultPage

ApplicationListResultPage contains a page of Application values.

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

func NewApplicationListResultPage

func NewApplicationListResultPage(cur ApplicationListResult, getNextPage func(context.Context, ApplicationListResult) (ApplicationListResult, error)) ApplicationListResultPage

Creates a new instance of the ApplicationListResultPage type.

func (*ApplicationListResultPage) Next

func (page *ApplicationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationListResultPage) NextWithContext

func (page *ApplicationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationListResultPage) NotDone

func (page ApplicationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationListResultPage) Response

func (page ApplicationListResultPage) Response() ApplicationListResult

Response returns the raw server response from the last page request.

func (ApplicationListResultPage) Values

func (page ApplicationListResultPage) Values() []Application

Values returns the slice of values for the current page or nil if there are no values.

type ApplicationLockLevel

ApplicationLockLevel enumerates the values for application lock level.

type ApplicationLockLevel string
const (
    // CanNotDelete ...
    CanNotDelete ApplicationLockLevel = "CanNotDelete"
    // None ...
    None ApplicationLockLevel = "None"
    // ReadOnly ...
    ReadOnly ApplicationLockLevel = "ReadOnly"
)

func PossibleApplicationLockLevelValues

func PossibleApplicationLockLevelValues() []ApplicationLockLevel

PossibleApplicationLockLevelValues returns an array of possible values for the ApplicationLockLevel const type.

type ApplicationManagementMode

ApplicationManagementMode enumerates the values for application management mode.

type ApplicationManagementMode string
const (
    // ApplicationManagementModeManaged ...
    ApplicationManagementModeManaged ApplicationManagementMode = "Managed"
    // ApplicationManagementModeNotSpecified ...
    ApplicationManagementModeNotSpecified ApplicationManagementMode = "NotSpecified"
    // ApplicationManagementModeUnmanaged ...
    ApplicationManagementModeUnmanaged ApplicationManagementMode = "Unmanaged"
)

func PossibleApplicationManagementModeValues

func PossibleApplicationManagementModeValues() []ApplicationManagementMode

PossibleApplicationManagementModeValues returns an array of possible values for the ApplicationManagementMode const type.

type ApplicationManagementPolicy

ApplicationManagementPolicy managed application management policy.

type ApplicationManagementPolicy struct {
    // Mode - The managed application management mode. Possible values include: 'ApplicationManagementModeNotSpecified', 'ApplicationManagementModeUnmanaged', 'ApplicationManagementModeManaged'
    Mode ApplicationManagementMode `json:"mode,omitempty"`
}

type ApplicationNotificationEndpoint

ApplicationNotificationEndpoint managed application notification endpoint.

type ApplicationNotificationEndpoint struct {
    // URI - The managed application notification endpoint uri.
    URI *string `json:"uri,omitempty"`
}

type ApplicationNotificationPolicy

ApplicationNotificationPolicy managed application notification policy.

type ApplicationNotificationPolicy struct {
    // NotificationEndpoints - The managed application notification endpoint.
    NotificationEndpoints *[]ApplicationNotificationEndpoint `json:"notificationEndpoints,omitempty"`
}

type ApplicationPackageContact

ApplicationPackageContact the application package contact information.

type ApplicationPackageContact struct {
    // ContactName - The contact name.
    ContactName *string `json:"contactName,omitempty"`
    // Email - The contact email.
    Email *string `json:"email,omitempty"`
    // Phone - The contact phone number.
    Phone *string `json:"phone,omitempty"`
}

type ApplicationPackageLockingPolicyDefinition

ApplicationPackageLockingPolicyDefinition managed application locking policy.

type ApplicationPackageLockingPolicyDefinition struct {
    // AllowedActions - The deny assignment excluded actions.
    AllowedActions *[]string `json:"allowedActions,omitempty"`
    // AllowedDataActions - The deny assignment excluded data actions.
    AllowedDataActions *[]string `json:"allowedDataActions,omitempty"`
}

type ApplicationPackageSupportUrls

ApplicationPackageSupportUrls the appliance package support URLs.

type ApplicationPackageSupportUrls struct {
    // PublicAzure - The public azure support URL.
    PublicAzure *string `json:"publicAzure,omitempty"`
    // GovernmentCloud - The government cloud support URL.
    GovernmentCloud *string `json:"governmentCloud,omitempty"`
}

type ApplicationPatchable

ApplicationPatchable information about managed application.

type ApplicationPatchable struct {
    autorest.Response `json:"-"`
    // ApplicationProperties - The managed application properties.
    *ApplicationProperties `json:"properties,omitempty"`
    // Plan - The plan information.
    Plan *PlanPatchable `json:"plan,omitempty"`
    // Kind - The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.
    Kind *string `json:"kind,omitempty"`
    // Identity - The identity of the resource.
    Identity *Identity `json:"identity,omitempty"`
    // ManagedBy - ID of the resource that manages this resource.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Sku - The SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
}

func (ApplicationPatchable) MarshalJSON

func (ap ApplicationPatchable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationPatchable.

func (*ApplicationPatchable) UnmarshalJSON

func (ap *ApplicationPatchable) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationPatchable struct.

type ApplicationPolicy

ApplicationPolicy managed application policy.

type ApplicationPolicy struct {
    // Name - The policy name
    Name *string `json:"name,omitempty"`
    // PolicyDefinitionID - The policy definition Id.
    PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"`
    // Parameters - The policy parameters.
    Parameters *string `json:"parameters,omitempty"`
}

type ApplicationProperties

ApplicationProperties the managed application properties.

type ApplicationProperties struct {
    // ManagedResourceGroupID - The managed resource group Id.
    ManagedResourceGroupID *string `json:"managedResourceGroupId,omitempty"`
    // ApplicationDefinitionID - The fully qualified path of managed application definition Id.
    ApplicationDefinitionID *string `json:"applicationDefinitionId,omitempty"`
    // Parameters - Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.
    Parameters interface{} `json:"parameters,omitempty"`
    // Outputs - READ-ONLY; Name and value pairs that define the managed application outputs.
    Outputs interface{} `json:"outputs,omitempty"`
    // ProvisioningState - READ-ONLY; The managed application provisioning state. Possible values include: 'ProvisioningStateNotSpecified', 'ProvisioningStateAccepted', 'ProvisioningStateRunning', 'ProvisioningStateReady', 'ProvisioningStateCreating', 'ProvisioningStateCreated', 'ProvisioningStateDeleting', 'ProvisioningStateDeleted', 'ProvisioningStateCanceled', 'ProvisioningStateFailed', 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // BillingDetails - READ-ONLY; The managed application billing details.
    BillingDetails *ApplicationBillingDetailsDefinition `json:"billingDetails,omitempty"`
    // JitAccessPolicy - The managed application Jit access policy.
    JitAccessPolicy *ApplicationJitAccessPolicy `json:"jitAccessPolicy,omitempty"`
    // PublisherTenantID - READ-ONLY; The publisher tenant Id.
    PublisherTenantID *string `json:"publisherTenantId,omitempty"`
    // Authorizations - READ-ONLY; The  read-only authorizations property that is retrieved from the application package.
    Authorizations *[]ApplicationAuthorization `json:"authorizations,omitempty"`
    // ManagementMode - READ-ONLY; The managed application management mode. Possible values include: 'ApplicationManagementModeNotSpecified', 'ApplicationManagementModeUnmanaged', 'ApplicationManagementModeManaged'
    ManagementMode ApplicationManagementMode `json:"managementMode,omitempty"`
    // CustomerSupport - READ-ONLY; The read-only customer support property that is retrieved from the application package.
    CustomerSupport *ApplicationPackageContact `json:"customerSupport,omitempty"`
    // SupportUrls - READ-ONLY; The read-only support URLs property that is retrieved from the application package.
    SupportUrls *ApplicationPackageSupportUrls `json:"supportUrls,omitempty"`
    // Artifacts - READ-ONLY; The collection of managed application artifacts.
    Artifacts *[]ApplicationArtifact `json:"artifacts,omitempty"`
    // CreatedBy - READ-ONLY; The client entity that created the JIT request.
    CreatedBy *ApplicationClientDetails `json:"createdBy,omitempty"`
    // UpdatedBy - READ-ONLY; The client entity that last updated the JIT request.
    UpdatedBy *ApplicationClientDetails `json:"updatedBy,omitempty"`
}

func (ApplicationProperties) MarshalJSON

func (ap ApplicationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationProperties.

type ApplicationPropertiesPatchable

ApplicationPropertiesPatchable the managed application properties.

type ApplicationPropertiesPatchable struct {
    // ManagedResourceGroupID - The managed resource group Id.
    ManagedResourceGroupID *string `json:"managedResourceGroupId,omitempty"`
    // ApplicationDefinitionID - The fully qualified path of managed application definition Id.
    ApplicationDefinitionID *string `json:"applicationDefinitionId,omitempty"`
    // Parameters - Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.
    Parameters interface{} `json:"parameters,omitempty"`
    // Outputs - READ-ONLY; Name and value pairs that define the managed application outputs.
    Outputs interface{} `json:"outputs,omitempty"`
    // ProvisioningState - READ-ONLY; The managed application provisioning state. Possible values include: 'ProvisioningStateNotSpecified', 'ProvisioningStateAccepted', 'ProvisioningStateRunning', 'ProvisioningStateReady', 'ProvisioningStateCreating', 'ProvisioningStateCreated', 'ProvisioningStateDeleting', 'ProvisioningStateDeleted', 'ProvisioningStateCanceled', 'ProvisioningStateFailed', 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

func (ApplicationPropertiesPatchable) MarshalJSON

func (app ApplicationPropertiesPatchable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationPropertiesPatchable.

type ApplicationsClient

ApplicationsClient is the ARM applications

type ApplicationsClient struct {
    BaseClient
}

func NewApplicationsClient

func NewApplicationsClient(subscriptionID string) ApplicationsClient

NewApplicationsClient creates an instance of the ApplicationsClient client.

func NewApplicationsClientWithBaseURI

func NewApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationsClient

NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationsClient) CreateOrUpdate

func (client ApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationName string, parameters Application) (result ApplicationsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or update managed application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application. parameters - parameters supplied to the create or update a managed application.

func (ApplicationsClient) CreateOrUpdateByID

func (client ApplicationsClient) CreateOrUpdateByID(ctx context.Context, applicationID string, parameters Application) (result ApplicationsCreateOrUpdateByIDFuture, err error)

CreateOrUpdateByID creates or updates a managed application. Parameters: applicationID - the fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} parameters - parameters supplied to the create or update a managed application.

func (ApplicationsClient) CreateOrUpdateByIDPreparer

func (client ApplicationsClient) CreateOrUpdateByIDPreparer(ctx context.Context, applicationID string, parameters Application) (*http.Request, error)

CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.

func (ApplicationsClient) CreateOrUpdateByIDResponder

func (client ApplicationsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result Application, err error)

CreateOrUpdateByIDResponder handles the response to the CreateOrUpdateByID request. The method always closes the http.Response Body.

func (ApplicationsClient) CreateOrUpdateByIDSender

func (client ApplicationsClient) CreateOrUpdateByIDSender(req *http.Request) (future ApplicationsCreateOrUpdateByIDFuture, err error)

CreateOrUpdateByIDSender sends the CreateOrUpdateByID request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) CreateOrUpdatePreparer

func (client ApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters Application) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationsClient) CreateOrUpdateResponder

func (client ApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplicationsClient) CreateOrUpdateSender

func (client ApplicationsClient) CreateOrUpdateSender(req *http.Request) (future ApplicationsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) Delete

func (client ApplicationsClient) Delete(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationsDeleteFuture, err error)

Delete deletes the managed application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application.

func (ApplicationsClient) DeleteByID

func (client ApplicationsClient) DeleteByID(ctx context.Context, applicationID string) (result ApplicationsDeleteByIDFuture, err error)

DeleteByID deletes the managed application. Parameters: applicationID - the fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}

func (ApplicationsClient) DeleteByIDPreparer

func (client ApplicationsClient) DeleteByIDPreparer(ctx context.Context, applicationID string) (*http.Request, error)

DeleteByIDPreparer prepares the DeleteByID request.

func (ApplicationsClient) DeleteByIDResponder

func (client ApplicationsClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)

DeleteByIDResponder handles the response to the DeleteByID request. The method always closes the http.Response Body.

func (ApplicationsClient) DeleteByIDSender

func (client ApplicationsClient) DeleteByIDSender(req *http.Request) (future ApplicationsDeleteByIDFuture, err error)

DeleteByIDSender sends the DeleteByID request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) DeletePreparer

func (client ApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationsClient) DeleteResponder

func (client ApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ApplicationsClient) DeleteSender

func (client ApplicationsClient) DeleteSender(req *http.Request) (future ApplicationsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) Get

func (client ApplicationsClient) Get(ctx context.Context, resourceGroupName string, applicationName string) (result Application, err error)

Get gets the managed application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application.

func (ApplicationsClient) GetByID

func (client ApplicationsClient) GetByID(ctx context.Context, applicationID string) (result Application, err error)

GetByID gets the managed application. Parameters: applicationID - the fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}

func (ApplicationsClient) GetByIDPreparer

func (client ApplicationsClient) GetByIDPreparer(ctx context.Context, applicationID string) (*http.Request, error)

GetByIDPreparer prepares the GetByID request.

func (ApplicationsClient) GetByIDResponder

func (client ApplicationsClient) GetByIDResponder(resp *http.Response) (result Application, err error)

GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.

func (ApplicationsClient) GetByIDSender

func (client ApplicationsClient) GetByIDSender(req *http.Request) (*http.Response, error)

GetByIDSender sends the GetByID request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) GetPreparer

func (client ApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationsClient) GetResponder

func (client ApplicationsClient) GetResponder(resp *http.Response) (result Application, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationsClient) GetSender

func (client ApplicationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) ListAllowedUpgradePlans

func (client ApplicationsClient) ListAllowedUpgradePlans(ctx context.Context, resourceGroupName string, applicationName string) (result AllowedUpgradePlansResult, err error)

ListAllowedUpgradePlans list allowed upgrade plans for application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application.

func (ApplicationsClient) ListAllowedUpgradePlansPreparer

func (client ApplicationsClient) ListAllowedUpgradePlansPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)

ListAllowedUpgradePlansPreparer prepares the ListAllowedUpgradePlans request.

func (ApplicationsClient) ListAllowedUpgradePlansResponder

func (client ApplicationsClient) ListAllowedUpgradePlansResponder(resp *http.Response) (result AllowedUpgradePlansResult, err error)

ListAllowedUpgradePlansResponder handles the response to the ListAllowedUpgradePlans request. The method always closes the http.Response Body.

func (ApplicationsClient) ListAllowedUpgradePlansSender

func (client ApplicationsClient) ListAllowedUpgradePlansSender(req *http.Request) (*http.Response, error)

ListAllowedUpgradePlansSender sends the ListAllowedUpgradePlans request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) ListByResourceGroup

func (client ApplicationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationListResultPage, err error)

ListByResourceGroup gets all the applications within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ApplicationsClient) ListByResourceGroupComplete

func (client ApplicationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationsClient) ListByResourceGroupPreparer

func (client ApplicationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplicationsClient) ListByResourceGroupResponder

func (client ApplicationsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ApplicationsClient) ListByResourceGroupSender

func (client ApplicationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) ListBySubscription

func (client ApplicationsClient) ListBySubscription(ctx context.Context) (result ApplicationListResultPage, err error)

ListBySubscription gets all the applications within a subscription.

func (ApplicationsClient) ListBySubscriptionComplete

func (client ApplicationsClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationsClient) ListBySubscriptionPreparer

func (client ApplicationsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ApplicationsClient) ListBySubscriptionResponder

func (client ApplicationsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ApplicationsClient) ListBySubscriptionSender

func (client ApplicationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) ListTokens

func (client ApplicationsClient) ListTokens(ctx context.Context, resourceGroupName string, applicationName string, parameters ListTokenRequest) (result ManagedIdentityTokenResult, err error)

ListTokens list tokens for application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application. parameters - request body parameters to list tokens.

func (ApplicationsClient) ListTokensPreparer

func (client ApplicationsClient) ListTokensPreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters ListTokenRequest) (*http.Request, error)

ListTokensPreparer prepares the ListTokens request.

func (ApplicationsClient) ListTokensResponder

func (client ApplicationsClient) ListTokensResponder(resp *http.Response) (result ManagedIdentityTokenResult, err error)

ListTokensResponder handles the response to the ListTokens request. The method always closes the http.Response Body.

func (ApplicationsClient) ListTokensSender

func (client ApplicationsClient) ListTokensSender(req *http.Request) (*http.Response, error)

ListTokensSender sends the ListTokens request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) RefreshPermissions

func (client ApplicationsClient) RefreshPermissions(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationsRefreshPermissionsFuture, err error)

RefreshPermissions refresh Permissions for application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application.

func (ApplicationsClient) RefreshPermissionsPreparer

func (client ApplicationsClient) RefreshPermissionsPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)

RefreshPermissionsPreparer prepares the RefreshPermissions request.

func (ApplicationsClient) RefreshPermissionsResponder

func (client ApplicationsClient) RefreshPermissionsResponder(resp *http.Response) (result autorest.Response, err error)

RefreshPermissionsResponder handles the response to the RefreshPermissions request. The method always closes the http.Response Body.

func (ApplicationsClient) RefreshPermissionsSender

func (client ApplicationsClient) RefreshPermissionsSender(req *http.Request) (future ApplicationsRefreshPermissionsFuture, err error)

RefreshPermissionsSender sends the RefreshPermissions request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) Update

func (client ApplicationsClient) Update(ctx context.Context, resourceGroupName string, applicationName string, parameters *ApplicationPatchable) (result ApplicationsUpdateFuture, err error)

Update updates an existing managed application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application. parameters - parameters supplied to update an existing managed application.

func (ApplicationsClient) UpdateAccess

func (client ApplicationsClient) UpdateAccess(ctx context.Context, resourceGroupName string, applicationName string, parameters UpdateAccessDefinition) (result ApplicationsUpdateAccessFuture, err error)

UpdateAccess update access for application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application. parameters - request body parameters to update access.

func (ApplicationsClient) UpdateAccessPreparer

func (client ApplicationsClient) UpdateAccessPreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters UpdateAccessDefinition) (*http.Request, error)

UpdateAccessPreparer prepares the UpdateAccess request.

func (ApplicationsClient) UpdateAccessResponder

func (client ApplicationsClient) UpdateAccessResponder(resp *http.Response) (result UpdateAccessDefinition, err error)

UpdateAccessResponder handles the response to the UpdateAccess request. The method always closes the http.Response Body.

func (ApplicationsClient) UpdateAccessSender

func (client ApplicationsClient) UpdateAccessSender(req *http.Request) (future ApplicationsUpdateAccessFuture, err error)

UpdateAccessSender sends the UpdateAccess request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) UpdateByID

func (client ApplicationsClient) UpdateByID(ctx context.Context, applicationID string, parameters *ApplicationPatchable) (result ApplicationsUpdateByIDFuture, err error)

UpdateByID updates an existing managed application. Parameters: applicationID - the fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} parameters - parameters supplied to update an existing managed application.

func (ApplicationsClient) UpdateByIDPreparer

func (client ApplicationsClient) UpdateByIDPreparer(ctx context.Context, applicationID string, parameters *ApplicationPatchable) (*http.Request, error)

UpdateByIDPreparer prepares the UpdateByID request.

func (ApplicationsClient) UpdateByIDResponder

func (client ApplicationsClient) UpdateByIDResponder(resp *http.Response) (result ApplicationPatchable, err error)

UpdateByIDResponder handles the response to the UpdateByID request. The method always closes the http.Response Body.

func (ApplicationsClient) UpdateByIDSender

func (client ApplicationsClient) UpdateByIDSender(req *http.Request) (future ApplicationsUpdateByIDFuture, err error)

UpdateByIDSender sends the UpdateByID request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) UpdatePreparer

func (client ApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters *ApplicationPatchable) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ApplicationsClient) UpdateResponder

func (client ApplicationsClient) UpdateResponder(resp *http.Response) (result ApplicationPatchable, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ApplicationsClient) UpdateSender

func (client ApplicationsClient) UpdateSender(req *http.Request) (future ApplicationsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ApplicationsCreateOrUpdateByIDFuture

ApplicationsCreateOrUpdateByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ApplicationsCreateOrUpdateByIDFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ApplicationsClient) (Application, error)
}

func (*ApplicationsCreateOrUpdateByIDFuture) UnmarshalJSON

func (future *ApplicationsCreateOrUpdateByIDFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationsCreateOrUpdateFuture

ApplicationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ApplicationsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ApplicationsClient) (Application, error)
}

func (*ApplicationsCreateOrUpdateFuture) UnmarshalJSON

func (future *ApplicationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationsDeleteByIDFuture

ApplicationsDeleteByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ApplicationsDeleteByIDFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ApplicationsClient) (autorest.Response, error)
}

func (*ApplicationsDeleteByIDFuture) UnmarshalJSON

func (future *ApplicationsDeleteByIDFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationsDeleteFuture

ApplicationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ApplicationsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ApplicationsClient) (autorest.Response, error)
}

func (*ApplicationsDeleteFuture) UnmarshalJSON

func (future *ApplicationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationsRefreshPermissionsFuture

ApplicationsRefreshPermissionsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ApplicationsRefreshPermissionsFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ApplicationsClient) (autorest.Response, error)
}

func (*ApplicationsRefreshPermissionsFuture) UnmarshalJSON

func (future *ApplicationsRefreshPermissionsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationsUpdateAccessFuture

ApplicationsUpdateAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ApplicationsUpdateAccessFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ApplicationsClient) (UpdateAccessDefinition, error)
}

func (*ApplicationsUpdateAccessFuture) UnmarshalJSON

func (future *ApplicationsUpdateAccessFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationsUpdateByIDFuture

ApplicationsUpdateByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ApplicationsUpdateByIDFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ApplicationsClient) (ApplicationPatchable, error)
}

func (*ApplicationsUpdateByIDFuture) UnmarshalJSON

func (future *ApplicationsUpdateByIDFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationsUpdateFuture

ApplicationsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ApplicationsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ApplicationsClient) (ApplicationPatchable, error)
}

func (*ApplicationsUpdateFuture) UnmarshalJSON

func (future *ApplicationsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BaseClient

BaseClient is the base client for Managedapplications.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaseClient) ListOperations

func (client BaseClient) ListOperations(ctx context.Context) (result OperationListResultPage, err error)

ListOperations lists all of the available Microsoft.Solutions REST API operations.

func (BaseClient) ListOperationsComplete

func (client BaseClient) ListOperationsComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListOperationsComplete enumerates all values, automatically crossing page boundaries as required.

func (BaseClient) ListOperationsPreparer

func (client BaseClient) ListOperationsPreparer(ctx context.Context) (*http.Request, error)

ListOperationsPreparer prepares the ListOperations request.

func (BaseClient) ListOperationsResponder

func (client BaseClient) ListOperationsResponder(resp *http.Response) (result OperationListResult, err error)

ListOperationsResponder handles the response to the ListOperations request. The method always closes the http.Response Body.

func (BaseClient) ListOperationsSender

func (client BaseClient) ListOperationsSender(req *http.Request) (*http.Response, error)

ListOperationsSender sends the ListOperations request. The method will close the http.Response Body if it receives an error.

type CreatedByType

CreatedByType enumerates the values for created by type.

type CreatedByType string
const (
    // CreatedByTypeApplication ...
    CreatedByTypeApplication CreatedByType = "Application"
    // CreatedByTypeKey ...
    CreatedByTypeKey CreatedByType = "Key"
    // CreatedByTypeManagedIdentity ...
    CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
    // CreatedByTypeUser ...
    CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type DeploymentMode

DeploymentMode enumerates the values for deployment mode.

type DeploymentMode string
const (
    // DeploymentModeComplete ...
    DeploymentModeComplete DeploymentMode = "Complete"
    // DeploymentModeIncremental ...
    DeploymentModeIncremental DeploymentMode = "Incremental"
    // DeploymentModeNotSpecified ...
    DeploymentModeNotSpecified DeploymentMode = "NotSpecified"
)

func PossibleDeploymentModeValues

func PossibleDeploymentModeValues() []DeploymentMode

PossibleDeploymentModeValues returns an array of possible values for the DeploymentMode const type.

type ErrorAdditionalInfo

ErrorAdditionalInfo the resource management error additional info.

type ErrorAdditionalInfo struct {
    // Type - READ-ONLY; The additional info type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The additional info.
    Info interface{} `json:"info,omitempty"`
}

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorDetail

ErrorDetail the error detail.

type ErrorDetail struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]ErrorDetail `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

func (ErrorDetail) MarshalJSON

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

MarshalJSON is the custom marshaler for ErrorDetail.

type ErrorResponse

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.).

type ErrorResponse struct {
    // Error - The error object.
    Error *ErrorDetail `json:"error,omitempty"`
}

type GenericResource

GenericResource resource information.

type GenericResource struct {
    // ManagedBy - ID of the resource that manages this resource.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Sku - The SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
}

func (GenericResource) MarshalJSON

func (gr GenericResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GenericResource.

type Identity

Identity identity for the resource.

type Identity struct {
    // PrincipalID - READ-ONLY; The principal ID of resource identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of resource.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - The identity type. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone'
    Type ResourceIdentityType `json:"type,omitempty"`
    // UserAssignedIdentities - The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    UserAssignedIdentities map[string]*UserAssignedResourceIdentity `json:"userAssignedIdentities"`
}

func (Identity) MarshalJSON

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type JitApprovalMode

JitApprovalMode enumerates the values for jit approval mode.

type JitApprovalMode string
const (
    // JitApprovalModeAutoApprove ...
    JitApprovalModeAutoApprove JitApprovalMode = "AutoApprove"
    // JitApprovalModeManualApprove ...
    JitApprovalModeManualApprove JitApprovalMode = "ManualApprove"
    // JitApprovalModeNotSpecified ...
    JitApprovalModeNotSpecified JitApprovalMode = "NotSpecified"
)

func PossibleJitApprovalModeValues

func PossibleJitApprovalModeValues() []JitApprovalMode

PossibleJitApprovalModeValues returns an array of possible values for the JitApprovalMode const type.

type JitApproverDefinition

JitApproverDefinition JIT approver definition.

type JitApproverDefinition struct {
    // ID - The approver service principal Id.
    ID *string `json:"id,omitempty"`
    // Type - The approver type. Possible values include: 'User', 'Group'
    Type JitApproverType `json:"type,omitempty"`
    // DisplayName - The approver display name.
    DisplayName *string `json:"displayName,omitempty"`
}

type JitApproverType

JitApproverType enumerates the values for jit approver type.

type JitApproverType string
const (
    // Group ...
    Group JitApproverType = "group"
    // User ...
    User JitApproverType = "user"
)

func PossibleJitApproverTypeValues

func PossibleJitApproverTypeValues() []JitApproverType

PossibleJitApproverTypeValues returns an array of possible values for the JitApproverType const type.

type JitAuthorizationPolicies

JitAuthorizationPolicies the JIT authorization policies.

type JitAuthorizationPolicies struct {
    // PrincipalID - The the principal id that will be granted JIT access.
    PrincipalID *string `json:"principalId,omitempty"`
    // RoleDefinitionID - The role definition id that will be granted to the Principal.
    RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
}

type JitRequestDefinition

JitRequestDefinition information about JIT request definition.

type JitRequestDefinition struct {
    autorest.Response `json:"-"`
    // JitRequestProperties - The JIT request properties.
    *JitRequestProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
}

func (JitRequestDefinition) MarshalJSON

func (jrd JitRequestDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JitRequestDefinition.

func (*JitRequestDefinition) UnmarshalJSON

func (jrd *JitRequestDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JitRequestDefinition struct.

type JitRequestDefinitionListResult

JitRequestDefinitionListResult list of JIT requests.

type JitRequestDefinitionListResult struct {
    autorest.Response `json:"-"`
    // Value - The array of Jit request definition.
    Value *[]JitRequestDefinition `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

type JitRequestMetadata

JitRequestMetadata the JIT request metadata.

type JitRequestMetadata struct {
    // OriginRequestID - The origin request id.
    OriginRequestID *string `json:"originRequestId,omitempty"`
    // RequestorID - The requestor id.
    RequestorID *string `json:"requestorId,omitempty"`
    // TenantDisplayName - The publisher's tenant name.
    TenantDisplayName *string `json:"tenantDisplayName,omitempty"`
    // SubjectDisplayName - The subject display name.
    SubjectDisplayName *string `json:"subjectDisplayName,omitempty"`
}

type JitRequestPatchable

JitRequestPatchable information about JIT request.

type JitRequestPatchable struct {
    // Tags - Jit request tags
    Tags map[string]*string `json:"tags"`
}

func (JitRequestPatchable) MarshalJSON

func (jrp JitRequestPatchable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JitRequestPatchable.

type JitRequestProperties

JitRequestProperties information about JIT request properties

type JitRequestProperties struct {
    // ApplicationResourceID - The parent application id.
    ApplicationResourceID *string `json:"applicationResourceId,omitempty"`
    // PublisherTenantID - READ-ONLY; The publisher tenant id.
    PublisherTenantID *string `json:"publisherTenantId,omitempty"`
    // JitAuthorizationPolicies - The JIT authorization policies.
    JitAuthorizationPolicies *[]JitAuthorizationPolicies `json:"jitAuthorizationPolicies,omitempty"`
    // JitSchedulingPolicy - The JIT request properties.
    JitSchedulingPolicy *JitSchedulingPolicy `json:"jitSchedulingPolicy,omitempty"`
    // ProvisioningState - READ-ONLY; The JIT request provisioning state. Possible values include: 'ProvisioningStateNotSpecified', 'ProvisioningStateAccepted', 'ProvisioningStateRunning', 'ProvisioningStateReady', 'ProvisioningStateCreating', 'ProvisioningStateCreated', 'ProvisioningStateDeleting', 'ProvisioningStateDeleted', 'ProvisioningStateCanceled', 'ProvisioningStateFailed', 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // JitRequestState - READ-ONLY; The JIT request state. Possible values include: 'JitRequestStateNotSpecified', 'JitRequestStatePending', 'JitRequestStateApproved', 'JitRequestStateDenied', 'JitRequestStateFailed', 'JitRequestStateCanceled', 'JitRequestStateExpired', 'JitRequestStateTimeout'
    JitRequestState JitRequestState `json:"jitRequestState,omitempty"`
    // CreatedBy - READ-ONLY; The client entity that created the JIT request.
    CreatedBy *ApplicationClientDetails `json:"createdBy,omitempty"`
    // UpdatedBy - READ-ONLY; The client entity that last updated the JIT request.
    UpdatedBy *ApplicationClientDetails `json:"updatedBy,omitempty"`
}

func (JitRequestProperties) MarshalJSON

func (jrp JitRequestProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JitRequestProperties.

type JitRequestState

JitRequestState enumerates the values for jit request state.

type JitRequestState string
const (
    // JitRequestStateApproved ...
    JitRequestStateApproved JitRequestState = "Approved"
    // JitRequestStateCanceled ...
    JitRequestStateCanceled JitRequestState = "Canceled"
    // JitRequestStateDenied ...
    JitRequestStateDenied JitRequestState = "Denied"
    // JitRequestStateExpired ...
    JitRequestStateExpired JitRequestState = "Expired"
    // JitRequestStateFailed ...
    JitRequestStateFailed JitRequestState = "Failed"
    // JitRequestStateNotSpecified ...
    JitRequestStateNotSpecified JitRequestState = "NotSpecified"
    // JitRequestStatePending ...
    JitRequestStatePending JitRequestState = "Pending"
    // JitRequestStateTimeout ...
    JitRequestStateTimeout JitRequestState = "Timeout"
)

func PossibleJitRequestStateValues

func PossibleJitRequestStateValues() []JitRequestState

PossibleJitRequestStateValues returns an array of possible values for the JitRequestState const type.

type JitRequestsClient

JitRequestsClient is the ARM applications

type JitRequestsClient struct {
    BaseClient
}

func NewJitRequestsClient

func NewJitRequestsClient(subscriptionID string) JitRequestsClient

NewJitRequestsClient creates an instance of the JitRequestsClient client.

func NewJitRequestsClientWithBaseURI

func NewJitRequestsClientWithBaseURI(baseURI string, subscriptionID string) JitRequestsClient

NewJitRequestsClientWithBaseURI creates an instance of the JitRequestsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JitRequestsClient) CreateOrUpdate

func (client JitRequestsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, jitRequestName string, parameters JitRequestDefinition) (result JitRequestsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the JIT request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. jitRequestName - the name of the JIT request. parameters - parameters supplied to the update JIT request.

func (JitRequestsClient) CreateOrUpdatePreparer

func (client JitRequestsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, jitRequestName string, parameters JitRequestDefinition) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (JitRequestsClient) CreateOrUpdateResponder

func (client JitRequestsClient) CreateOrUpdateResponder(resp *http.Response) (result JitRequestDefinition, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (JitRequestsClient) CreateOrUpdateSender

func (client JitRequestsClient) CreateOrUpdateSender(req *http.Request) (future JitRequestsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (JitRequestsClient) Delete

func (client JitRequestsClient) Delete(ctx context.Context, resourceGroupName string, jitRequestName string) (result autorest.Response, err error)

Delete deletes the JIT request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. jitRequestName - the name of the JIT request.

func (JitRequestsClient) DeletePreparer

func (client JitRequestsClient) DeletePreparer(ctx context.Context, resourceGroupName string, jitRequestName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (JitRequestsClient) DeleteResponder

func (client JitRequestsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (JitRequestsClient) DeleteSender

func (client JitRequestsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (JitRequestsClient) Get

func (client JitRequestsClient) Get(ctx context.Context, resourceGroupName string, jitRequestName string) (result JitRequestDefinition, err error)

Get gets the JIT request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. jitRequestName - the name of the JIT request.

func (JitRequestsClient) GetPreparer

func (client JitRequestsClient) GetPreparer(ctx context.Context, resourceGroupName string, jitRequestName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (JitRequestsClient) GetResponder

func (client JitRequestsClient) GetResponder(resp *http.Response) (result JitRequestDefinition, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (JitRequestsClient) GetSender

func (client JitRequestsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (JitRequestsClient) ListByResourceGroup

func (client JitRequestsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result JitRequestDefinitionListResult, err error)

ListByResourceGroup lists all JIT requests within the resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (JitRequestsClient) ListByResourceGroupPreparer

func (client JitRequestsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (JitRequestsClient) ListByResourceGroupResponder

func (client JitRequestsClient) ListByResourceGroupResponder(resp *http.Response) (result JitRequestDefinitionListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (JitRequestsClient) ListByResourceGroupSender

func (client JitRequestsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (JitRequestsClient) ListBySubscription

func (client JitRequestsClient) ListBySubscription(ctx context.Context) (result JitRequestDefinitionListResult, err error)

ListBySubscription lists all JIT requests within the subscription.

func (JitRequestsClient) ListBySubscriptionPreparer

func (client JitRequestsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (JitRequestsClient) ListBySubscriptionResponder

func (client JitRequestsClient) ListBySubscriptionResponder(resp *http.Response) (result JitRequestDefinitionListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (JitRequestsClient) ListBySubscriptionSender

func (client JitRequestsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (JitRequestsClient) Update

func (client JitRequestsClient) Update(ctx context.Context, resourceGroupName string, jitRequestName string, parameters JitRequestPatchable) (result JitRequestDefinition, err error)

Update updates the JIT request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. jitRequestName - the name of the JIT request. parameters - parameters supplied to the update JIT request.

func (JitRequestsClient) UpdatePreparer

func (client JitRequestsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, jitRequestName string, parameters JitRequestPatchable) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (JitRequestsClient) UpdateResponder

func (client JitRequestsClient) UpdateResponder(resp *http.Response) (result JitRequestDefinition, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (JitRequestsClient) UpdateSender

func (client JitRequestsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type JitRequestsCreateOrUpdateFuture

JitRequestsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type JitRequestsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(JitRequestsClient) (JitRequestDefinition, error)
}

func (*JitRequestsCreateOrUpdateFuture) UnmarshalJSON

func (future *JitRequestsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type JitSchedulingPolicy

JitSchedulingPolicy the JIT scheduling policies.

type JitSchedulingPolicy struct {
    // Type - The type of JIT schedule. Possible values include: 'JitSchedulingTypeNotSpecified', 'JitSchedulingTypeOnce', 'JitSchedulingTypeRecurring'
    Type     JitSchedulingType `json:"type,omitempty"`
    Duration *string           `json:"duration,omitempty"`
    // StartTime - The start time of the request.
    StartTime *date.Time `json:"startTime,omitempty"`
}

type JitSchedulingType

JitSchedulingType enumerates the values for jit scheduling type.

type JitSchedulingType string
const (
    // JitSchedulingTypeNotSpecified ...
    JitSchedulingTypeNotSpecified JitSchedulingType = "NotSpecified"
    // JitSchedulingTypeOnce ...
    JitSchedulingTypeOnce JitSchedulingType = "Once"
    // JitSchedulingTypeRecurring ...
    JitSchedulingTypeRecurring JitSchedulingType = "Recurring"
)

func PossibleJitSchedulingTypeValues

func PossibleJitSchedulingTypeValues() []JitSchedulingType

PossibleJitSchedulingTypeValues returns an array of possible values for the JitSchedulingType const type.

type ListTokenRequest

ListTokenRequest list token request body.

type ListTokenRequest struct {
    // AuthorizationAudience - The authorization audience.
    AuthorizationAudience *string `json:"authorizationAudience,omitempty"`
    // UserAssignedIdentities - The user assigned identities.
    UserAssignedIdentities *[]string `json:"userAssignedIdentities,omitempty"`
}

type ManagedIdentityToken

ManagedIdentityToken the managed identity token for the managed app resource.

type ManagedIdentityToken struct {
    // AccessToken - The requested access token.
    AccessToken *string `json:"accessToken,omitempty"`
    // ExpiresIn - The number of seconds the access token will be valid.
    ExpiresIn *string `json:"expiresIn,omitempty"`
    // ExpiresOn - The timespan when the access token expires. This is represented as the number of seconds from epoch.
    ExpiresOn *string `json:"expiresOn,omitempty"`
    // NotBefore - The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
    NotBefore *string `json:"notBefore,omitempty"`
    // AuthorizationAudience - The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
    AuthorizationAudience *string `json:"authorizationAudience,omitempty"`
    // ResourceID - The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
    ResourceID *string `json:"resourceId,omitempty"`
    // TokenType - The type of the token.
    TokenType *string `json:"tokenType,omitempty"`
}

type ManagedIdentityTokenResult

ManagedIdentityTokenResult the array of managed identity tokens.

type ManagedIdentityTokenResult struct {
    autorest.Response `json:"-"`
    // Value - The array of managed identity tokens.
    Value *[]ManagedIdentityToken `json:"value,omitempty"`
}

type Operation

Operation microsoft.Solutions operation

type Operation struct {
    // Name - Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // IsDataAction - Indicates whether the operation is a data action
    IsDataAction *bool `json:"isDataAction,omitempty"`
    // Display - The object that represents the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

type OperationDisplay

OperationDisplay the object that represents the operation.

type OperationDisplay struct {
    // Provider - Service provider: Microsoft.Solutions
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed: Application, JitRequest, etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - Operation type: Read, write, delete, etc.
    Operation *string `json:"operation,omitempty"`
    // Description - READ-ONLY; Localized friendly description for the operation
    Description *string `json:"description,omitempty"`
}

func (OperationDisplay) MarshalJSON

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

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationListResult

OperationListResult result of the request to list Microsoft.Solutions operations. It contains a list of operations and a URL link to get the next set of results.

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - List of Microsoft.Solutions operations.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

OperationListResultIterator provides access to a complete listing of Operation values.

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

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

func (iter OperationListResultIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

OperationListResultPage contains a page of Operation values.

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

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type Plan

Plan plan for the managed application.

type Plan struct {
    // Name - The plan name.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher ID.
    Publisher *string `json:"publisher,omitempty"`
    // Product - The product code.
    Product *string `json:"product,omitempty"`
    // PromotionCode - The promotion code.
    PromotionCode *string `json:"promotionCode,omitempty"`
    // Version - The plan's version.
    Version *string `json:"version,omitempty"`
}

type PlanPatchable

PlanPatchable plan for the managed application.

type PlanPatchable struct {
    // Name - The plan name.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher ID.
    Publisher *string `json:"publisher,omitempty"`
    // Product - The product code.
    Product *string `json:"product,omitempty"`
    // PromotionCode - The promotion code.
    PromotionCode *string `json:"promotionCode,omitempty"`
    // Version - The plan's version.
    Version *string `json:"version,omitempty"`
}

type ProvisioningState

ProvisioningState enumerates the values for provisioning state.

type ProvisioningState string
const (
    // ProvisioningStateAccepted ...
    ProvisioningStateAccepted ProvisioningState = "Accepted"
    // ProvisioningStateCanceled ...
    ProvisioningStateCanceled ProvisioningState = "Canceled"
    // ProvisioningStateCreated ...
    ProvisioningStateCreated ProvisioningState = "Created"
    // ProvisioningStateCreating ...
    ProvisioningStateCreating ProvisioningState = "Creating"
    // ProvisioningStateDeleted ...
    ProvisioningStateDeleted ProvisioningState = "Deleted"
    // ProvisioningStateDeleting ...
    ProvisioningStateDeleting ProvisioningState = "Deleting"
    // ProvisioningStateFailed ...
    ProvisioningStateFailed ProvisioningState = "Failed"
    // ProvisioningStateNotSpecified ...
    ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
    // ProvisioningStateReady ...
    ProvisioningStateReady ProvisioningState = "Ready"
    // ProvisioningStateRunning ...
    ProvisioningStateRunning ProvisioningState = "Running"
    // ProvisioningStateSucceeded ...
    ProvisioningStateSucceeded ProvisioningState = "Succeeded"
    // ProvisioningStateUpdating ...
    ProvisioningStateUpdating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource

Resource resource information.

type Resource struct {
    // ID - READ-ONLY; Resource ID
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
}

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

ResourceIdentityType enumerates the values for resource identity type.

type ResourceIdentityType string
const (
    // ResourceIdentityTypeNone ...
    ResourceIdentityTypeNone ResourceIdentityType = "None"
    // ResourceIdentityTypeSystemAssigned ...
    ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
    // ResourceIdentityTypeSystemAssignedUserAssigned ...
    ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
    // ResourceIdentityTypeUserAssigned ...
    ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type Sku

Sku SKU for the resource.

type Sku struct {
    // Name - The SKU name.
    Name *string `json:"name,omitempty"`
    // Tier - The SKU tier.
    Tier *string `json:"tier,omitempty"`
    // Size - The SKU size.
    Size *string `json:"size,omitempty"`
    // Family - The SKU family.
    Family *string `json:"family,omitempty"`
    // Model - The SKU model.
    Model *string `json:"model,omitempty"`
    // Capacity - The SKU capacity.
    Capacity *int32 `json:"capacity,omitempty"`
}

type Status

Status enumerates the values for status.

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

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type Substatus

Substatus enumerates the values for substatus.

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

func PossibleSubstatusValues

func PossibleSubstatusValues() []Substatus

PossibleSubstatusValues returns an array of possible values for the Substatus const type.

type SystemData

SystemData metadata pertaining to creation and last modification of the resource.

type SystemData struct {
    // CreatedBy - The identity that created the resource.
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    CreatedByType CreatedByType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC).
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - The identity that last modified the resource.
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
    LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type UpdateAccessDefinition

UpdateAccessDefinition update access request definition.

type UpdateAccessDefinition struct {
    autorest.Response `json:"-"`
    // Approver - The approver name.
    Approver *string `json:"approver,omitempty"`
    // Metadata - The JIT request metadata.
    Metadata *JitRequestMetadata `json:"metadata,omitempty"`
    // Status - The JIT status. Possible values include: 'StatusNotSpecified', 'StatusElevate', 'StatusRemove'
    Status Status `json:"status,omitempty"`
    // SubStatus - The JIT status. Possible values include: 'SubstatusNotSpecified', 'SubstatusApproved', 'SubstatusDenied', 'SubstatusFailed', 'SubstatusExpired', 'SubstatusTimeout'
    SubStatus Substatus `json:"subStatus,omitempty"`
}

type UserAssignedResourceIdentity

UserAssignedResourceIdentity represents the user assigned identity that is contained within the UserAssignedIdentities dictionary on ResourceIdentity

type UserAssignedResourceIdentity struct {
    // PrincipalID - READ-ONLY; The principal id of user assigned identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant id of user assigned identity.
    TenantID *string `json:"tenantId,omitempty"`
}

func (UserAssignedResourceIdentity) MarshalJSON

func (uari UserAssignedResourceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserAssignedResourceIdentity.

Subdirectories

Name Synopsis
..
managedapplicationsapi Deprecated: Please note, this package has been deprecated.