Documentation ¶
Index ¶
- func ValidateSshPublicKeyID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GenerateKeyPairOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type SshPublicKeyGenerateKeyPairResult
- type SshPublicKeyId
- type SshPublicKeyResource
- type SshPublicKeyResourceOperationPredicate
- type SshPublicKeyResourceProperties
- type SshPublicKeyUpdateResource
- type SshPublicKeysClient
- func (c SshPublicKeysClient) Create(ctx context.Context, id SshPublicKeyId, input SshPublicKeyResource) (result CreateOperationResponse, err error)
- func (c SshPublicKeysClient) Delete(ctx context.Context, id SshPublicKeyId) (result DeleteOperationResponse, err error)
- func (c SshPublicKeysClient) GenerateKeyPair(ctx context.Context, id SshPublicKeyId) (result GenerateKeyPairOperationResponse, err error)
- func (c SshPublicKeysClient) Get(ctx context.Context, id SshPublicKeyId) (result GetOperationResponse, err error)
- func (c SshPublicKeysClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c SshPublicKeysClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c SshPublicKeysClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c SshPublicKeysClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c SshPublicKeysClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c SshPublicKeysClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c SshPublicKeysClient) Update(ctx context.Context, id SshPublicKeyId, input SshPublicKeyUpdateResource) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSshPublicKeyID ¶
ValidateSshPublicKeyID checks that 'input' can be parsed as a Ssh Public Key ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *SshPublicKeyResource }
type DeleteOperationResponse ¶
type GenerateKeyPairOperationResponse ¶
type GenerateKeyPairOperationResponse struct { HttpResponse *http.Response Model *SshPublicKeyGenerateKeyPairResult }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SshPublicKeyResource }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []SshPublicKeyResource
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]SshPublicKeyResource // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []SshPublicKeyResource
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]SshPublicKeyResource // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type SshPublicKeyId ¶
type SshPublicKeyId struct { SubscriptionId string ResourceGroupName string SshPublicKeyName string }
SshPublicKeyId is a struct representing the Resource ID for a Ssh Public Key
func NewSshPublicKeyID ¶
func NewSshPublicKeyID(subscriptionId string, resourceGroupName string, sshPublicKeyName string) SshPublicKeyId
NewSshPublicKeyID returns a new SshPublicKeyId struct
func ParseSshPublicKeyID ¶
func ParseSshPublicKeyID(input string) (*SshPublicKeyId, error)
ParseSshPublicKeyID parses 'input' into a SshPublicKeyId
func ParseSshPublicKeyIDInsensitively ¶
func ParseSshPublicKeyIDInsensitively(input string) (*SshPublicKeyId, error)
ParseSshPublicKeyIDInsensitively parses 'input' case-insensitively into a SshPublicKeyId note: this method should only be used for API response data and not user input
func (SshPublicKeyId) ID ¶
func (id SshPublicKeyId) ID() string
ID returns the formatted Ssh Public Key ID
func (SshPublicKeyId) Segments ¶
func (id SshPublicKeyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Ssh Public Key ID
func (SshPublicKeyId) String ¶
func (id SshPublicKeyId) String() string
String returns a human-readable description of this Ssh Public Key ID
type SshPublicKeyResource ¶
type SshPublicKeyResourceOperationPredicate ¶
type SshPublicKeyResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (SshPublicKeyResourceOperationPredicate) Matches ¶
func (p SshPublicKeyResourceOperationPredicate) Matches(input SshPublicKeyResource) bool
type SshPublicKeyResourceProperties ¶
type SshPublicKeyResourceProperties struct {
PublicKey *string `json:"publicKey,omitempty"`
}
type SshPublicKeyUpdateResource ¶
type SshPublicKeyUpdateResource struct { Properties *SshPublicKeyResourceProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type SshPublicKeysClient ¶
type SshPublicKeysClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSshPublicKeysClientWithBaseURI ¶
func NewSshPublicKeysClientWithBaseURI(endpoint string) SshPublicKeysClient
func (SshPublicKeysClient) Create ¶
func (c SshPublicKeysClient) Create(ctx context.Context, id SshPublicKeyId, input SshPublicKeyResource) (result CreateOperationResponse, err error)
Create ...
func (SshPublicKeysClient) Delete ¶
func (c SshPublicKeysClient) Delete(ctx context.Context, id SshPublicKeyId) (result DeleteOperationResponse, err error)
Delete ...
func (SshPublicKeysClient) GenerateKeyPair ¶
func (c SshPublicKeysClient) GenerateKeyPair(ctx context.Context, id SshPublicKeyId) (result GenerateKeyPairOperationResponse, err error)
GenerateKeyPair ...
func (SshPublicKeysClient) Get ¶
func (c SshPublicKeysClient) Get(ctx context.Context, id SshPublicKeyId) (result GetOperationResponse, err error)
Get ...
func (SshPublicKeysClient) ListByResourceGroup ¶
func (c SshPublicKeysClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (SshPublicKeysClient) ListByResourceGroupComplete ¶
func (c SshPublicKeysClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (SshPublicKeysClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c SshPublicKeysClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SshPublicKeyResourceOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SshPublicKeysClient) ListBySubscription ¶
func (c SshPublicKeysClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (SshPublicKeysClient) ListBySubscriptionComplete ¶
func (c SshPublicKeysClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (SshPublicKeysClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c SshPublicKeysClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SshPublicKeyResourceOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SshPublicKeysClient) Update ¶
func (c SshPublicKeysClient) Update(ctx context.Context, id SshPublicKeyId, input SshPublicKeyUpdateResource) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *SshPublicKeyResource }
Source Files ¶
- client.go
- id_sshpublickey.go
- method_create_autorest.go
- method_delete_autorest.go
- method_generatekeypair_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_sshpublickeygeneratekeypairresult.go
- model_sshpublickeyresource.go
- model_sshpublickeyresourceproperties.go
- model_sshpublickeyupdateresource.go
- predicates.go
- version.go