Documentation ¶
Index ¶
- func PossibleValuesForArtifactKind() []string
- func ValidateScopedVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionArtifactScopedID(input interface{}, key string) (warnings []string, errors []error)
- type Artifact
- type ArtifactKind
- type ArtifactOperationPredicate
- type GetOperationResponse
- type KeyVaultReference
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ParameterValue
- type PolicyAssignmentArtifact
- type PolicyAssignmentArtifactProperties
- type PublishedArtifactClient
- func (c PublishedArtifactClient) Get(ctx context.Context, id VersionArtifactScopedId) (result GetOperationResponse, err error)
- func (c PublishedArtifactClient) List(ctx context.Context, id ScopedVersionId) (result ListOperationResponse, err error)
- func (c PublishedArtifactClient) ListComplete(ctx context.Context, id ScopedVersionId) (ListCompleteResult, error)
- func (c PublishedArtifactClient) ListCompleteMatchingPredicate(ctx context.Context, id ScopedVersionId, predicate ArtifactOperationPredicate) (result ListCompleteResult, err error)
- type RawArtifactImpl
- type RoleAssignmentArtifact
- type RoleAssignmentArtifactProperties
- type ScopedVersionId
- type SecretValueReference
- type TemplateArtifact
- type TemplateArtifactProperties
- type VersionArtifactScopedId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForArtifactKind ¶
func PossibleValuesForArtifactKind() []string
func ValidateScopedVersionID ¶
ValidateScopedVersionID checks that 'input' can be parsed as a Scoped Version ID
func ValidateVersionArtifactScopedID ¶
func ValidateVersionArtifactScopedID(input interface{}, key string) (warnings []string, errors []error)
ValidateVersionArtifactScopedID checks that 'input' can be parsed as a Version Artifact Scoped ID
Types ¶
type ArtifactKind ¶
type ArtifactKind string
const ( ArtifactKindPolicyAssignment ArtifactKind = "policyAssignment" ArtifactKindRoleAssignment ArtifactKind = "roleAssignment" ArtifactKindTemplate ArtifactKind = "template" )
func (*ArtifactKind) UnmarshalJSON ¶
func (s *ArtifactKind) UnmarshalJSON(bytes []byte) error
type ArtifactOperationPredicate ¶
type ArtifactOperationPredicate struct { }
func (ArtifactOperationPredicate) Matches ¶
func (p ArtifactOperationPredicate) Matches(input Artifact) bool
type GetOperationResponse ¶
type KeyVaultReference ¶
type KeyVaultReference struct {
Id string `json:"id"`
}
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ParameterValue ¶
type ParameterValue struct { Reference *SecretValueReference `json:"reference,omitempty"` Value *interface{} `json:"value,omitempty"` }
type PolicyAssignmentArtifact ¶
type PolicyAssignmentArtifact struct { Properties PolicyAssignmentArtifactProperties `json:"properties"` // Fields inherited from Artifact Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (PolicyAssignmentArtifact) MarshalJSON ¶
func (s PolicyAssignmentArtifact) MarshalJSON() ([]byte, error)
type PolicyAssignmentArtifactProperties ¶
type PolicyAssignmentArtifactProperties struct { DependsOn *[]string `json:"dependsOn,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Parameters map[string]ParameterValue `json:"parameters"` PolicyDefinitionId string `json:"policyDefinitionId"` ResourceGroup *string `json:"resourceGroup,omitempty"` }
type PublishedArtifactClient ¶
type PublishedArtifactClient struct {
Client *resourcemanager.Client
}
func NewPublishedArtifactClientWithBaseURI ¶
func NewPublishedArtifactClientWithBaseURI(sdkApi sdkEnv.Api) (*PublishedArtifactClient, error)
func (PublishedArtifactClient) Get ¶
func (c PublishedArtifactClient) Get(ctx context.Context, id VersionArtifactScopedId) (result GetOperationResponse, err error)
Get ...
func (PublishedArtifactClient) List ¶
func (c PublishedArtifactClient) List(ctx context.Context, id ScopedVersionId) (result ListOperationResponse, err error)
List ...
func (PublishedArtifactClient) ListComplete ¶
func (c PublishedArtifactClient) ListComplete(ctx context.Context, id ScopedVersionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PublishedArtifactClient) ListCompleteMatchingPredicate ¶
func (c PublishedArtifactClient) ListCompleteMatchingPredicate(ctx context.Context, id ScopedVersionId, predicate ArtifactOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type RawArtifactImpl ¶
RawArtifactImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RoleAssignmentArtifact ¶
type RoleAssignmentArtifact struct { Properties RoleAssignmentArtifactProperties `json:"properties"` // Fields inherited from Artifact Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (RoleAssignmentArtifact) MarshalJSON ¶
func (s RoleAssignmentArtifact) MarshalJSON() ([]byte, error)
type RoleAssignmentArtifactProperties ¶
type RoleAssignmentArtifactProperties struct { DependsOn *[]string `json:"dependsOn,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` PrincipalIds interface{} `json:"principalIds"` ResourceGroup *string `json:"resourceGroup,omitempty"` RoleDefinitionId string `json:"roleDefinitionId"` }
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 ¶
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 SecretValueReference ¶
type SecretValueReference struct { KeyVault KeyVaultReference `json:"keyVault"` SecretName string `json:"secretName"` SecretVersion *string `json:"secretVersion,omitempty"` }
type TemplateArtifact ¶
type TemplateArtifact struct { Properties TemplateArtifactProperties `json:"properties"` // Fields inherited from Artifact Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (TemplateArtifact) MarshalJSON ¶
func (s TemplateArtifact) MarshalJSON() ([]byte, error)
type TemplateArtifactProperties ¶
type TemplateArtifactProperties struct { DependsOn *[]string `json:"dependsOn,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Parameters map[string]ParameterValue `json:"parameters"` ResourceGroup *string `json:"resourceGroup,omitempty"` Template interface{} `json:"template"` }
type VersionArtifactScopedId ¶
type VersionArtifactScopedId struct { ResourceScope string BlueprintName string VersionId string ArtifactName string }
VersionArtifactScopedId is a struct representing the Resource ID for a Version Artifact Scoped
func NewVersionArtifactScopedID ¶
func NewVersionArtifactScopedID(resourceScope string, blueprintName string, versionId string, artifactName string) VersionArtifactScopedId
NewVersionArtifactScopedID returns a new VersionArtifactScopedId struct
func ParseVersionArtifactScopedID ¶
func ParseVersionArtifactScopedID(input string) (*VersionArtifactScopedId, error)
ParseVersionArtifactScopedID parses 'input' into a VersionArtifactScopedId
func ParseVersionArtifactScopedIDInsensitively ¶
func ParseVersionArtifactScopedIDInsensitively(input string) (*VersionArtifactScopedId, error)
ParseVersionArtifactScopedIDInsensitively parses 'input' case-insensitively into a VersionArtifactScopedId note: this method should only be used for API response data and not user input
func (*VersionArtifactScopedId) FromParseResult ¶
func (id *VersionArtifactScopedId) FromParseResult(input resourceids.ParseResult) error
func (VersionArtifactScopedId) ID ¶
func (id VersionArtifactScopedId) ID() string
ID returns the formatted Version Artifact Scoped ID
func (VersionArtifactScopedId) Segments ¶
func (id VersionArtifactScopedId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version Artifact Scoped ID
func (VersionArtifactScopedId) String ¶
func (id VersionArtifactScopedId) String() string
String returns a human-readable description of this Version Artifact Scoped ID
Source Files ¶
- client.go
- constants.go
- id_scopedversion.go
- id_versionartifactscoped.go
- method_get.go
- method_list.go
- model_artifact.go
- model_keyvaultreference.go
- model_parametervalue.go
- model_policyassignmentartifact.go
- model_policyassignmentartifactproperties.go
- model_roleassignmentartifact.go
- model_roleassignmentartifactproperties.go
- model_secretvaluereference.go
- model_templateartifact.go
- model_templateartifactproperties.go
- predicates.go
- version.go