Documentation ¶
Index ¶
- func PossibleValuesForDataReferenceCredentialType() []string
- func ValidateDataReferenceVersionID(input interface{}, key string) (warnings []string, errors []error)
- type AnonymousAccessCredential
- type DataReferenceClient
- type DataReferenceCredential
- type DataReferenceCredentialType
- type DataReferenceVersionId
- func NewDataReferenceVersionID(subscriptionId string, resourceGroupName string, registryName string, ...) DataReferenceVersionId
- func ParseDataReferenceVersionID(input string) (*DataReferenceVersionId, error)
- func ParseDataReferenceVersionIDInsensitively(input string) (*DataReferenceVersionId, error)
- type DockerCredential
- type GetBlobReferenceForConsumptionDto
- type GetBlobReferenceSASRequestDto
- type GetBlobReferenceSASResponseDto
- type ManagedIdentityCredential
- type RawDataReferenceCredentialImpl
- type RegistryDataReferencesGetBlobReferenceSASOperationResponse
- type SASCredential
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataReferenceCredentialType ¶
func PossibleValuesForDataReferenceCredentialType() []string
func ValidateDataReferenceVersionID ¶
func ValidateDataReferenceVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidateDataReferenceVersionID checks that 'input' can be parsed as a Data Reference Version ID
Types ¶
type AnonymousAccessCredential ¶
type AnonymousAccessCredential struct { }
func (AnonymousAccessCredential) MarshalJSON ¶
func (s AnonymousAccessCredential) MarshalJSON() ([]byte, error)
type DataReferenceClient ¶
type DataReferenceClient struct {
Client *resourcemanager.Client
}
func NewDataReferenceClientWithBaseURI ¶
func NewDataReferenceClientWithBaseURI(sdkApi sdkEnv.Api) (*DataReferenceClient, error)
func (DataReferenceClient) RegistryDataReferencesGetBlobReferenceSAS ¶
func (c DataReferenceClient) RegistryDataReferencesGetBlobReferenceSAS(ctx context.Context, id DataReferenceVersionId, input GetBlobReferenceSASRequestDto) (result RegistryDataReferencesGetBlobReferenceSASOperationResponse, err error)
RegistryDataReferencesGetBlobReferenceSAS ...
type DataReferenceCredential ¶
type DataReferenceCredential interface { }
type DataReferenceCredentialType ¶
type DataReferenceCredentialType string
const ( DataReferenceCredentialTypeDockerCredentials DataReferenceCredentialType = "DockerCredentials" DataReferenceCredentialTypeManagedIdentity DataReferenceCredentialType = "ManagedIdentity" DataReferenceCredentialTypeNoCredentials DataReferenceCredentialType = "NoCredentials" DataReferenceCredentialTypeSAS DataReferenceCredentialType = "SAS" )
func (*DataReferenceCredentialType) UnmarshalJSON ¶
func (s *DataReferenceCredentialType) UnmarshalJSON(bytes []byte) error
type DataReferenceVersionId ¶
type DataReferenceVersionId struct { SubscriptionId string ResourceGroupName string RegistryName string DataReferenceName string VersionName string }
DataReferenceVersionId is a struct representing the Resource ID for a Data Reference Version
func NewDataReferenceVersionID ¶
func NewDataReferenceVersionID(subscriptionId string, resourceGroupName string, registryName string, dataReferenceName string, versionName string) DataReferenceVersionId
NewDataReferenceVersionID returns a new DataReferenceVersionId struct
func ParseDataReferenceVersionID ¶
func ParseDataReferenceVersionID(input string) (*DataReferenceVersionId, error)
ParseDataReferenceVersionID parses 'input' into a DataReferenceVersionId
func ParseDataReferenceVersionIDInsensitively ¶
func ParseDataReferenceVersionIDInsensitively(input string) (*DataReferenceVersionId, error)
ParseDataReferenceVersionIDInsensitively parses 'input' case-insensitively into a DataReferenceVersionId note: this method should only be used for API response data and not user input
func (*DataReferenceVersionId) FromParseResult ¶
func (id *DataReferenceVersionId) FromParseResult(input resourceids.ParseResult) error
func (DataReferenceVersionId) ID ¶
func (id DataReferenceVersionId) ID() string
ID returns the formatted Data Reference Version ID
func (DataReferenceVersionId) Segments ¶
func (id DataReferenceVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Reference Version ID
func (DataReferenceVersionId) String ¶
func (id DataReferenceVersionId) String() string
String returns a human-readable description of this Data Reference Version ID
type DockerCredential ¶
type DockerCredential struct { Password *string `json:"password,omitempty"` UserName *string `json:"userName,omitempty"` }
func (DockerCredential) MarshalJSON ¶
func (s DockerCredential) MarshalJSON() ([]byte, error)
type GetBlobReferenceForConsumptionDto ¶
type GetBlobReferenceForConsumptionDto struct { BlobUri *string `json:"blobUri,omitempty"` Credential DataReferenceCredential `json:"credential"` StorageAccountArmId *string `json:"storageAccountArmId,omitempty"` }
func (*GetBlobReferenceForConsumptionDto) UnmarshalJSON ¶
func (s *GetBlobReferenceForConsumptionDto) UnmarshalJSON(bytes []byte) error
type GetBlobReferenceSASResponseDto ¶
type GetBlobReferenceSASResponseDto struct {
BlobReferenceForConsumption *GetBlobReferenceForConsumptionDto `json:"blobReferenceForConsumption,omitempty"`
}
type ManagedIdentityCredential ¶
type ManagedIdentityCredential struct { ManagedIdentityType *string `json:"managedIdentityType,omitempty"` UserManagedIdentityClientId *string `json:"userManagedIdentityClientId,omitempty"` UserManagedIdentityPrincipalId *string `json:"userManagedIdentityPrincipalId,omitempty"` UserManagedIdentityResourceId *string `json:"userManagedIdentityResourceId,omitempty"` UserManagedIdentityTenantId *string `json:"userManagedIdentityTenantId,omitempty"` }
func (ManagedIdentityCredential) MarshalJSON ¶
func (s ManagedIdentityCredential) MarshalJSON() ([]byte, error)
type RawDataReferenceCredentialImpl ¶
RawDataReferenceCredentialImpl 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 RegistryDataReferencesGetBlobReferenceSASOperationResponse ¶
type RegistryDataReferencesGetBlobReferenceSASOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GetBlobReferenceSASResponseDto }
type SASCredential ¶
type SASCredential struct {
SasUri *string `json:"sasUri,omitempty"`
}
func (SASCredential) MarshalJSON ¶
func (s SASCredential) MarshalJSON() ([]byte, error)
Source Files ¶
- client.go
- constants.go
- id_datareferenceversion.go
- method_registrydatareferencesgetblobreferencesas.go
- model_anonymousaccesscredential.go
- model_datareferencecredential.go
- model_dockercredential.go
- model_getblobreferenceforconsumptiondto.go
- model_getblobreferencesasrequestdto.go
- model_getblobreferencesasresponsedto.go
- model_managedidentitycredential.go
- model_sascredential.go
- version.go