Documentation ¶
Index ¶
- func PossibleValuesForArtifactKind() []string
- func ValidateArtifactScopedID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopedBlueprintID(input interface{}, key string) (warnings []string, errors []error)
- type Artifact
- type ArtifactClient
- func (c ArtifactClient) CreateOrUpdate(ctx context.Context, id ArtifactScopedId, input Artifact) (result CreateOrUpdateOperationResponse, err error)
- func (c ArtifactClient) Delete(ctx context.Context, id ArtifactScopedId) (result DeleteOperationResponse, err error)
- func (c ArtifactClient) Get(ctx context.Context, id ArtifactScopedId) (result GetOperationResponse, err error)
- func (c ArtifactClient) List(ctx context.Context, id ScopedBlueprintId) (result ListOperationResponse, err error)
- func (c ArtifactClient) ListComplete(ctx context.Context, id ScopedBlueprintId) (ListCompleteResult, error)
- func (c ArtifactClient) ListCompleteMatchingPredicate(ctx context.Context, id ScopedBlueprintId, ...) (result ListCompleteResult, err error)
- type ArtifactKind
- type ArtifactOperationPredicate
- type ArtifactScopedId
- type BaseArtifactImpl
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyVaultReference
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ParameterValue
- type PolicyAssignmentArtifact
- type PolicyAssignmentArtifactProperties
- type RawArtifactImpl
- type RoleAssignmentArtifact
- type RoleAssignmentArtifactProperties
- type ScopedBlueprintId
- type SecretValueReference
- type TemplateArtifact
- type TemplateArtifactProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForArtifactKind ¶
func PossibleValuesForArtifactKind() []string
func ValidateArtifactScopedID ¶
ValidateArtifactScopedID checks that 'input' can be parsed as a Artifact Scoped ID
func ValidateScopedBlueprintID ¶
ValidateScopedBlueprintID checks that 'input' can be parsed as a Scoped Blueprint ID
Types ¶
type Artifact ¶
type Artifact interface {
Artifact() BaseArtifactImpl
}
func UnmarshalArtifactImplementation ¶ added in v0.20240920.1135249
type ArtifactClient ¶
type ArtifactClient struct {
Client *resourcemanager.Client
}
func NewArtifactClientWithBaseURI ¶
func NewArtifactClientWithBaseURI(sdkApi sdkEnv.Api) (*ArtifactClient, error)
func (ArtifactClient) CreateOrUpdate ¶
func (c ArtifactClient) CreateOrUpdate(ctx context.Context, id ArtifactScopedId, input Artifact) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ArtifactClient) Delete ¶
func (c ArtifactClient) Delete(ctx context.Context, id ArtifactScopedId) (result DeleteOperationResponse, err error)
Delete ...
func (ArtifactClient) Get ¶
func (c ArtifactClient) Get(ctx context.Context, id ArtifactScopedId) (result GetOperationResponse, err error)
Get ...
func (ArtifactClient) List ¶
func (c ArtifactClient) List(ctx context.Context, id ScopedBlueprintId) (result ListOperationResponse, err error)
List ...
func (ArtifactClient) ListComplete ¶
func (c ArtifactClient) ListComplete(ctx context.Context, id ScopedBlueprintId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ArtifactClient) ListCompleteMatchingPredicate ¶
func (c ArtifactClient) ListCompleteMatchingPredicate(ctx context.Context, id ScopedBlueprintId, predicate ArtifactOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 ArtifactScopedId ¶
ArtifactScopedId is a struct representing the Resource ID for a Artifact Scoped
func NewArtifactScopedID ¶
func NewArtifactScopedID(resourceScope string, blueprintName string, artifactName string) ArtifactScopedId
NewArtifactScopedID returns a new ArtifactScopedId struct
func ParseArtifactScopedID ¶
func ParseArtifactScopedID(input string) (*ArtifactScopedId, error)
ParseArtifactScopedID parses 'input' into a ArtifactScopedId
func ParseArtifactScopedIDInsensitively ¶
func ParseArtifactScopedIDInsensitively(input string) (*ArtifactScopedId, error)
ParseArtifactScopedIDInsensitively parses 'input' case-insensitively into a ArtifactScopedId note: this method should only be used for API response data and not user input
func (*ArtifactScopedId) FromParseResult ¶
func (id *ArtifactScopedId) FromParseResult(input resourceids.ParseResult) error
func (ArtifactScopedId) ID ¶
func (id ArtifactScopedId) ID() string
ID returns the formatted Artifact Scoped ID
func (ArtifactScopedId) Segments ¶
func (id ArtifactScopedId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Artifact Scoped ID
func (ArtifactScopedId) String ¶
func (id ArtifactScopedId) String() string
String returns a human-readable description of this Artifact Scoped ID
type BaseArtifactImpl ¶ added in v0.20240920.1135249
type BaseArtifactImpl struct { Id *string `json:"id,omitempty"` Kind ArtifactKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (BaseArtifactImpl) Artifact ¶ added in v0.20240920.1135249
func (s BaseArtifactImpl) Artifact() BaseArtifactImpl
type DeleteOperationResponse ¶
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"` Id *string `json:"id,omitempty"` Kind ArtifactKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (PolicyAssignmentArtifact) Artifact ¶ added in v0.20240920.1135249
func (s PolicyAssignmentArtifact) Artifact() BaseArtifactImpl
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 RawArtifactImpl ¶
type RawArtifactImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawArtifactImpl) Artifact ¶ added in v0.20240920.1135249
func (s RawArtifactImpl) Artifact() BaseArtifactImpl
type RoleAssignmentArtifact ¶
type RoleAssignmentArtifact struct { Properties RoleAssignmentArtifactProperties `json:"properties"` Id *string `json:"id,omitempty"` Kind ArtifactKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (RoleAssignmentArtifact) Artifact ¶ added in v0.20240920.1135249
func (s RoleAssignmentArtifact) Artifact() BaseArtifactImpl
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 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 ¶
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 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"` Id *string `json:"id,omitempty"` Kind ArtifactKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (TemplateArtifact) Artifact ¶ added in v0.20240920.1135249
func (s TemplateArtifact) Artifact() BaseArtifactImpl
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"` }
Source Files ¶
- client.go
- constants.go
- id_artifactscoped.go
- id_scopedblueprint.go
- method_createorupdate.go
- method_delete.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