Documentation ¶
Index ¶
- func ValidateCredentialID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- type Credential
- type CredentialId
- type CredentialOperationsCreateOrUpdateOperationOptions
- type CredentialOperationsCreateOrUpdateOperationResponse
- type CredentialOperationsDeleteOperationResponse
- type CredentialOperationsGetOperationOptions
- type CredentialOperationsGetOperationResponse
- type CredentialOperationsListByFactoryCompleteResult
- type CredentialOperationsListByFactoryOperationResponse
- type CredentialsClient
- func (c CredentialsClient) CredentialOperationsCreateOrUpdate(ctx context.Context, id CredentialId, input ManagedIdentityCredentialResource, ...) (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 ManagedIdentityCredential
- type ManagedIdentityCredentialResource
- type ManagedIdentityCredentialResourceOperationPredicate
- type ManagedIdentityTypeProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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) 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 ¶ added in v0.20230516.1215417
func (o CredentialOperationsCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CredentialOperationsCreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o CredentialOperationsCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CredentialOperationsCreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o CredentialOperationsCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CredentialOperationsCreateOrUpdateOperationResponse ¶
type CredentialOperationsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedIdentityCredentialResource }
type CredentialOperationsGetOperationOptions ¶
type CredentialOperationsGetOperationOptions struct {
IfNoneMatch *string
}
func DefaultCredentialOperationsGetOperationOptions ¶
func DefaultCredentialOperationsGetOperationOptions() CredentialOperationsGetOperationOptions
func (CredentialOperationsGetOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o CredentialOperationsGetOperationOptions) ToHeaders() *client.Headers
func (CredentialOperationsGetOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o CredentialOperationsGetOperationOptions) ToOData() *odata.Query
func (CredentialOperationsGetOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o CredentialOperationsGetOperationOptions) ToQuery() *client.QueryParams
type CredentialOperationsGetOperationResponse ¶
type CredentialOperationsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedIdentityCredentialResource }
type CredentialOperationsListByFactoryCompleteResult ¶
type CredentialOperationsListByFactoryCompleteResult struct {
Items []ManagedIdentityCredentialResource
}
type CredentialOperationsListByFactoryOperationResponse ¶
type CredentialOperationsListByFactoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedIdentityCredentialResource }
type CredentialsClient ¶
type CredentialsClient struct {
Client *resourcemanager.Client
}
func NewCredentialsClientWithBaseURI ¶
func NewCredentialsClientWithBaseURI(api environments.Api) (*CredentialsClient, error)
func (CredentialsClient) CredentialOperationsCreateOrUpdate ¶
func (c CredentialsClient) CredentialOperationsCreateOrUpdate(ctx context.Context, id CredentialId, input ManagedIdentityCredentialResource, 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 ManagedIdentityCredentialResourceOperationPredicate) (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) Segments ¶
func (id FactoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Factory ID
type ManagedIdentityCredential ¶
type ManagedIdentityCredential struct { TypeProperties *ManagedIdentityTypeProperties `json:"typeProperties,omitempty"` // Fields inherited from Credential Annotations *[]interface{} `json:"annotations,omitempty"` Description *string `json:"description,omitempty"` }
func (ManagedIdentityCredential) MarshalJSON ¶
func (s ManagedIdentityCredential) MarshalJSON() ([]byte, error)
type ManagedIdentityCredentialResource ¶
type ManagedIdentityCredentialResource 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 (*ManagedIdentityCredentialResource) UnmarshalJSON ¶
func (s *ManagedIdentityCredentialResource) UnmarshalJSON(bytes []byte) error
type ManagedIdentityCredentialResourceOperationPredicate ¶
type ManagedIdentityCredentialResourceOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (ManagedIdentityCredentialResourceOperationPredicate) Matches ¶
func (p ManagedIdentityCredentialResourceOperationPredicate) Matches(input ManagedIdentityCredentialResource) bool
type ManagedIdentityTypeProperties ¶
type ManagedIdentityTypeProperties struct {
ResourceId *string `json:"resourceId,omitempty"`
}
Source Files ¶
- client.go
- id_credential.go
- id_factory.go
- method_credentialoperationscreateorupdate.go
- method_credentialoperationsdelete.go
- method_credentialoperationsget.go
- method_credentialoperationslistbyfactory.go
- model_credential.go
- model_managedidentitycredential.go
- model_managedidentitycredentialresource.go
- model_managedidentitytypeproperties.go
- predicates.go
- version.go