Documentation ¶
Index ¶
- func PossibleValuesForAutomationKeyName() []string
- func PossibleValuesForAutomationKeyPermissions() []string
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type AutomationKeyName
- type AutomationKeyPermissions
- type Key
- type KeyListResult
- type KeysListByAutomationAccountOperationResponse
- type ListKeysClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutomationKeyName ¶
func PossibleValuesForAutomationKeyName() []string
func PossibleValuesForAutomationKeyPermissions ¶
func PossibleValuesForAutomationKeyPermissions() []string
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
Types ¶
type AutomationAccountId ¶
type AutomationAccountId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string }
AutomationAccountId is a struct representing the Resource ID for a Automation Account
func NewAutomationAccountID ¶
func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId
NewAutomationAccountID returns a new AutomationAccountId struct
func ParseAutomationAccountID ¶
func ParseAutomationAccountID(input string) (*AutomationAccountId, error)
ParseAutomationAccountID parses 'input' into a AutomationAccountId
func ParseAutomationAccountIDInsensitively ¶
func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error)
ParseAutomationAccountIDInsensitively parses 'input' case-insensitively into a AutomationAccountId note: this method should only be used for API response data and not user input
func (*AutomationAccountId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error
func (AutomationAccountId) ID ¶
func (id AutomationAccountId) ID() string
ID returns the formatted Automation Account ID
func (AutomationAccountId) Segments ¶
func (id AutomationAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation Account ID
func (AutomationAccountId) String ¶
func (id AutomationAccountId) String() string
String returns a human-readable description of this Automation Account ID
type AutomationKeyName ¶
type AutomationKeyName string
const ( AutomationKeyNamePrimary AutomationKeyName = "Primary" AutomationKeyNameSecondary AutomationKeyName = "Secondary" )
func (*AutomationKeyName) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *AutomationKeyName) UnmarshalJSON(bytes []byte) error
type AutomationKeyPermissions ¶
type AutomationKeyPermissions string
const ( AutomationKeyPermissionsFull AutomationKeyPermissions = "Full" AutomationKeyPermissionsRead AutomationKeyPermissions = "Read" )
func (*AutomationKeyPermissions) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *AutomationKeyPermissions) UnmarshalJSON(bytes []byte) error
type Key ¶
type Key struct { KeyName *AutomationKeyName `json:"KeyName,omitempty"` Permissions *AutomationKeyPermissions `json:"Permissions,omitempty"` Value *string `json:"Value,omitempty"` }
type KeyListResult ¶
type KeyListResult struct {
Keys *[]Key `json:"keys,omitempty"`
}
type KeysListByAutomationAccountOperationResponse ¶
type KeysListByAutomationAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *KeyListResult }
type ListKeysClient ¶
type ListKeysClient struct {
Client *resourcemanager.Client
}
func NewListKeysClientWithBaseURI ¶
func NewListKeysClientWithBaseURI(sdkApi sdkEnv.Api) (*ListKeysClient, error)
func (ListKeysClient) KeysListByAutomationAccount ¶
func (c ListKeysClient) KeysListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result KeysListByAutomationAccountOperationResponse, err error)
KeysListByAutomationAccount ...