Documentation ¶
Overview ¶
Package blueprint implements the Azure ARM Blueprint service API version 2018-11-01-preview.
Blueprint Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Artifact
- func (a Artifact) AsArtifact() (*Artifact, bool)
- func (a Artifact) AsBasicArtifact() (BasicArtifact, bool)
- func (a Artifact) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool)
- func (a Artifact) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool)
- func (a Artifact) AsTemplateArtifact() (*TemplateArtifact, bool)
- func (a Artifact) MarshalJSON() ([]byte, error)
- type ArtifactList
- type ArtifactListIterator
- type ArtifactListPage
- type ArtifactModel
- type ArtifactPropertiesBase
- type ArtifactsClient
- func (client ArtifactsClient) CreateOrUpdate(ctx context.Context, scope string, blueprintName string, artifactName string, ...) (result ArtifactModel, err error)
- func (client ArtifactsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, blueprintName string, artifactName string, ...) (*http.Request, error)
- func (client ArtifactsClient) CreateOrUpdateResponder(resp *http.Response) (result ArtifactModel, err error)
- func (client ArtifactsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ArtifactsClient) Delete(ctx context.Context, scope string, blueprintName string, artifactName string) (result ArtifactModel, err error)
- func (client ArtifactsClient) DeletePreparer(ctx context.Context, scope string, blueprintName string, artifactName string) (*http.Request, error)
- func (client ArtifactsClient) DeleteResponder(resp *http.Response) (result ArtifactModel, err error)
- func (client ArtifactsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ArtifactsClient) Get(ctx context.Context, scope string, blueprintName string, artifactName string) (result ArtifactModel, err error)
- func (client ArtifactsClient) GetPreparer(ctx context.Context, scope string, blueprintName string, artifactName string) (*http.Request, error)
- func (client ArtifactsClient) GetResponder(resp *http.Response) (result ArtifactModel, err error)
- func (client ArtifactsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ArtifactsClient) List(ctx context.Context, scope string, blueprintName string) (result ArtifactListPage, err error)
- func (client ArtifactsClient) ListComplete(ctx context.Context, scope string, blueprintName string) (result ArtifactListIterator, err error)
- func (client ArtifactsClient) ListPreparer(ctx context.Context, scope string, blueprintName string) (*http.Request, error)
- func (client ArtifactsClient) ListResponder(resp *http.Response) (result ArtifactList, err error)
- func (client ArtifactsClient) ListSender(req *http.Request) (*http.Response, error)
- type Assignment
- type AssignmentDeploymentJob
- type AssignmentDeploymentJobResult
- type AssignmentJobCreatedResource
- type AssignmentList
- type AssignmentListIterator
- type AssignmentListPage
- type AssignmentLockMode
- type AssignmentLockSettings
- type AssignmentOperation
- type AssignmentOperationList
- type AssignmentOperationListIterator
- func (iter *AssignmentOperationListIterator) Next() error
- func (iter *AssignmentOperationListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AssignmentOperationListIterator) NotDone() bool
- func (iter AssignmentOperationListIterator) Response() AssignmentOperationList
- func (iter AssignmentOperationListIterator) Value() AssignmentOperation
- type AssignmentOperationListPage
- func (page *AssignmentOperationListPage) Next() error
- func (page *AssignmentOperationListPage) NextWithContext(ctx context.Context) (err error)
- func (page AssignmentOperationListPage) NotDone() bool
- func (page AssignmentOperationListPage) Response() AssignmentOperationList
- func (page AssignmentOperationListPage) Values() []AssignmentOperation
- type AssignmentOperationProperties
- type AssignmentOperationsClient
- func (client AssignmentOperationsClient) Get(ctx context.Context, scope string, assignmentName string, ...) (result AssignmentOperation, err error)
- func (client AssignmentOperationsClient) GetPreparer(ctx context.Context, scope string, assignmentName string, ...) (*http.Request, error)
- func (client AssignmentOperationsClient) GetResponder(resp *http.Response) (result AssignmentOperation, err error)
- func (client AssignmentOperationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AssignmentOperationsClient) List(ctx context.Context, scope string, assignmentName string) (result AssignmentOperationListPage, err error)
- func (client AssignmentOperationsClient) ListComplete(ctx context.Context, scope string, assignmentName string) (result AssignmentOperationListIterator, err error)
- func (client AssignmentOperationsClient) ListPreparer(ctx context.Context, scope string, assignmentName string) (*http.Request, error)
- func (client AssignmentOperationsClient) ListResponder(resp *http.Response) (result AssignmentOperationList, err error)
- func (client AssignmentOperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type AssignmentProperties
- type AssignmentProvisioningState
- type AssignmentStatus
- type AssignmentsClient
- func (client AssignmentsClient) CreateOrUpdate(ctx context.Context, scope string, assignmentName string, ...) (result Assignment, err error)
- func (client AssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, assignmentName string, ...) (*http.Request, error)
- func (client AssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result Assignment, err error)
- func (client AssignmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client AssignmentsClient) Delete(ctx context.Context, scope string, assignmentName string) (result Assignment, err error)
- func (client AssignmentsClient) DeletePreparer(ctx context.Context, scope string, assignmentName string) (*http.Request, error)
- func (client AssignmentsClient) DeleteResponder(resp *http.Response) (result Assignment, err error)
- func (client AssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client AssignmentsClient) Get(ctx context.Context, scope string, assignmentName string) (result Assignment, err error)
- func (client AssignmentsClient) GetPreparer(ctx context.Context, scope string, assignmentName string) (*http.Request, error)
- func (client AssignmentsClient) GetResponder(resp *http.Response) (result Assignment, err error)
- func (client AssignmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AssignmentsClient) List(ctx context.Context, scope string) (result AssignmentListPage, err error)
- func (client AssignmentsClient) ListComplete(ctx context.Context, scope string) (result AssignmentListIterator, err error)
- func (client AssignmentsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)
- func (client AssignmentsClient) ListResponder(resp *http.Response) (result AssignmentList, err error)
- func (client AssignmentsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AssignmentsClient) WhoIsBlueprint(ctx context.Context, scope string, assignmentName string) (result WhoIsBlueprintContract, err error)
- func (client AssignmentsClient) WhoIsBlueprintPreparer(ctx context.Context, scope string, assignmentName string) (*http.Request, error)
- func (client AssignmentsClient) WhoIsBlueprintResponder(resp *http.Response) (result WhoIsBlueprintContract, err error)
- func (client AssignmentsClient) WhoIsBlueprintSender(req *http.Request) (*http.Response, error)
- type AzureResourceBase
- type AzureResourceManagerError
- type BaseClient
- type BasicArtifact
- type BlueprintsClient
- func (client BlueprintsClient) CreateOrUpdate(ctx context.Context, scope string, blueprintName string, blueprint Model) (result Model, err error)
- func (client BlueprintsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, blueprintName string, blueprint Model) (*http.Request, error)
- func (client BlueprintsClient) CreateOrUpdateResponder(resp *http.Response) (result Model, err error)
- func (client BlueprintsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client BlueprintsClient) Delete(ctx context.Context, scope string, blueprintName string) (result Model, err error)
- func (client BlueprintsClient) DeletePreparer(ctx context.Context, scope string, blueprintName string) (*http.Request, error)
- func (client BlueprintsClient) DeleteResponder(resp *http.Response) (result Model, err error)
- func (client BlueprintsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client BlueprintsClient) Get(ctx context.Context, scope string, blueprintName string) (result Model, err error)
- func (client BlueprintsClient) GetPreparer(ctx context.Context, scope string, blueprintName string) (*http.Request, error)
- func (client BlueprintsClient) GetResponder(resp *http.Response) (result Model, err error)
- func (client BlueprintsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BlueprintsClient) List(ctx context.Context, scope string) (result ListPage, err error)
- func (client BlueprintsClient) ListComplete(ctx context.Context, scope string) (result ListIterator, err error)
- func (client BlueprintsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)
- func (client BlueprintsClient) ListResponder(resp *http.Response) (result List, err error)
- func (client BlueprintsClient) ListSender(req *http.Request) (*http.Response, error)
- type KeyVaultReference
- type Kind
- type List
- type ListIterator
- type ListPage
- type ManagedServiceIdentity
- type ManagedServiceIdentityType
- type Model
- type ParameterDefinition
- type ParameterDefinitionMetadata
- type ParameterValue
- type PolicyAssignmentArtifact
- func (paa PolicyAssignmentArtifact) AsArtifact() (*Artifact, bool)
- func (paa PolicyAssignmentArtifact) AsBasicArtifact() (BasicArtifact, bool)
- func (paa PolicyAssignmentArtifact) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool)
- func (paa PolicyAssignmentArtifact) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool)
- func (paa PolicyAssignmentArtifact) AsTemplateArtifact() (*TemplateArtifact, bool)
- func (paa PolicyAssignmentArtifact) MarshalJSON() ([]byte, error)
- func (paa *PolicyAssignmentArtifact) UnmarshalJSON(body []byte) error
- type PolicyAssignmentArtifactProperties
- type Properties
- type PublishedArtifactsClient
- func (client PublishedArtifactsClient) Get(ctx context.Context, scope string, blueprintName string, versionID string, ...) (result ArtifactModel, err error)
- func (client PublishedArtifactsClient) GetPreparer(ctx context.Context, scope string, blueprintName string, versionID string, ...) (*http.Request, error)
- func (client PublishedArtifactsClient) GetResponder(resp *http.Response) (result ArtifactModel, err error)
- func (client PublishedArtifactsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PublishedArtifactsClient) List(ctx context.Context, scope string, blueprintName string, versionID string) (result ArtifactListPage, err error)
- func (client PublishedArtifactsClient) ListComplete(ctx context.Context, scope string, blueprintName string, versionID string) (result ArtifactListIterator, err error)
- func (client PublishedArtifactsClient) ListPreparer(ctx context.Context, scope string, blueprintName string, versionID string) (*http.Request, error)
- func (client PublishedArtifactsClient) ListResponder(resp *http.Response) (result ArtifactList, err error)
- func (client PublishedArtifactsClient) ListSender(req *http.Request) (*http.Response, error)
- type PublishedBlueprint
- type PublishedBlueprintList
- type PublishedBlueprintListIterator
- func (iter *PublishedBlueprintListIterator) Next() error
- func (iter *PublishedBlueprintListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PublishedBlueprintListIterator) NotDone() bool
- func (iter PublishedBlueprintListIterator) Response() PublishedBlueprintList
- func (iter PublishedBlueprintListIterator) Value() PublishedBlueprint
- type PublishedBlueprintListPage
- func (page *PublishedBlueprintListPage) Next() error
- func (page *PublishedBlueprintListPage) NextWithContext(ctx context.Context) (err error)
- func (page PublishedBlueprintListPage) NotDone() bool
- func (page PublishedBlueprintListPage) Response() PublishedBlueprintList
- func (page PublishedBlueprintListPage) Values() []PublishedBlueprint
- type PublishedBlueprintProperties
- type PublishedBlueprintsClient
- func (client PublishedBlueprintsClient) Create(ctx context.Context, scope string, blueprintName string, versionID string, ...) (result PublishedBlueprint, err error)
- func (client PublishedBlueprintsClient) CreatePreparer(ctx context.Context, scope string, blueprintName string, versionID string, ...) (*http.Request, error)
- func (client PublishedBlueprintsClient) CreateResponder(resp *http.Response) (result PublishedBlueprint, err error)
- func (client PublishedBlueprintsClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client PublishedBlueprintsClient) Delete(ctx context.Context, scope string, blueprintName string, versionID string) (result PublishedBlueprint, err error)
- func (client PublishedBlueprintsClient) DeletePreparer(ctx context.Context, scope string, blueprintName string, versionID string) (*http.Request, error)
- func (client PublishedBlueprintsClient) DeleteResponder(resp *http.Response) (result PublishedBlueprint, err error)
- func (client PublishedBlueprintsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client PublishedBlueprintsClient) Get(ctx context.Context, scope string, blueprintName string, versionID string) (result PublishedBlueprint, err error)
- func (client PublishedBlueprintsClient) GetPreparer(ctx context.Context, scope string, blueprintName string, versionID string) (*http.Request, error)
- func (client PublishedBlueprintsClient) GetResponder(resp *http.Response) (result PublishedBlueprint, err error)
- func (client PublishedBlueprintsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PublishedBlueprintsClient) List(ctx context.Context, scope string, blueprintName string) (result PublishedBlueprintListPage, err error)
- func (client PublishedBlueprintsClient) ListComplete(ctx context.Context, scope string, blueprintName string) (result PublishedBlueprintListIterator, err error)
- func (client PublishedBlueprintsClient) ListPreparer(ctx context.Context, scope string, blueprintName string) (*http.Request, error)
- func (client PublishedBlueprintsClient) ListResponder(resp *http.Response) (result PublishedBlueprintList, err error)
- func (client PublishedBlueprintsClient) ListSender(req *http.Request) (*http.Response, error)
- type ResourceGroupDefinition
- type ResourceGroupValue
- type ResourcePropertiesBase
- type ResourceProviderOperation
- type ResourceProviderOperationDisplay
- type ResourceProviderOperationList
- type ResourceStatusBase
- type RoleAssignmentArtifact
- func (raa RoleAssignmentArtifact) AsArtifact() (*Artifact, bool)
- func (raa RoleAssignmentArtifact) AsBasicArtifact() (BasicArtifact, bool)
- func (raa RoleAssignmentArtifact) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool)
- func (raa RoleAssignmentArtifact) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool)
- func (raa RoleAssignmentArtifact) AsTemplateArtifact() (*TemplateArtifact, bool)
- func (raa RoleAssignmentArtifact) MarshalJSON() ([]byte, error)
- func (raa *RoleAssignmentArtifact) UnmarshalJSON(body []byte) error
- type RoleAssignmentArtifactProperties
- type SecretValueReference
- type SharedBlueprintProperties
- type Status
- type TargetScope
- type TemplateArtifact
- func (ta TemplateArtifact) AsArtifact() (*Artifact, bool)
- func (ta TemplateArtifact) AsBasicArtifact() (BasicArtifact, bool)
- func (ta TemplateArtifact) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool)
- func (ta TemplateArtifact) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool)
- func (ta TemplateArtifact) AsTemplateArtifact() (*TemplateArtifact, bool)
- func (ta TemplateArtifact) MarshalJSON() ([]byte, error)
- func (ta *TemplateArtifact) UnmarshalJSON(body []byte) error
- type TemplateArtifactProperties
- type TemplateParameterType
- type TrackedResource
- type UserAssignedIdentity
- type WhoIsBlueprintContract
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Blueprint
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
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.
Types ¶
type Artifact ¶
type Artifact struct { autorest.Response `json:"-"` // Kind - Possible values include: 'KindArtifact', 'KindTemplate', 'KindRoleAssignment', 'KindPolicyAssignment' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
Artifact represents a blueprint artifact.
func (Artifact) AsArtifact ¶
AsArtifact is the BasicArtifact implementation for Artifact.
func (Artifact) AsBasicArtifact ¶
func (a Artifact) AsBasicArtifact() (BasicArtifact, bool)
AsBasicArtifact is the BasicArtifact implementation for Artifact.
func (Artifact) AsPolicyAssignmentArtifact ¶
func (a Artifact) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool)
AsPolicyAssignmentArtifact is the BasicArtifact implementation for Artifact.
func (Artifact) AsRoleAssignmentArtifact ¶
func (a Artifact) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool)
AsRoleAssignmentArtifact is the BasicArtifact implementation for Artifact.
func (Artifact) AsTemplateArtifact ¶
func (a Artifact) AsTemplateArtifact() (*TemplateArtifact, bool)
AsTemplateArtifact is the BasicArtifact implementation for Artifact.
func (Artifact) MarshalJSON ¶
MarshalJSON is the custom marshaler for Artifact.
type ArtifactList ¶
type ArtifactList struct { autorest.Response `json:"-"` // Value - List of blueprint artifacts. Value *[]BasicArtifact `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
ArtifactList list of blueprint artifacts.
func (ArtifactList) IsEmpty ¶
func (al ArtifactList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (*ArtifactList) UnmarshalJSON ¶
func (al *ArtifactList) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ArtifactList struct.
type ArtifactListIterator ¶
type ArtifactListIterator struct {
// contains filtered or unexported fields
}
ArtifactListIterator provides access to a complete listing of Artifact values.
func NewArtifactListIterator ¶
func NewArtifactListIterator(page ArtifactListPage) ArtifactListIterator
Creates a new instance of the ArtifactListIterator type.
func (*ArtifactListIterator) Next ¶
func (iter *ArtifactListIterator) 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 (*ArtifactListIterator) NextWithContext ¶
func (iter *ArtifactListIterator) 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 (ArtifactListIterator) NotDone ¶
func (iter ArtifactListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ArtifactListIterator) Response ¶
func (iter ArtifactListIterator) Response() ArtifactList
Response returns the raw server response from the last page request.
func (ArtifactListIterator) Value ¶
func (iter ArtifactListIterator) Value() BasicArtifact
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ArtifactListPage ¶
type ArtifactListPage struct {
// contains filtered or unexported fields
}
ArtifactListPage contains a page of BasicArtifact values.
func NewArtifactListPage ¶
func NewArtifactListPage(getNextPage func(context.Context, ArtifactList) (ArtifactList, error)) ArtifactListPage
Creates a new instance of the ArtifactListPage type.
func (*ArtifactListPage) Next ¶
func (page *ArtifactListPage) 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 (*ArtifactListPage) NextWithContext ¶
func (page *ArtifactListPage) 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 (ArtifactListPage) NotDone ¶
func (page ArtifactListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ArtifactListPage) Response ¶
func (page ArtifactListPage) Response() ArtifactList
Response returns the raw server response from the last page request.
func (ArtifactListPage) Values ¶
func (page ArtifactListPage) Values() []BasicArtifact
Values returns the slice of values for the current page or nil if there are no values.
type ArtifactModel ¶
type ArtifactModel struct { autorest.Response `json:"-"` Value BasicArtifact `json:"value,omitempty"` }
ArtifactModel ...
func (*ArtifactModel) UnmarshalJSON ¶
func (am *ArtifactModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ArtifactModel struct.
type ArtifactPropertiesBase ¶
type ArtifactPropertiesBase struct { // DependsOn - Artifacts which need to be deployed before the specified artifact. DependsOn *[]string `json:"dependsOn,omitempty"` }
ArtifactPropertiesBase common properties shared by different artifacts.
type ArtifactsClient ¶
type ArtifactsClient struct {
BaseClient
}
ArtifactsClient is the blueprint Client
func NewArtifactsClient ¶
func NewArtifactsClient() ArtifactsClient
NewArtifactsClient creates an instance of the ArtifactsClient client.
func NewArtifactsClientWithBaseURI ¶
func NewArtifactsClientWithBaseURI(baseURI string) ArtifactsClient
NewArtifactsClientWithBaseURI creates an instance of the ArtifactsClient 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 (ArtifactsClient) CreateOrUpdate ¶
func (client ArtifactsClient) CreateOrUpdate(ctx context.Context, scope string, blueprintName string, artifactName string, artifact BasicArtifact) (result ArtifactModel, err error)
CreateOrUpdate create or update blueprint artifact. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. artifactName - name of the blueprint artifact. artifact - blueprint artifact to create or update.
func (ArtifactsClient) CreateOrUpdatePreparer ¶
func (client ArtifactsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, blueprintName string, artifactName string, artifact BasicArtifact) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ArtifactsClient) CreateOrUpdateResponder ¶
func (client ArtifactsClient) CreateOrUpdateResponder(resp *http.Response) (result ArtifactModel, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ArtifactsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ArtifactsClient) Delete ¶
func (client ArtifactsClient) Delete(ctx context.Context, scope string, blueprintName string, artifactName string) (result ArtifactModel, err error)
Delete delete a blueprint artifact. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. artifactName - name of the blueprint artifact.
func (ArtifactsClient) DeletePreparer ¶
func (client ArtifactsClient) DeletePreparer(ctx context.Context, scope string, blueprintName string, artifactName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ArtifactsClient) DeleteResponder ¶
func (client ArtifactsClient) DeleteResponder(resp *http.Response) (result ArtifactModel, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ArtifactsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ArtifactsClient) Get ¶
func (client ArtifactsClient) Get(ctx context.Context, scope string, blueprintName string, artifactName string) (result ArtifactModel, err error)
Get get a blueprint artifact. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. artifactName - name of the blueprint artifact.
func (ArtifactsClient) GetPreparer ¶
func (client ArtifactsClient) GetPreparer(ctx context.Context, scope string, blueprintName string, artifactName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ArtifactsClient) GetResponder ¶
func (client ArtifactsClient) GetResponder(resp *http.Response) (result ArtifactModel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ArtifactsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ArtifactsClient) List ¶
func (client ArtifactsClient) List(ctx context.Context, scope string, blueprintName string) (result ArtifactListPage, err error)
List list artifacts for a given blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition.
func (ArtifactsClient) ListComplete ¶
func (client ArtifactsClient) ListComplete(ctx context.Context, scope string, blueprintName string) (result ArtifactListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ArtifactsClient) ListPreparer ¶
func (client ArtifactsClient) ListPreparer(ctx context.Context, scope string, blueprintName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ArtifactsClient) ListResponder ¶
func (client ArtifactsClient) ListResponder(resp *http.Response) (result ArtifactList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ArtifactsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Assignment ¶
type Assignment struct { autorest.Response `json:"-"` // Identity - Managed identity for this blueprint assignment. Identity *ManagedServiceIdentity `json:"identity,omitempty"` // AssignmentProperties - Properties for blueprint assignment object. *AssignmentProperties `json:"properties,omitempty"` // Location - The location of this blueprint assignment. Location *string `json:"location,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
Assignment represents a blueprint assignment.
func (Assignment) MarshalJSON ¶
func (a Assignment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Assignment.
func (*Assignment) UnmarshalJSON ¶
func (a *Assignment) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Assignment struct.
type AssignmentDeploymentJob ¶
type AssignmentDeploymentJob struct { // Kind - Kind of job. Kind *string `json:"kind,omitempty"` // Action - Name of the action performed in this job. Action *string `json:"action,omitempty"` // JobID - Id of this job. JobID *string `json:"jobId,omitempty"` // JobState - State of this job. JobState *string `json:"jobState,omitempty"` // Result - Deployment job result. Result *AssignmentDeploymentJobResult `json:"result,omitempty"` // History - Result of this deployment job for each retry. History *[]AssignmentDeploymentJobResult `json:"history,omitempty"` // RequestURI - Reference to deployment job resource id. RequestURI *string `json:"requestUri,omitempty"` }
AssignmentDeploymentJob represents individual job in given blueprint assignment operation.
type AssignmentDeploymentJobResult ¶
type AssignmentDeploymentJobResult struct { // Error - Contains error details if deployment job failed. Error *AzureResourceManagerError `json:"error,omitempty"` // Resources - Resources created as result of the deployment job. Resources *[]AssignmentJobCreatedResource `json:"resources,omitempty"` }
AssignmentDeploymentJobResult result of each individual deployment in a blueprint assignment.
type AssignmentJobCreatedResource ¶
type AssignmentJobCreatedResource struct { // Properties - Additional properties in a dictionary. Properties map[string]*string `json:"properties"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
AssignmentJobCreatedResource azure resource created from deployment job.
func (AssignmentJobCreatedResource) MarshalJSON ¶
func (ajcr AssignmentJobCreatedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AssignmentJobCreatedResource.
type AssignmentList ¶
type AssignmentList struct { autorest.Response `json:"-"` // Value - List of blueprint assignments. Value *[]Assignment `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
AssignmentList list of blueprint assignments
func (AssignmentList) IsEmpty ¶
func (al AssignmentList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AssignmentListIterator ¶
type AssignmentListIterator struct {
// contains filtered or unexported fields
}
AssignmentListIterator provides access to a complete listing of Assignment values.
func NewAssignmentListIterator ¶
func NewAssignmentListIterator(page AssignmentListPage) AssignmentListIterator
Creates a new instance of the AssignmentListIterator type.
func (*AssignmentListIterator) Next ¶
func (iter *AssignmentListIterator) 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 (*AssignmentListIterator) NextWithContext ¶
func (iter *AssignmentListIterator) 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 (AssignmentListIterator) NotDone ¶
func (iter AssignmentListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AssignmentListIterator) Response ¶
func (iter AssignmentListIterator) Response() AssignmentList
Response returns the raw server response from the last page request.
func (AssignmentListIterator) Value ¶
func (iter AssignmentListIterator) Value() Assignment
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AssignmentListPage ¶
type AssignmentListPage struct {
// contains filtered or unexported fields
}
AssignmentListPage contains a page of Assignment values.
func NewAssignmentListPage ¶
func NewAssignmentListPage(getNextPage func(context.Context, AssignmentList) (AssignmentList, error)) AssignmentListPage
Creates a new instance of the AssignmentListPage type.
func (*AssignmentListPage) Next ¶
func (page *AssignmentListPage) 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 (*AssignmentListPage) NextWithContext ¶
func (page *AssignmentListPage) 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 (AssignmentListPage) NotDone ¶
func (page AssignmentListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AssignmentListPage) Response ¶
func (page AssignmentListPage) Response() AssignmentList
Response returns the raw server response from the last page request.
func (AssignmentListPage) Values ¶
func (page AssignmentListPage) Values() []Assignment
Values returns the slice of values for the current page or nil if there are no values.
type AssignmentLockMode ¶
type AssignmentLockMode string
AssignmentLockMode enumerates the values for assignment lock mode.
const ( // AllResourcesDoNotDelete ... AllResourcesDoNotDelete AssignmentLockMode = "AllResourcesDoNotDelete" // AllResourcesReadOnly ... AllResourcesReadOnly AssignmentLockMode = "AllResourcesReadOnly" // None ... None AssignmentLockMode = "None" )
func PossibleAssignmentLockModeValues ¶
func PossibleAssignmentLockModeValues() []AssignmentLockMode
PossibleAssignmentLockModeValues returns an array of possible values for the AssignmentLockMode const type.
type AssignmentLockSettings ¶
type AssignmentLockSettings struct { // Mode - Lock mode. Possible values include: 'None', 'AllResourcesReadOnly', 'AllResourcesDoNotDelete' Mode AssignmentLockMode `json:"mode,omitempty"` // ExcludedPrincipals - List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted. ExcludedPrincipals *[]string `json:"excludedPrincipals,omitempty"` // ExcludedActions - List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed. ExcludedActions *[]string `json:"excludedActions,omitempty"` }
AssignmentLockSettings defines how resources deployed by a blueprint assignment are locked.
type AssignmentOperation ¶
type AssignmentOperation struct { autorest.Response `json:"-"` // AssignmentOperationProperties - Properties for AssignmentOperation. *AssignmentOperationProperties `json:"properties,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
AssignmentOperation represents underlying deployment detail for each update to the blueprint assignment.
func (AssignmentOperation) MarshalJSON ¶
func (ao AssignmentOperation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AssignmentOperation.
func (*AssignmentOperation) UnmarshalJSON ¶
func (ao *AssignmentOperation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AssignmentOperation struct.
type AssignmentOperationList ¶
type AssignmentOperationList struct { autorest.Response `json:"-"` // Value - List of AssignmentOperation. Value *[]AssignmentOperation `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
AssignmentOperationList list of AssignmentOperation.
func (AssignmentOperationList) IsEmpty ¶
func (aol AssignmentOperationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AssignmentOperationListIterator ¶
type AssignmentOperationListIterator struct {
// contains filtered or unexported fields
}
AssignmentOperationListIterator provides access to a complete listing of AssignmentOperation values.
func NewAssignmentOperationListIterator ¶
func NewAssignmentOperationListIterator(page AssignmentOperationListPage) AssignmentOperationListIterator
Creates a new instance of the AssignmentOperationListIterator type.
func (*AssignmentOperationListIterator) Next ¶
func (iter *AssignmentOperationListIterator) 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 (*AssignmentOperationListIterator) NextWithContext ¶
func (iter *AssignmentOperationListIterator) 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 (AssignmentOperationListIterator) NotDone ¶
func (iter AssignmentOperationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AssignmentOperationListIterator) Response ¶
func (iter AssignmentOperationListIterator) Response() AssignmentOperationList
Response returns the raw server response from the last page request.
func (AssignmentOperationListIterator) Value ¶
func (iter AssignmentOperationListIterator) Value() AssignmentOperation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AssignmentOperationListPage ¶
type AssignmentOperationListPage struct {
// contains filtered or unexported fields
}
AssignmentOperationListPage contains a page of AssignmentOperation values.
func NewAssignmentOperationListPage ¶
func NewAssignmentOperationListPage(getNextPage func(context.Context, AssignmentOperationList) (AssignmentOperationList, error)) AssignmentOperationListPage
Creates a new instance of the AssignmentOperationListPage type.
func (*AssignmentOperationListPage) Next ¶
func (page *AssignmentOperationListPage) 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 (*AssignmentOperationListPage) NextWithContext ¶
func (page *AssignmentOperationListPage) 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 (AssignmentOperationListPage) NotDone ¶
func (page AssignmentOperationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AssignmentOperationListPage) Response ¶
func (page AssignmentOperationListPage) Response() AssignmentOperationList
Response returns the raw server response from the last page request.
func (AssignmentOperationListPage) Values ¶
func (page AssignmentOperationListPage) Values() []AssignmentOperation
Values returns the slice of values for the current page or nil if there are no values.
type AssignmentOperationProperties ¶
type AssignmentOperationProperties struct { // BlueprintVersion - The published version of the blueprint definition used for the blueprint assignment operation. BlueprintVersion *string `json:"blueprintVersion,omitempty"` // AssignmentState - State of this blueprint assignment operation. AssignmentState *string `json:"assignmentState,omitempty"` // TimeCreated - Create time of this blueprint assignment operation. TimeCreated *string `json:"timeCreated,omitempty"` // TimeStarted - Start time of the underlying deployment. TimeStarted *string `json:"timeStarted,omitempty"` // TimeFinished - Finish time of the overall underlying deployments. TimeFinished *string `json:"timeFinished,omitempty"` // Deployments - List of jobs in this blueprint assignment operation. Deployments *[]AssignmentDeploymentJob `json:"deployments,omitempty"` }
AssignmentOperationProperties properties of AssignmentOperation.
type AssignmentOperationsClient ¶
type AssignmentOperationsClient struct {
BaseClient
}
AssignmentOperationsClient is the blueprint Client
func NewAssignmentOperationsClient ¶
func NewAssignmentOperationsClient() AssignmentOperationsClient
NewAssignmentOperationsClient creates an instance of the AssignmentOperationsClient client.
func NewAssignmentOperationsClientWithBaseURI ¶
func NewAssignmentOperationsClientWithBaseURI(baseURI string) AssignmentOperationsClient
NewAssignmentOperationsClientWithBaseURI creates an instance of the AssignmentOperationsClient 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 (AssignmentOperationsClient) Get ¶
func (client AssignmentOperationsClient) Get(ctx context.Context, scope string, assignmentName string, assignmentOperationName string) (result AssignmentOperation, err error)
Get get a blueprint assignment operation. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. assignmentName - name of the blueprint assignment. assignmentOperationName - name of the blueprint assignment operation.
func (AssignmentOperationsClient) GetPreparer ¶
func (client AssignmentOperationsClient) GetPreparer(ctx context.Context, scope string, assignmentName string, assignmentOperationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AssignmentOperationsClient) GetResponder ¶
func (client AssignmentOperationsClient) GetResponder(resp *http.Response) (result AssignmentOperation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AssignmentOperationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AssignmentOperationsClient) List ¶
func (client AssignmentOperationsClient) List(ctx context.Context, scope string, assignmentName string) (result AssignmentOperationListPage, err error)
List list operations for given blueprint assignment within a subscription. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. assignmentName - name of the blueprint assignment.
func (AssignmentOperationsClient) ListComplete ¶
func (client AssignmentOperationsClient) ListComplete(ctx context.Context, scope string, assignmentName string) (result AssignmentOperationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AssignmentOperationsClient) ListPreparer ¶
func (client AssignmentOperationsClient) ListPreparer(ctx context.Context, scope string, assignmentName string) (*http.Request, error)
ListPreparer prepares the List request.
func (AssignmentOperationsClient) ListResponder ¶
func (client AssignmentOperationsClient) ListResponder(resp *http.Response) (result AssignmentOperationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AssignmentOperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type AssignmentProperties ¶
type AssignmentProperties struct { // BlueprintID - ID of the published version of a blueprint definition. BlueprintID *string `json:"blueprintId,omitempty"` // Parameters - Blueprint assignment parameter values. Parameters map[string]*ParameterValue `json:"parameters"` // ResourceGroups - Names and locations of resource group placeholders. ResourceGroups map[string]*ResourceGroupValue `json:"resourceGroups"` // Status - READ-ONLY; Status of blueprint assignment. This field is readonly. Status *AssignmentStatus `json:"status,omitempty"` // Locks - Defines how resources deployed by a blueprint assignment are locked. Locks *AssignmentLockSettings `json:"locks,omitempty"` // ProvisioningState - READ-ONLY; State of the blueprint assignment. Possible values include: 'Creating', 'Validating', 'Waiting', 'Deploying', 'Cancelling', 'Locking', 'Succeeded', 'Failed', 'Canceled', 'Deleting' ProvisioningState AssignmentProvisioningState `json:"provisioningState,omitempty"` // DisplayName - One-liner string explain this resource. DisplayName *string `json:"displayName,omitempty"` // Description - Multi-line explain this resource. Description *string `json:"description,omitempty"` }
AssignmentProperties detailed properties for a blueprint assignment.
func (AssignmentProperties) MarshalJSON ¶
func (ap AssignmentProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AssignmentProperties.
type AssignmentProvisioningState ¶
type AssignmentProvisioningState string
AssignmentProvisioningState enumerates the values for assignment provisioning state.
const ( // Canceled ... Canceled AssignmentProvisioningState = "canceled" // Cancelling ... Cancelling AssignmentProvisioningState = "cancelling" // Creating ... Creating AssignmentProvisioningState = "creating" // Deleting ... Deleting AssignmentProvisioningState = "deleting" // Deploying ... Deploying AssignmentProvisioningState = "deploying" // Failed ... Failed AssignmentProvisioningState = "failed" // Locking ... Locking AssignmentProvisioningState = "locking" // Succeeded ... Succeeded AssignmentProvisioningState = "succeeded" // Validating ... Validating AssignmentProvisioningState = "validating" // Waiting ... Waiting AssignmentProvisioningState = "waiting" )
func PossibleAssignmentProvisioningStateValues ¶
func PossibleAssignmentProvisioningStateValues() []AssignmentProvisioningState
PossibleAssignmentProvisioningStateValues returns an array of possible values for the AssignmentProvisioningState const type.
type AssignmentStatus ¶
type AssignmentStatus struct { // ManagedResources - READ-ONLY; List of resources that were created by the blueprint assignment. ManagedResources *[]string `json:"managedResources,omitempty"` // TimeCreated - READ-ONLY; Creation time of this blueprint definition. TimeCreated *date.Time `json:"timeCreated,omitempty"` // LastModified - READ-ONLY; Last modified time of this blueprint definition. LastModified *date.Time `json:"lastModified,omitempty"` }
AssignmentStatus the status of a blueprint assignment. This field is readonly.
type AssignmentsClient ¶
type AssignmentsClient struct {
BaseClient
}
AssignmentsClient is the blueprint Client
func NewAssignmentsClient ¶
func NewAssignmentsClient() AssignmentsClient
NewAssignmentsClient creates an instance of the AssignmentsClient client.
func NewAssignmentsClientWithBaseURI ¶
func NewAssignmentsClientWithBaseURI(baseURI string) AssignmentsClient
NewAssignmentsClientWithBaseURI creates an instance of the AssignmentsClient 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 (AssignmentsClient) CreateOrUpdate ¶
func (client AssignmentsClient) CreateOrUpdate(ctx context.Context, scope string, assignmentName string, assignment Assignment) (result Assignment, err error)
CreateOrUpdate create or update a blueprint assignment. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. assignmentName - name of the blueprint assignment. assignment - blueprint assignment object to save.
func (AssignmentsClient) CreateOrUpdatePreparer ¶
func (client AssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, assignmentName string, assignment Assignment) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AssignmentsClient) CreateOrUpdateResponder ¶
func (client AssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result Assignment, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AssignmentsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AssignmentsClient) Delete ¶
func (client AssignmentsClient) Delete(ctx context.Context, scope string, assignmentName string) (result Assignment, err error)
Delete delete a blueprint assignment. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. assignmentName - name of the blueprint assignment.
func (AssignmentsClient) DeletePreparer ¶
func (client AssignmentsClient) DeletePreparer(ctx context.Context, scope string, assignmentName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AssignmentsClient) DeleteResponder ¶
func (client AssignmentsClient) DeleteResponder(resp *http.Response) (result Assignment, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (AssignmentsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AssignmentsClient) Get ¶
func (client AssignmentsClient) Get(ctx context.Context, scope string, assignmentName string) (result Assignment, err error)
Get get a blueprint assignment. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. assignmentName - name of the blueprint assignment.
func (AssignmentsClient) GetPreparer ¶
func (client AssignmentsClient) GetPreparer(ctx context.Context, scope string, assignmentName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AssignmentsClient) GetResponder ¶
func (client AssignmentsClient) GetResponder(resp *http.Response) (result Assignment, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AssignmentsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AssignmentsClient) List ¶
func (client AssignmentsClient) List(ctx context.Context, scope string) (result AssignmentListPage, err error)
List list blueprint assignments within a subscription. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use.
func (AssignmentsClient) ListComplete ¶
func (client AssignmentsClient) ListComplete(ctx context.Context, scope string) (result AssignmentListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AssignmentsClient) ListPreparer ¶
func (client AssignmentsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)
ListPreparer prepares the List request.
func (AssignmentsClient) ListResponder ¶
func (client AssignmentsClient) ListResponder(resp *http.Response) (result AssignmentList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AssignmentsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (AssignmentsClient) WhoIsBlueprint ¶
func (client AssignmentsClient) WhoIsBlueprint(ctx context.Context, scope string, assignmentName string) (result WhoIsBlueprintContract, err error)
WhoIsBlueprint get Blueprints service SPN objectId Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. assignmentName - name of the blueprint assignment.
func (AssignmentsClient) WhoIsBlueprintPreparer ¶
func (client AssignmentsClient) WhoIsBlueprintPreparer(ctx context.Context, scope string, assignmentName string) (*http.Request, error)
WhoIsBlueprintPreparer prepares the WhoIsBlueprint request.
func (AssignmentsClient) WhoIsBlueprintResponder ¶
func (client AssignmentsClient) WhoIsBlueprintResponder(resp *http.Response) (result WhoIsBlueprintContract, err error)
WhoIsBlueprintResponder handles the response to the WhoIsBlueprint request. The method always closes the http.Response Body.
func (AssignmentsClient) WhoIsBlueprintSender ¶
WhoIsBlueprintSender sends the WhoIsBlueprint request. The method will close the http.Response Body if it receives an error.
type AzureResourceBase ¶
type AzureResourceBase struct { // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
AzureResourceBase common properties for all Azure resources.
type AzureResourceManagerError ¶
type AzureResourceManagerError struct { // Code - Error code. Code *string `json:"code,omitempty"` // Message - Error message. Message *string `json:"message,omitempty"` }
AzureResourceManagerError error code and message
type BaseClient ¶
BaseClient is the base client for Blueprint.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI 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).
type BasicArtifact ¶
type BasicArtifact interface { AsTemplateArtifact() (*TemplateArtifact, bool) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool) AsArtifact() (*Artifact, bool) }
BasicArtifact represents a blueprint artifact.
type BlueprintsClient ¶
type BlueprintsClient struct {
BaseClient
}
BlueprintsClient is the blueprint Client
func NewBlueprintsClient ¶
func NewBlueprintsClient() BlueprintsClient
NewBlueprintsClient creates an instance of the BlueprintsClient client.
func NewBlueprintsClientWithBaseURI ¶
func NewBlueprintsClientWithBaseURI(baseURI string) BlueprintsClient
NewBlueprintsClientWithBaseURI creates an instance of the BlueprintsClient 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 (BlueprintsClient) CreateOrUpdate ¶
func (client BlueprintsClient) CreateOrUpdate(ctx context.Context, scope string, blueprintName string, blueprint Model) (result Model, err error)
CreateOrUpdate create or update a blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. blueprint - blueprint definition.
func (BlueprintsClient) CreateOrUpdatePreparer ¶
func (client BlueprintsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, blueprintName string, blueprint Model) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (BlueprintsClient) CreateOrUpdateResponder ¶
func (client BlueprintsClient) CreateOrUpdateResponder(resp *http.Response) (result Model, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (BlueprintsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (BlueprintsClient) Delete ¶
func (client BlueprintsClient) Delete(ctx context.Context, scope string, blueprintName string) (result Model, err error)
Delete delete a blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition.
func (BlueprintsClient) DeletePreparer ¶
func (client BlueprintsClient) DeletePreparer(ctx context.Context, scope string, blueprintName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (BlueprintsClient) DeleteResponder ¶
func (client BlueprintsClient) DeleteResponder(resp *http.Response) (result Model, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (BlueprintsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (BlueprintsClient) Get ¶
func (client BlueprintsClient) Get(ctx context.Context, scope string, blueprintName string) (result Model, err error)
Get get a blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition.
func (BlueprintsClient) GetPreparer ¶
func (client BlueprintsClient) GetPreparer(ctx context.Context, scope string, blueprintName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BlueprintsClient) GetResponder ¶
func (client BlueprintsClient) GetResponder(resp *http.Response) (result Model, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BlueprintsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BlueprintsClient) List ¶
List list blueprint definitions. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use.
func (BlueprintsClient) ListComplete ¶
func (client BlueprintsClient) ListComplete(ctx context.Context, scope string) (result ListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (BlueprintsClient) ListPreparer ¶
func (client BlueprintsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)
ListPreparer prepares the List request.
func (BlueprintsClient) ListResponder ¶
func (client BlueprintsClient) ListResponder(resp *http.Response) (result List, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BlueprintsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type KeyVaultReference ¶
type KeyVaultReference struct { // ID - Azure resource ID of the Key Vault. ID *string `json:"id,omitempty"` }
KeyVaultReference specifies the link to a Key Vault.
type Kind ¶
type Kind string
Kind enumerates the values for kind.
func PossibleKindValues ¶
func PossibleKindValues() []Kind
PossibleKindValues returns an array of possible values for the Kind const type.
type List ¶
type List struct { autorest.Response `json:"-"` // Value - List of blueprint definitions. Value *[]Model `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
List list of blueprint definitions.
type ListIterator ¶
type ListIterator struct {
// contains filtered or unexported fields
}
ListIterator provides access to a complete listing of Model values.
func NewListIterator ¶
func NewListIterator(page ListPage) ListIterator
Creates a new instance of the ListIterator type.
func (*ListIterator) Next ¶
func (iter *ListIterator) 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 (*ListIterator) NextWithContext ¶
func (iter *ListIterator) 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 (ListIterator) NotDone ¶
func (iter ListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ListIterator) Response ¶
func (iter ListIterator) Response() List
Response returns the raw server response from the last page request.
func (ListIterator) Value ¶
func (iter ListIterator) Value() Model
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListPage ¶
type ListPage struct {
// contains filtered or unexported fields
}
ListPage contains a page of Model values.
func NewListPage ¶
Creates a new instance of the ListPage type.
func (*ListPage) Next ¶
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 (*ListPage) NextWithContext ¶
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 (ListPage) NotDone ¶
NotDone returns true if the page enumeration should be started or is not yet complete.
type ManagedServiceIdentity ¶
type ManagedServiceIdentity struct { // Type - Type of the managed identity. Possible values include: 'ManagedServiceIdentityTypeNone', 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeUserAssigned' Type ManagedServiceIdentityType `json:"type,omitempty"` // PrincipalID - Azure Active Directory principal ID associated with this Identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - ID of the Azure Active Directory. TenantID *string `json:"tenantId,omitempty"` // UserAssignedIdentities - The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity. UserAssignedIdentities map[string]*UserAssignedIdentity `json:"userAssignedIdentities"` }
ManagedServiceIdentity managed identity generic object.
func (ManagedServiceIdentity) MarshalJSON ¶
func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedServiceIdentity.
type ManagedServiceIdentityType ¶
type ManagedServiceIdentityType string
ManagedServiceIdentityType enumerates the values for managed service identity type.
const ( // ManagedServiceIdentityTypeNone ... ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None" // ManagedServiceIdentityTypeSystemAssigned ... ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned" // ManagedServiceIdentityTypeUserAssigned ... ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned" )
func PossibleManagedServiceIdentityTypeValues ¶
func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType
PossibleManagedServiceIdentityTypeValues returns an array of possible values for the ManagedServiceIdentityType const type.
type Model ¶
type Model struct { autorest.Response `json:"-"` // Properties - Detailed properties for blueprint definition. *Properties `json:"properties,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
Model represents a Blueprint definition.
func (Model) MarshalJSON ¶
MarshalJSON is the custom marshaler for Model.
func (*Model) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Model struct.
type ParameterDefinition ¶
type ParameterDefinition struct { // Type - Allowed data types for Resource Manager template parameters. Possible values include: 'String', 'Array', 'Bool', 'Int', 'Object', 'SecureObject', 'SecureString' Type TemplateParameterType `json:"type,omitempty"` // ParameterDefinitionMetadata - User-friendly properties for this parameter. *ParameterDefinitionMetadata `json:"metadata,omitempty"` // DefaultValue - Default Value for this parameter. DefaultValue interface{} `json:"defaultValue,omitempty"` // AllowedValues - Array of allowed values for this parameter. AllowedValues *[]interface{} `json:"allowedValues,omitempty"` }
ParameterDefinition represent a parameter with constrains and metadata.
func (ParameterDefinition) MarshalJSON ¶
func (pd ParameterDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ParameterDefinition.
func (*ParameterDefinition) UnmarshalJSON ¶
func (pd *ParameterDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ParameterDefinition struct.
type ParameterDefinitionMetadata ¶
type ParameterDefinitionMetadata struct { // DisplayName - DisplayName of this parameter/resourceGroup. DisplayName *string `json:"displayName,omitempty"` // Description - Description of this parameter/resourceGroup. Description *string `json:"description,omitempty"` // StrongType - StrongType for UI to render rich experience during blueprint assignment. Supported strong types are resourceType, principalId and location. StrongType *string `json:"strongType,omitempty"` }
ParameterDefinitionMetadata user-friendly properties for this parameter.
type ParameterValue ¶
type ParameterValue struct { // Value - Parameter value as value type. Value interface{} `json:"value,omitempty"` // Reference - Parameter value as reference type. Reference *SecretValueReference `json:"reference,omitempty"` }
ParameterValue value for the specified parameter. Can be either 'value' or 'reference' but not both.
type PolicyAssignmentArtifact ¶
type PolicyAssignmentArtifact struct { // PolicyAssignmentArtifactProperties - properties for policyAssignment Artifact *PolicyAssignmentArtifactProperties `json:"properties,omitempty"` // Kind - Possible values include: 'KindArtifact', 'KindTemplate', 'KindRoleAssignment', 'KindPolicyAssignment' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
PolicyAssignmentArtifact blueprint artifact that applies a Policy assignment.
func (PolicyAssignmentArtifact) AsArtifact ¶
func (paa PolicyAssignmentArtifact) AsArtifact() (*Artifact, bool)
AsArtifact is the BasicArtifact implementation for PolicyAssignmentArtifact.
func (PolicyAssignmentArtifact) AsBasicArtifact ¶
func (paa PolicyAssignmentArtifact) AsBasicArtifact() (BasicArtifact, bool)
AsBasicArtifact is the BasicArtifact implementation for PolicyAssignmentArtifact.
func (PolicyAssignmentArtifact) AsPolicyAssignmentArtifact ¶
func (paa PolicyAssignmentArtifact) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool)
AsPolicyAssignmentArtifact is the BasicArtifact implementation for PolicyAssignmentArtifact.
func (PolicyAssignmentArtifact) AsRoleAssignmentArtifact ¶
func (paa PolicyAssignmentArtifact) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool)
AsRoleAssignmentArtifact is the BasicArtifact implementation for PolicyAssignmentArtifact.
func (PolicyAssignmentArtifact) AsTemplateArtifact ¶
func (paa PolicyAssignmentArtifact) AsTemplateArtifact() (*TemplateArtifact, bool)
AsTemplateArtifact is the BasicArtifact implementation for PolicyAssignmentArtifact.
func (PolicyAssignmentArtifact) MarshalJSON ¶
func (paa PolicyAssignmentArtifact) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PolicyAssignmentArtifact.
func (*PolicyAssignmentArtifact) UnmarshalJSON ¶
func (paa *PolicyAssignmentArtifact) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PolicyAssignmentArtifact struct.
type PolicyAssignmentArtifactProperties ¶
type PolicyAssignmentArtifactProperties struct { // DisplayName - One-liner string explain this resource. DisplayName *string `json:"displayName,omitempty"` // Description - Multi-line explain this resource. Description *string `json:"description,omitempty"` // DependsOn - Artifacts which need to be deployed before the specified artifact. DependsOn *[]string `json:"dependsOn,omitempty"` // PolicyDefinitionID - Azure resource ID of the policy definition. PolicyDefinitionID *string `json:"policyDefinitionId,omitempty"` // Parameters - Parameter values for the policy definition. Parameters map[string]*ParameterValue `json:"parameters"` // ResourceGroup - Name of the resource group placeholder to which the policy will be assigned. ResourceGroup *string `json:"resourceGroup,omitempty"` }
PolicyAssignmentArtifactProperties properties of a Policy assignment blueprint artifact.
func (PolicyAssignmentArtifactProperties) MarshalJSON ¶
func (paap PolicyAssignmentArtifactProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PolicyAssignmentArtifactProperties.
type Properties ¶
type Properties struct { // Versions - Published versions of this blueprint definition. Versions interface{} `json:"versions,omitempty"` // Layout - Layout view of the blueprint definition for UI reference. Layout interface{} `json:"layout,omitempty"` // Status - READ-ONLY; Status of the blueprint. This field is readonly. Status *Status `json:"status,omitempty"` // TargetScope - The scope where this blueprint definition can be assigned. Possible values include: 'Subscription', 'ManagementGroup' TargetScope TargetScope `json:"targetScope,omitempty"` // Parameters - Parameters required by this blueprint definition. Parameters map[string]*ParameterDefinition `json:"parameters"` // ResourceGroups - Resource group placeholders defined by this blueprint definition. ResourceGroups map[string]*ResourceGroupDefinition `json:"resourceGroups"` // DisplayName - One-liner string explain this resource. DisplayName *string `json:"displayName,omitempty"` // Description - Multi-line explain this resource. Description *string `json:"description,omitempty"` }
Properties schema for blueprint definition properties.
func (Properties) MarshalJSON ¶
func (p Properties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Properties.
type PublishedArtifactsClient ¶
type PublishedArtifactsClient struct {
BaseClient
}
PublishedArtifactsClient is the blueprint Client
func NewPublishedArtifactsClient ¶
func NewPublishedArtifactsClient() PublishedArtifactsClient
NewPublishedArtifactsClient creates an instance of the PublishedArtifactsClient client.
func NewPublishedArtifactsClientWithBaseURI ¶
func NewPublishedArtifactsClientWithBaseURI(baseURI string) PublishedArtifactsClient
NewPublishedArtifactsClientWithBaseURI creates an instance of the PublishedArtifactsClient 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 (PublishedArtifactsClient) Get ¶
func (client PublishedArtifactsClient) Get(ctx context.Context, scope string, blueprintName string, versionID string, artifactName string) (result ArtifactModel, err error)
Get get an artifact for a published blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. versionID - version of the published blueprint definition. artifactName - name of the blueprint artifact.
func (PublishedArtifactsClient) GetPreparer ¶
func (client PublishedArtifactsClient) GetPreparer(ctx context.Context, scope string, blueprintName string, versionID string, artifactName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PublishedArtifactsClient) GetResponder ¶
func (client PublishedArtifactsClient) GetResponder(resp *http.Response) (result ArtifactModel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PublishedArtifactsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PublishedArtifactsClient) List ¶
func (client PublishedArtifactsClient) List(ctx context.Context, scope string, blueprintName string, versionID string) (result ArtifactListPage, err error)
List list artifacts for a version of a published blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. versionID - version of the published blueprint definition.
func (PublishedArtifactsClient) ListComplete ¶
func (client PublishedArtifactsClient) ListComplete(ctx context.Context, scope string, blueprintName string, versionID string) (result ArtifactListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (PublishedArtifactsClient) ListPreparer ¶
func (client PublishedArtifactsClient) ListPreparer(ctx context.Context, scope string, blueprintName string, versionID string) (*http.Request, error)
ListPreparer prepares the List request.
func (PublishedArtifactsClient) ListResponder ¶
func (client PublishedArtifactsClient) ListResponder(resp *http.Response) (result ArtifactList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PublishedArtifactsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PublishedBlueprint ¶
type PublishedBlueprint struct { autorest.Response `json:"-"` // PublishedBlueprintProperties - Detailed properties for published blueprint. *PublishedBlueprintProperties `json:"properties,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
PublishedBlueprint represents a published blueprint.
func (PublishedBlueprint) MarshalJSON ¶
func (pb PublishedBlueprint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublishedBlueprint.
func (*PublishedBlueprint) UnmarshalJSON ¶
func (pb *PublishedBlueprint) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PublishedBlueprint struct.
type PublishedBlueprintList ¶
type PublishedBlueprintList struct { autorest.Response `json:"-"` // Value - List of published blueprint definitions. Value *[]PublishedBlueprint `json:"value,omitempty"` // NextLink - READ-ONLY; Link to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
PublishedBlueprintList list of published blueprint definitions.
func (PublishedBlueprintList) IsEmpty ¶
func (pbl PublishedBlueprintList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PublishedBlueprintListIterator ¶
type PublishedBlueprintListIterator struct {
// contains filtered or unexported fields
}
PublishedBlueprintListIterator provides access to a complete listing of PublishedBlueprint values.
func NewPublishedBlueprintListIterator ¶
func NewPublishedBlueprintListIterator(page PublishedBlueprintListPage) PublishedBlueprintListIterator
Creates a new instance of the PublishedBlueprintListIterator type.
func (*PublishedBlueprintListIterator) Next ¶
func (iter *PublishedBlueprintListIterator) 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 (*PublishedBlueprintListIterator) NextWithContext ¶
func (iter *PublishedBlueprintListIterator) 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 (PublishedBlueprintListIterator) NotDone ¶
func (iter PublishedBlueprintListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PublishedBlueprintListIterator) Response ¶
func (iter PublishedBlueprintListIterator) Response() PublishedBlueprintList
Response returns the raw server response from the last page request.
func (PublishedBlueprintListIterator) Value ¶
func (iter PublishedBlueprintListIterator) Value() PublishedBlueprint
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PublishedBlueprintListPage ¶
type PublishedBlueprintListPage struct {
// contains filtered or unexported fields
}
PublishedBlueprintListPage contains a page of PublishedBlueprint values.
func NewPublishedBlueprintListPage ¶
func NewPublishedBlueprintListPage(getNextPage func(context.Context, PublishedBlueprintList) (PublishedBlueprintList, error)) PublishedBlueprintListPage
Creates a new instance of the PublishedBlueprintListPage type.
func (*PublishedBlueprintListPage) Next ¶
func (page *PublishedBlueprintListPage) 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 (*PublishedBlueprintListPage) NextWithContext ¶
func (page *PublishedBlueprintListPage) 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 (PublishedBlueprintListPage) NotDone ¶
func (page PublishedBlueprintListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PublishedBlueprintListPage) Response ¶
func (page PublishedBlueprintListPage) Response() PublishedBlueprintList
Response returns the raw server response from the last page request.
func (PublishedBlueprintListPage) Values ¶
func (page PublishedBlueprintListPage) Values() []PublishedBlueprint
Values returns the slice of values for the current page or nil if there are no values.
type PublishedBlueprintProperties ¶
type PublishedBlueprintProperties struct { // BlueprintName - Name of the published blueprint definition. BlueprintName *string `json:"blueprintName,omitempty"` // ChangeNotes - Version-specific change notes. ChangeNotes *string `json:"changeNotes,omitempty"` // Status - READ-ONLY; Status of the blueprint. This field is readonly. Status *Status `json:"status,omitempty"` // TargetScope - The scope where this blueprint definition can be assigned. Possible values include: 'Subscription', 'ManagementGroup' TargetScope TargetScope `json:"targetScope,omitempty"` // Parameters - Parameters required by this blueprint definition. Parameters map[string]*ParameterDefinition `json:"parameters"` // ResourceGroups - Resource group placeholders defined by this blueprint definition. ResourceGroups map[string]*ResourceGroupDefinition `json:"resourceGroups"` // DisplayName - One-liner string explain this resource. DisplayName *string `json:"displayName,omitempty"` // Description - Multi-line explain this resource. Description *string `json:"description,omitempty"` }
PublishedBlueprintProperties schema for published blueprint definition properties.
func (PublishedBlueprintProperties) MarshalJSON ¶
func (pbp PublishedBlueprintProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublishedBlueprintProperties.
type PublishedBlueprintsClient ¶
type PublishedBlueprintsClient struct {
BaseClient
}
PublishedBlueprintsClient is the blueprint Client
func NewPublishedBlueprintsClient ¶
func NewPublishedBlueprintsClient() PublishedBlueprintsClient
NewPublishedBlueprintsClient creates an instance of the PublishedBlueprintsClient client.
func NewPublishedBlueprintsClientWithBaseURI ¶
func NewPublishedBlueprintsClientWithBaseURI(baseURI string) PublishedBlueprintsClient
NewPublishedBlueprintsClientWithBaseURI creates an instance of the PublishedBlueprintsClient 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 (PublishedBlueprintsClient) Create ¶
func (client PublishedBlueprintsClient) Create(ctx context.Context, scope string, blueprintName string, versionID string, publishedBlueprint *PublishedBlueprint) (result PublishedBlueprint, err error)
Create publish a new version of the blueprint definition with the latest artifacts. Published blueprint definitions are immutable. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. versionID - version of the published blueprint definition. publishedBlueprint - published Blueprint to create or update.
func (PublishedBlueprintsClient) CreatePreparer ¶
func (client PublishedBlueprintsClient) CreatePreparer(ctx context.Context, scope string, blueprintName string, versionID string, publishedBlueprint *PublishedBlueprint) (*http.Request, error)
CreatePreparer prepares the Create request.
func (PublishedBlueprintsClient) CreateResponder ¶
func (client PublishedBlueprintsClient) CreateResponder(resp *http.Response) (result PublishedBlueprint, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (PublishedBlueprintsClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (PublishedBlueprintsClient) Delete ¶
func (client PublishedBlueprintsClient) Delete(ctx context.Context, scope string, blueprintName string, versionID string) (result PublishedBlueprint, err error)
Delete delete a published version of a blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. versionID - version of the published blueprint definition.
func (PublishedBlueprintsClient) DeletePreparer ¶
func (client PublishedBlueprintsClient) DeletePreparer(ctx context.Context, scope string, blueprintName string, versionID string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PublishedBlueprintsClient) DeleteResponder ¶
func (client PublishedBlueprintsClient) DeleteResponder(resp *http.Response) (result PublishedBlueprint, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PublishedBlueprintsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PublishedBlueprintsClient) Get ¶
func (client PublishedBlueprintsClient) Get(ctx context.Context, scope string, blueprintName string, versionID string) (result PublishedBlueprint, err error)
Get get a published version of a blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition. versionID - version of the published blueprint definition.
func (PublishedBlueprintsClient) GetPreparer ¶
func (client PublishedBlueprintsClient) GetPreparer(ctx context.Context, scope string, blueprintName string, versionID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PublishedBlueprintsClient) GetResponder ¶
func (client PublishedBlueprintsClient) GetResponder(resp *http.Response) (result PublishedBlueprint, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PublishedBlueprintsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PublishedBlueprintsClient) List ¶
func (client PublishedBlueprintsClient) List(ctx context.Context, scope string, blueprintName string) (result PublishedBlueprintListPage, err error)
List list published versions of given blueprint definition. Parameters: scope - the scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). For blueprint assignments management group scope is reserved for future use. blueprintName - name of the blueprint definition.
func (PublishedBlueprintsClient) ListComplete ¶
func (client PublishedBlueprintsClient) ListComplete(ctx context.Context, scope string, blueprintName string) (result PublishedBlueprintListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (PublishedBlueprintsClient) ListPreparer ¶
func (client PublishedBlueprintsClient) ListPreparer(ctx context.Context, scope string, blueprintName string) (*http.Request, error)
ListPreparer prepares the List request.
func (PublishedBlueprintsClient) ListResponder ¶
func (client PublishedBlueprintsClient) ListResponder(resp *http.Response) (result PublishedBlueprintList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PublishedBlueprintsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ResourceGroupDefinition ¶
type ResourceGroupDefinition struct { // Name - Name of this resourceGroup. Leave empty if the resource group name will be specified during the blueprint assignment. Name *string `json:"name,omitempty"` // Location - Location of this resourceGroup. Leave empty if the resource group location will be specified during the blueprint assignment. Location *string `json:"location,omitempty"` // ParameterDefinitionMetadata - User-friendly properties for this resource group. *ParameterDefinitionMetadata `json:"metadata,omitempty"` // DependsOn - Artifacts which need to be deployed before this resource group. DependsOn *[]string `json:"dependsOn,omitempty"` // Tags - Tags to be assigned to this resource group. Tags map[string]*string `json:"tags"` }
ResourceGroupDefinition represents an Azure resource group in a blueprint definition.
func (ResourceGroupDefinition) MarshalJSON ¶
func (rgd ResourceGroupDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceGroupDefinition.
func (*ResourceGroupDefinition) UnmarshalJSON ¶
func (rgd *ResourceGroupDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ResourceGroupDefinition struct.
type ResourceGroupValue ¶
type ResourceGroupValue struct { // Name - Name of the resource group. Name *string `json:"name,omitempty"` // Location - Location of the resource group. Location *string `json:"location,omitempty"` }
ResourceGroupValue represents an Azure resource group.
type ResourcePropertiesBase ¶
type ResourcePropertiesBase struct { // DisplayName - One-liner string explain this resource. DisplayName *string `json:"displayName,omitempty"` // Description - Multi-line explain this resource. Description *string `json:"description,omitempty"` }
ResourcePropertiesBase shared properties between all blueprint resources.
type ResourceProviderOperation ¶
type ResourceProviderOperation struct { // Name - Operation name, in format of {provider}/{resource}/{operation} Name *string `json:"name,omitempty"` // Display - Display metadata associated with the operation. Display *ResourceProviderOperationDisplay `json:"display,omitempty"` }
ResourceProviderOperation supported operations of this resource provider.
type ResourceProviderOperationDisplay ¶
type ResourceProviderOperationDisplay struct { // Provider - Resource provider: Microsoft Blueprint. Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed. Resource *string `json:"resource,omitempty"` // Operation - Type of operation: get, read, delete, etc. Operation *string `json:"operation,omitempty"` // Description - Description of this operation. Description *string `json:"description,omitempty"` }
ResourceProviderOperationDisplay display metadata associated with the operation.
type ResourceProviderOperationList ¶
type ResourceProviderOperationList struct { // Value - List of operations supported by this resource provider. Value *[]ResourceProviderOperation `json:"value,omitempty"` }
ResourceProviderOperationList results of the request to list operations.
type ResourceStatusBase ¶
type ResourceStatusBase struct { // TimeCreated - READ-ONLY; Creation time of this blueprint definition. TimeCreated *date.Time `json:"timeCreated,omitempty"` // LastModified - READ-ONLY; Last modified time of this blueprint definition. LastModified *date.Time `json:"lastModified,omitempty"` }
ResourceStatusBase shared status properties between all blueprint resources.
type RoleAssignmentArtifact ¶
type RoleAssignmentArtifact struct { // RoleAssignmentArtifactProperties - Properties for a Role assignment blueprint artifact. *RoleAssignmentArtifactProperties `json:"properties,omitempty"` // Kind - Possible values include: 'KindArtifact', 'KindTemplate', 'KindRoleAssignment', 'KindPolicyAssignment' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
RoleAssignmentArtifact blueprint artifact that applies a Role assignment.
func (RoleAssignmentArtifact) AsArtifact ¶
func (raa RoleAssignmentArtifact) AsArtifact() (*Artifact, bool)
AsArtifact is the BasicArtifact implementation for RoleAssignmentArtifact.
func (RoleAssignmentArtifact) AsBasicArtifact ¶
func (raa RoleAssignmentArtifact) AsBasicArtifact() (BasicArtifact, bool)
AsBasicArtifact is the BasicArtifact implementation for RoleAssignmentArtifact.
func (RoleAssignmentArtifact) AsPolicyAssignmentArtifact ¶
func (raa RoleAssignmentArtifact) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool)
AsPolicyAssignmentArtifact is the BasicArtifact implementation for RoleAssignmentArtifact.
func (RoleAssignmentArtifact) AsRoleAssignmentArtifact ¶
func (raa RoleAssignmentArtifact) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool)
AsRoleAssignmentArtifact is the BasicArtifact implementation for RoleAssignmentArtifact.
func (RoleAssignmentArtifact) AsTemplateArtifact ¶
func (raa RoleAssignmentArtifact) AsTemplateArtifact() (*TemplateArtifact, bool)
AsTemplateArtifact is the BasicArtifact implementation for RoleAssignmentArtifact.
func (RoleAssignmentArtifact) MarshalJSON ¶
func (raa RoleAssignmentArtifact) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RoleAssignmentArtifact.
func (*RoleAssignmentArtifact) UnmarshalJSON ¶
func (raa *RoleAssignmentArtifact) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RoleAssignmentArtifact struct.
type RoleAssignmentArtifactProperties ¶
type RoleAssignmentArtifactProperties struct { // DisplayName - One-liner string explain this resource. DisplayName *string `json:"displayName,omitempty"` // Description - Multi-line explain this resource. Description *string `json:"description,omitempty"` // DependsOn - Artifacts which need to be deployed before the specified artifact. DependsOn *[]string `json:"dependsOn,omitempty"` // RoleDefinitionID - Azure resource ID of the RoleDefinition. RoleDefinitionID *string `json:"roleDefinitionId,omitempty"` // PrincipalIds - Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity. PrincipalIds interface{} `json:"principalIds,omitempty"` // ResourceGroup - RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription. ResourceGroup *string `json:"resourceGroup,omitempty"` }
RoleAssignmentArtifactProperties properties of a Role assignment blueprint artifact.
type SecretValueReference ¶
type SecretValueReference struct { // KeyVault - Specifies the reference to a given Azure Key Vault. KeyVault *KeyVaultReference `json:"keyVault,omitempty"` // SecretName - Name of the secret. SecretName *string `json:"secretName,omitempty"` // SecretVersion - The version of the secret to use. If left blank, the latest version of the secret is used. SecretVersion *string `json:"secretVersion,omitempty"` }
SecretValueReference reference to a Key Vault secret.
type SharedBlueprintProperties ¶
type SharedBlueprintProperties struct { Status `json:"status,omitempty"` TargetScope TargetScope `json:"targetScope,omitempty"` Parameters map[string]*ParameterDefinition `json:"parameters"` ResourceGroups map[string]*ResourceGroupDefinition `json:"resourceGroups"` DisplayName *string `json:"displayName,omitempty"` Description *string `json:"description,omitempty"` }Status *
SharedBlueprintProperties shared Schema for both blueprintProperties and publishedBlueprintProperties.
func (SharedBlueprintProperties) MarshalJSON ¶
func (sbp SharedBlueprintProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SharedBlueprintProperties.
type Status ¶
type Status struct { // TimeCreated - READ-ONLY; Creation time of this blueprint definition. TimeCreated *date.Time `json:"timeCreated,omitempty"` // LastModified - READ-ONLY; Last modified time of this blueprint definition. LastModified *date.Time `json:"lastModified,omitempty"` }
Status the status of the blueprint. This field is readonly.
type TargetScope ¶
type TargetScope string
TargetScope enumerates the values for target scope.
const ( // ManagementGroup The blueprint targets a management group during blueprint assignment. This is reserved // for future use. ManagementGroup TargetScope = "managementGroup" // Subscription The blueprint targets a subscription during blueprint assignment. Subscription TargetScope = "subscription" )
func PossibleTargetScopeValues ¶
func PossibleTargetScopeValues() []TargetScope
PossibleTargetScopeValues returns an array of possible values for the TargetScope const type.
type TemplateArtifact ¶
type TemplateArtifact struct { // TemplateArtifactProperties - Properties for a Resource Manager template blueprint artifact. *TemplateArtifactProperties `json:"properties,omitempty"` // Kind - Possible values include: 'KindArtifact', 'KindTemplate', 'KindRoleAssignment', 'KindPolicyAssignment' Kind Kind `json:"kind,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
TemplateArtifact blueprint artifact that deploys a Resource Manager template.
func (TemplateArtifact) AsArtifact ¶
func (ta TemplateArtifact) AsArtifact() (*Artifact, bool)
AsArtifact is the BasicArtifact implementation for TemplateArtifact.
func (TemplateArtifact) AsBasicArtifact ¶
func (ta TemplateArtifact) AsBasicArtifact() (BasicArtifact, bool)
AsBasicArtifact is the BasicArtifact implementation for TemplateArtifact.
func (TemplateArtifact) AsPolicyAssignmentArtifact ¶
func (ta TemplateArtifact) AsPolicyAssignmentArtifact() (*PolicyAssignmentArtifact, bool)
AsPolicyAssignmentArtifact is the BasicArtifact implementation for TemplateArtifact.
func (TemplateArtifact) AsRoleAssignmentArtifact ¶
func (ta TemplateArtifact) AsRoleAssignmentArtifact() (*RoleAssignmentArtifact, bool)
AsRoleAssignmentArtifact is the BasicArtifact implementation for TemplateArtifact.
func (TemplateArtifact) AsTemplateArtifact ¶
func (ta TemplateArtifact) AsTemplateArtifact() (*TemplateArtifact, bool)
AsTemplateArtifact is the BasicArtifact implementation for TemplateArtifact.
func (TemplateArtifact) MarshalJSON ¶
func (ta TemplateArtifact) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TemplateArtifact.
func (*TemplateArtifact) UnmarshalJSON ¶
func (ta *TemplateArtifact) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TemplateArtifact struct.
type TemplateArtifactProperties ¶
type TemplateArtifactProperties struct { // DisplayName - One-liner string explain this resource. DisplayName *string `json:"displayName,omitempty"` // Description - Multi-line explain this resource. Description *string `json:"description,omitempty"` // DependsOn - Artifacts which need to be deployed before the specified artifact. DependsOn *[]string `json:"dependsOn,omitempty"` // Template - The Resource Manager template blueprint artifact body. Template interface{} `json:"template,omitempty"` // ResourceGroup - If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed. ResourceGroup *string `json:"resourceGroup,omitempty"` // Parameters - Resource Manager template blueprint artifact parameter values. Parameters map[string]*ParameterValue `json:"parameters"` }
TemplateArtifactProperties properties of a Resource Manager template blueprint artifact.
func (TemplateArtifactProperties) MarshalJSON ¶
func (tap TemplateArtifactProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TemplateArtifactProperties.
type TemplateParameterType ¶
type TemplateParameterType string
TemplateParameterType enumerates the values for template parameter type.
const ( // Array ... Array TemplateParameterType = "array" // Bool ... Bool TemplateParameterType = "bool" // Int ... Int TemplateParameterType = "int" // Object ... Object TemplateParameterType = "object" // SecureObject ... SecureObject TemplateParameterType = "secureObject" // SecureString ... SecureString TemplateParameterType = "secureString" // String ... String TemplateParameterType = "string" )
func PossibleTemplateParameterTypeValues ¶
func PossibleTemplateParameterTypeValues() []TemplateParameterType
PossibleTemplateParameterTypeValues returns an array of possible values for the TemplateParameterType const type.
type TrackedResource ¶
type TrackedResource struct { // Location - The location of this blueprint assignment. Location *string `json:"location,omitempty"` // ID - READ-ONLY; String Id used to locate any resource on Azure. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of this resource. Type *string `json:"type,omitempty"` // Name - READ-ONLY; Name of this resource. Name *string `json:"name,omitempty"` }
TrackedResource common properties for all Azure tracked resources.
type UserAssignedIdentity ¶
type UserAssignedIdentity struct { // PrincipalID - Azure Active Directory principal ID associated with this Identity. PrincipalID *string `json:"principalId,omitempty"` // ClientID - Client App Id associated with this identity. ClientID *string `json:"clientId,omitempty"` }
UserAssignedIdentity user-assigned managed identity.
type WhoIsBlueprintContract ¶
type WhoIsBlueprintContract struct { autorest.Response `json:"-"` // ObjectID - AAD object Id of the Azure Blueprints service principal in the tenant. ObjectID *string `json:"objectId,omitempty"` }
WhoIsBlueprintContract response schema for querying the Azure Blueprints service principal in the tenant.