Documentation ¶
Index ¶
- func PossibleValuesForType() []string
- func ValidateCredentialID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- type AzureKeyVaultSecretReference
- type Credential
- type CredentialId
- type CredentialOperationsCreateOrUpdateOperationOptions
- type CredentialOperationsCreateOrUpdateOperationResponse
- type CredentialOperationsDeleteOperationResponse
- type CredentialOperationsGetOperationOptions
- type CredentialOperationsGetOperationResponse
- type CredentialOperationsListByFactoryCompleteResult
- type CredentialOperationsListByFactoryOperationResponse
- type CredentialResource
- type CredentialResourceOperationPredicate
- type CredentialsClient
- func (c CredentialsClient) CredentialOperationsCreateOrUpdate(ctx context.Context, id CredentialId, input CredentialResource, ...) (result CredentialOperationsCreateOrUpdateOperationResponse, err error)
- func (c CredentialsClient) CredentialOperationsDelete(ctx context.Context, id CredentialId) (result CredentialOperationsDeleteOperationResponse, err error)
- func (c CredentialsClient) CredentialOperationsGet(ctx context.Context, id CredentialId, ...) (result CredentialOperationsGetOperationResponse, err error)
- func (c CredentialsClient) CredentialOperationsListByFactory(ctx context.Context, id FactoryId) (result CredentialOperationsListByFactoryOperationResponse, err error)
- func (c CredentialsClient) CredentialOperationsListByFactoryComplete(ctx context.Context, id FactoryId) (CredentialOperationsListByFactoryCompleteResult, error)
- func (c CredentialsClient) CredentialOperationsListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, ...) (result CredentialOperationsListByFactoryCompleteResult, err error)
- type FactoryId
- type LinkedServiceReference
- type ManagedIdentityCredential
- type RawCredentialImpl
- type RawSecretBaseImpl
- type SecretBase
- type SecureString
- type ServicePrincipalCredential
- type ServicePrincipalCredentialTypeProperties
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForType ¶ added in v0.20240319.1093754
func PossibleValuesForType() []string
func ValidateCredentialID ¶
ValidateCredentialID checks that 'input' can be parsed as a Credential ID
func ValidateFactoryID ¶
ValidateFactoryID checks that 'input' can be parsed as a Factory ID
Types ¶
type AzureKeyVaultSecretReference ¶ added in v0.20240319.1093754
type AzureKeyVaultSecretReference struct { SecretName interface{} `json:"secretName"` SecretVersion *interface{} `json:"secretVersion,omitempty"` Store LinkedServiceReference `json:"store"` }
func (AzureKeyVaultSecretReference) MarshalJSON ¶ added in v0.20240319.1093754
func (s AzureKeyVaultSecretReference) MarshalJSON() ([]byte, error)
type Credential ¶
type Credential interface { }
type CredentialId ¶
type CredentialId struct { SubscriptionId string ResourceGroupName string FactoryName string CredentialName string }
CredentialId is a struct representing the Resource ID for a Credential
func NewCredentialID ¶
func NewCredentialID(subscriptionId string, resourceGroupName string, factoryName string, credentialName string) CredentialId
NewCredentialID returns a new CredentialId struct
func ParseCredentialID ¶
func ParseCredentialID(input string) (*CredentialId, error)
ParseCredentialID parses 'input' into a CredentialId
func ParseCredentialIDInsensitively ¶
func ParseCredentialIDInsensitively(input string) (*CredentialId, error)
ParseCredentialIDInsensitively parses 'input' case-insensitively into a CredentialId note: this method should only be used for API response data and not user input
func (*CredentialId) FromParseResult ¶
func (id *CredentialId) FromParseResult(input resourceids.ParseResult) error
func (CredentialId) Segments ¶
func (id CredentialId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Credential ID
func (CredentialId) String ¶
func (id CredentialId) String() string
String returns a human-readable description of this Credential ID
type CredentialOperationsCreateOrUpdateOperationOptions ¶
type CredentialOperationsCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCredentialOperationsCreateOrUpdateOperationOptions ¶
func DefaultCredentialOperationsCreateOrUpdateOperationOptions() CredentialOperationsCreateOrUpdateOperationOptions
func (CredentialOperationsCreateOrUpdateOperationOptions) ToHeaders ¶
func (o CredentialOperationsCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CredentialOperationsCreateOrUpdateOperationOptions) ToOData ¶
func (o CredentialOperationsCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CredentialOperationsCreateOrUpdateOperationOptions) ToQuery ¶
func (o CredentialOperationsCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CredentialOperationsCreateOrUpdateOperationResponse ¶
type CredentialOperationsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CredentialResource }
type CredentialOperationsGetOperationOptions ¶
type CredentialOperationsGetOperationOptions struct {
IfNoneMatch *string
}
func DefaultCredentialOperationsGetOperationOptions ¶
func DefaultCredentialOperationsGetOperationOptions() CredentialOperationsGetOperationOptions
func (CredentialOperationsGetOperationOptions) ToHeaders ¶
func (o CredentialOperationsGetOperationOptions) ToHeaders() *client.Headers
func (CredentialOperationsGetOperationOptions) ToOData ¶
func (o CredentialOperationsGetOperationOptions) ToOData() *odata.Query
func (CredentialOperationsGetOperationOptions) ToQuery ¶
func (o CredentialOperationsGetOperationOptions) ToQuery() *client.QueryParams
type CredentialOperationsGetOperationResponse ¶
type CredentialOperationsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CredentialResource }
type CredentialOperationsListByFactoryCompleteResult ¶
type CredentialOperationsListByFactoryCompleteResult struct { LatestHttpResponse *http.Response Items []CredentialResource }
type CredentialOperationsListByFactoryOperationResponse ¶
type CredentialOperationsListByFactoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CredentialResource }
type CredentialResource ¶ added in v0.20240319.1093754
type CredentialResource struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties Credential `json:"properties"` Type *string `json:"type,omitempty"` }
func (*CredentialResource) UnmarshalJSON ¶ added in v0.20240319.1093754
func (s *CredentialResource) UnmarshalJSON(bytes []byte) error
type CredentialResourceOperationPredicate ¶ added in v0.20240319.1093754
type CredentialResourceOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (CredentialResourceOperationPredicate) Matches ¶ added in v0.20240319.1093754
func (p CredentialResourceOperationPredicate) Matches(input CredentialResource) bool
type CredentialsClient ¶
type CredentialsClient struct {
Client *resourcemanager.Client
}
func NewCredentialsClientWithBaseURI ¶
func NewCredentialsClientWithBaseURI(sdkApi sdkEnv.Api) (*CredentialsClient, error)
func (CredentialsClient) CredentialOperationsCreateOrUpdate ¶
func (c CredentialsClient) CredentialOperationsCreateOrUpdate(ctx context.Context, id CredentialId, input CredentialResource, options CredentialOperationsCreateOrUpdateOperationOptions) (result CredentialOperationsCreateOrUpdateOperationResponse, err error)
CredentialOperationsCreateOrUpdate ...
func (CredentialsClient) CredentialOperationsDelete ¶
func (c CredentialsClient) CredentialOperationsDelete(ctx context.Context, id CredentialId) (result CredentialOperationsDeleteOperationResponse, err error)
CredentialOperationsDelete ...
func (CredentialsClient) CredentialOperationsGet ¶
func (c CredentialsClient) CredentialOperationsGet(ctx context.Context, id CredentialId, options CredentialOperationsGetOperationOptions) (result CredentialOperationsGetOperationResponse, err error)
CredentialOperationsGet ...
func (CredentialsClient) CredentialOperationsListByFactory ¶
func (c CredentialsClient) CredentialOperationsListByFactory(ctx context.Context, id FactoryId) (result CredentialOperationsListByFactoryOperationResponse, err error)
CredentialOperationsListByFactory ...
func (CredentialsClient) CredentialOperationsListByFactoryComplete ¶
func (c CredentialsClient) CredentialOperationsListByFactoryComplete(ctx context.Context, id FactoryId) (CredentialOperationsListByFactoryCompleteResult, error)
CredentialOperationsListByFactoryComplete retrieves all the results into a single object
func (CredentialsClient) CredentialOperationsListByFactoryCompleteMatchingPredicate ¶
func (c CredentialsClient) CredentialOperationsListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, predicate CredentialResourceOperationPredicate) (result CredentialOperationsListByFactoryCompleteResult, err error)
CredentialOperationsListByFactoryCompleteMatchingPredicate retrieves all the results and then applies the predicate
type FactoryId ¶
FactoryId is a struct representing the Resource ID for a Factory
func NewFactoryID ¶
NewFactoryID returns a new FactoryId struct
func ParseFactoryID ¶
ParseFactoryID parses 'input' into a FactoryId
func ParseFactoryIDInsensitively ¶
ParseFactoryIDInsensitively parses 'input' case-insensitively into a FactoryId note: this method should only be used for API response data and not user input
func (*FactoryId) FromParseResult ¶
func (id *FactoryId) FromParseResult(input resourceids.ParseResult) error
func (FactoryId) Segments ¶
func (id FactoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Factory ID
type LinkedServiceReference ¶ added in v0.20240319.1093754
type ManagedIdentityCredential ¶
type ManagedIdentityCredential struct { // Fields inherited from Credential Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` }
func (ManagedIdentityCredential) MarshalJSON ¶
func (s ManagedIdentityCredential) MarshalJSON() ([]byte, error)
type RawCredentialImpl ¶
RawCredentialImpl 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 RawSecretBaseImpl ¶ added in v0.20240319.1093754
RawSecretBaseImpl 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 SecretBase ¶ added in v0.20240319.1093754
type SecretBase interface { }
type SecureString ¶ added in v0.20240319.1093754
type SecureString struct {
Value string `json:"value"`
}
func (SecureString) MarshalJSON ¶ added in v0.20240319.1093754
func (s SecureString) MarshalJSON() ([]byte, error)
type ServicePrincipalCredential ¶ added in v0.20240319.1093754
type ServicePrincipalCredential struct { TypeProperties ServicePrincipalCredentialTypeProperties `json:"typeProperties"` // Fields inherited from Credential Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` }
func (ServicePrincipalCredential) MarshalJSON ¶ added in v0.20240319.1093754
func (s ServicePrincipalCredential) MarshalJSON() ([]byte, error)
type ServicePrincipalCredentialTypeProperties ¶ added in v0.20240319.1093754
type ServicePrincipalCredentialTypeProperties struct { ServicePrincipalId *interface{} `json:"servicePrincipalId,omitempty"` ServicePrincipalKey *AzureKeyVaultSecretReference `json:"servicePrincipalKey,omitempty"` Tenant *interface{} `json:"tenant,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_credential.go
- id_factory.go
- method_credentialoperationscreateorupdate.go
- method_credentialoperationsdelete.go
- method_credentialoperationsget.go
- method_credentialoperationslistbyfactory.go
- model_azurekeyvaultsecretreference.go
- model_credential.go
- model_credentialresource.go
- model_linkedservicereference.go
- model_managedidentitycredential.go
- model_secretbase.go
- model_securestring.go
- model_serviceprincipalcredential.go
- model_serviceprincipalcredentialtypeproperties.go
- predicates.go
- version.go