Documentation ¶
Index ¶
- func PossibleValuesForBlueprintTargetScope() []string
- func PossibleValuesForTemplateParameterType() []string
- func ValidateScopedBlueprintID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopedVersionID(input interface{}, key string) (warnings []string, errors []error)
- type BlueprintResourceStatusBase
- func (o *BlueprintResourceStatusBase) GetLastModifiedAsTime() (*time.Time, error)
- func (o *BlueprintResourceStatusBase) GetTimeCreatedAsTime() (*time.Time, error)
- func (o *BlueprintResourceStatusBase) SetLastModifiedAsTime(input time.Time)
- func (o *BlueprintResourceStatusBase) SetTimeCreatedAsTime(input time.Time)
- type BlueprintTargetScope
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ParameterDefinition
- type ParameterDefinitionMetadata
- type PublishedBlueprint
- type PublishedBlueprintClient
- func (c PublishedBlueprintClient) Create(ctx context.Context, id ScopedVersionId, input PublishedBlueprint) (result CreateOperationResponse, err error)
- func (c PublishedBlueprintClient) Delete(ctx context.Context, id ScopedVersionId) (result DeleteOperationResponse, err error)
- func (c PublishedBlueprintClient) Get(ctx context.Context, id ScopedVersionId) (result GetOperationResponse, err error)
- func (c PublishedBlueprintClient) List(ctx context.Context, id ScopedBlueprintId) (result ListOperationResponse, err error)
- func (c PublishedBlueprintClient) ListComplete(ctx context.Context, id ScopedBlueprintId) (ListCompleteResult, error)
- func (c PublishedBlueprintClient) ListCompleteMatchingPredicate(ctx context.Context, id ScopedBlueprintId, ...) (result ListCompleteResult, err error)
- type PublishedBlueprintOperationPredicate
- type PublishedBlueprintProperties
- type ResourceGroupDefinition
- type ScopedBlueprintId
- type ScopedVersionId
- type TemplateParameterType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBlueprintTargetScope ¶
func PossibleValuesForBlueprintTargetScope() []string
func PossibleValuesForTemplateParameterType ¶
func PossibleValuesForTemplateParameterType() []string
func ValidateScopedBlueprintID ¶
ValidateScopedBlueprintID checks that 'input' can be parsed as a Scoped Blueprint ID
func ValidateScopedVersionID ¶
ValidateScopedVersionID checks that 'input' can be parsed as a Scoped Version ID
Types ¶
type BlueprintResourceStatusBase ¶
type BlueprintResourceStatusBase struct { LastModified *string `json:"lastModified,omitempty"` TimeCreated *string `json:"timeCreated,omitempty"` }
func (*BlueprintResourceStatusBase) GetLastModifiedAsTime ¶
func (o *BlueprintResourceStatusBase) GetLastModifiedAsTime() (*time.Time, error)
func (*BlueprintResourceStatusBase) GetTimeCreatedAsTime ¶
func (o *BlueprintResourceStatusBase) GetTimeCreatedAsTime() (*time.Time, error)
func (*BlueprintResourceStatusBase) SetLastModifiedAsTime ¶
func (o *BlueprintResourceStatusBase) SetLastModifiedAsTime(input time.Time)
func (*BlueprintResourceStatusBase) SetTimeCreatedAsTime ¶
func (o *BlueprintResourceStatusBase) SetTimeCreatedAsTime(input time.Time)
type BlueprintTargetScope ¶
type BlueprintTargetScope string
const ( BlueprintTargetScopeManagementGroup BlueprintTargetScope = "managementGroup" BlueprintTargetScopeSubscription BlueprintTargetScope = "subscription" )
func (*BlueprintTargetScope) UnmarshalJSON ¶
func (s *BlueprintTargetScope) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PublishedBlueprint }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PublishedBlueprint }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PublishedBlueprint }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []PublishedBlueprint
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PublishedBlueprint }
type ParameterDefinition ¶
type ParameterDefinition struct { AllowedValues *[]interface{} `json:"allowedValues,omitempty"` DefaultValue *interface{} `json:"defaultValue,omitempty"` Metadata *ParameterDefinitionMetadata `json:"metadata,omitempty"` Type TemplateParameterType `json:"type"` }
type PublishedBlueprint ¶
type PublishedBlueprint struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties PublishedBlueprintProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type PublishedBlueprintClient ¶
type PublishedBlueprintClient struct {
Client *resourcemanager.Client
}
func NewPublishedBlueprintClientWithBaseURI ¶
func NewPublishedBlueprintClientWithBaseURI(sdkApi sdkEnv.Api) (*PublishedBlueprintClient, error)
func (PublishedBlueprintClient) Create ¶
func (c PublishedBlueprintClient) Create(ctx context.Context, id ScopedVersionId, input PublishedBlueprint) (result CreateOperationResponse, err error)
Create ...
func (PublishedBlueprintClient) Delete ¶
func (c PublishedBlueprintClient) Delete(ctx context.Context, id ScopedVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (PublishedBlueprintClient) Get ¶
func (c PublishedBlueprintClient) Get(ctx context.Context, id ScopedVersionId) (result GetOperationResponse, err error)
Get ...
func (PublishedBlueprintClient) List ¶
func (c PublishedBlueprintClient) List(ctx context.Context, id ScopedBlueprintId) (result ListOperationResponse, err error)
List ...
func (PublishedBlueprintClient) ListComplete ¶
func (c PublishedBlueprintClient) ListComplete(ctx context.Context, id ScopedBlueprintId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PublishedBlueprintClient) ListCompleteMatchingPredicate ¶
func (c PublishedBlueprintClient) ListCompleteMatchingPredicate(ctx context.Context, id ScopedBlueprintId, predicate PublishedBlueprintOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PublishedBlueprintOperationPredicate ¶
func (PublishedBlueprintOperationPredicate) Matches ¶
func (p PublishedBlueprintOperationPredicate) Matches(input PublishedBlueprint) bool
type PublishedBlueprintProperties ¶
type PublishedBlueprintProperties struct { BlueprintName *string `json:"blueprintName,omitempty"` ChangeNotes *string `json:"changeNotes,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Parameters *map[string]ParameterDefinition `json:"parameters,omitempty"` ResourceGroups *map[string]ResourceGroupDefinition `json:"resourceGroups,omitempty"` Status *BlueprintResourceStatusBase `json:"status,omitempty"` TargetScope *BlueprintTargetScope `json:"targetScope,omitempty"` }
type ResourceGroupDefinition ¶
type ScopedBlueprintId ¶
ScopedBlueprintId is a struct representing the Resource ID for a Scoped Blueprint
func NewScopedBlueprintID ¶
func NewScopedBlueprintID(resourceScope string, blueprintName string) ScopedBlueprintId
NewScopedBlueprintID returns a new ScopedBlueprintId struct
func ParseScopedBlueprintID ¶
func ParseScopedBlueprintID(input string) (*ScopedBlueprintId, error)
ParseScopedBlueprintID parses 'input' into a ScopedBlueprintId
func ParseScopedBlueprintIDInsensitively ¶
func ParseScopedBlueprintIDInsensitively(input string) (*ScopedBlueprintId, error)
ParseScopedBlueprintIDInsensitively parses 'input' case-insensitively into a ScopedBlueprintId note: this method should only be used for API response data and not user input
func (*ScopedBlueprintId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ScopedBlueprintId) FromParseResult(input resourceids.ParseResult) error
func (ScopedBlueprintId) ID ¶
func (id ScopedBlueprintId) ID() string
ID returns the formatted Scoped Blueprint ID
func (ScopedBlueprintId) Segments ¶
func (id ScopedBlueprintId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Blueprint ID
func (ScopedBlueprintId) String ¶
func (id ScopedBlueprintId) String() string
String returns a human-readable description of this Scoped Blueprint ID
type ScopedVersionId ¶
ScopedVersionId is a struct representing the Resource ID for a Scoped Version
func NewScopedVersionID ¶
func NewScopedVersionID(resourceScope string, blueprintName string, versionId string) ScopedVersionId
NewScopedVersionID returns a new ScopedVersionId struct
func ParseScopedVersionID ¶
func ParseScopedVersionID(input string) (*ScopedVersionId, error)
ParseScopedVersionID parses 'input' into a ScopedVersionId
func ParseScopedVersionIDInsensitively ¶
func ParseScopedVersionIDInsensitively(input string) (*ScopedVersionId, error)
ParseScopedVersionIDInsensitively parses 'input' case-insensitively into a ScopedVersionId note: this method should only be used for API response data and not user input
func (*ScopedVersionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ScopedVersionId) FromParseResult(input resourceids.ParseResult) error
func (ScopedVersionId) ID ¶
func (id ScopedVersionId) ID() string
ID returns the formatted Scoped Version ID
func (ScopedVersionId) Segments ¶
func (id ScopedVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Version ID
func (ScopedVersionId) String ¶
func (id ScopedVersionId) String() string
String returns a human-readable description of this Scoped Version ID
type TemplateParameterType ¶
type TemplateParameterType string
const ( TemplateParameterTypeArray TemplateParameterType = "array" TemplateParameterTypeBool TemplateParameterType = "bool" TemplateParameterTypeInt TemplateParameterType = "int" TemplateParameterTypeObject TemplateParameterType = "object" TemplateParameterTypeSecureObject TemplateParameterType = "secureObject" TemplateParameterTypeSecureString TemplateParameterType = "secureString" TemplateParameterTypeString TemplateParameterType = "string" )
func (*TemplateParameterType) UnmarshalJSON ¶
func (s *TemplateParameterType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_scopedblueprint.go
- id_scopedversion.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- model_blueprintresourcestatusbase.go
- model_parameterdefinition.go
- model_parameterdefinitionmetadata.go
- model_publishedblueprint.go
- model_publishedblueprintproperties.go
- model_resourcegroupdefinition.go
- predicates.go
- version.go