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 CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyVaultReference
- type ListCompleteResult
- 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 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 ¶ added in v0.20231127.1171502
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type KeyVaultReference ¶
type KeyVaultReference struct {
Id string `json:"id"`
}
type ListCompleteResult ¶
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 RawArtifactImpl ¶ added in v0.20230807.1063129
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 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 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"` }
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