Documentation ¶
Index ¶
- func PossibleValuesForGraphRunbookType() []string
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type ConvertGraphRunbookContentOperationResponse
- type GraphRunbookType
- type GraphicalRunbookContent
- type OperationsClient
- type RawGraphicalRunbookContent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGraphRunbookType ¶
func PossibleValuesForGraphRunbookType() []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) 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 ConvertGraphRunbookContentOperationResponse ¶
type ConvertGraphRunbookContentOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GraphicalRunbookContent }
type GraphRunbookType ¶
type GraphRunbookType string
const ( GraphRunbookTypeGraphPowerShell GraphRunbookType = "GraphPowerShell" GraphRunbookTypeGraphPowerShellWorkflow GraphRunbookType = "GraphPowerShellWorkflow" )
func (*GraphRunbookType) UnmarshalJSON ¶
func (s *GraphRunbookType) UnmarshalJSON(bytes []byte) error
type GraphicalRunbookContent ¶
type GraphicalRunbookContent struct { GraphRunbookJson *string `json:"graphRunbookJson,omitempty"` RawContent *RawGraphicalRunbookContent `json:"rawContent,omitempty"` }
type OperationsClient ¶
type OperationsClient struct {
Client *resourcemanager.Client
}
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*OperationsClient, error)
func (OperationsClient) ConvertGraphRunbookContent ¶
func (c OperationsClient) ConvertGraphRunbookContent(ctx context.Context, id AutomationAccountId, input GraphicalRunbookContent) (result ConvertGraphRunbookContentOperationResponse, err error)
ConvertGraphRunbookContent ...
type RawGraphicalRunbookContent ¶
type RawGraphicalRunbookContent struct { RunbookDefinition *string `json:"runbookDefinition,omitempty"` RunbookType *GraphRunbookType `json:"runbookType,omitempty"` SchemaVersion *string `json:"schemaVersion,omitempty"` }