Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHTTPStatusCode ¶
func PossibleValuesForHTTPStatusCode() []string
func ValidateOperationID ¶
ValidateOperationID checks that 'input' can be parsed as a Operation ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OperationResult }
type HTTPStatusCode ¶
type HTTPStatusCode string
const ( HTTPStatusCodeAccepted HTTPStatusCode = "Accepted" HTTPStatusCodeAmbiguous HTTPStatusCode = "Ambiguous" HTTPStatusCodeBadGateway HTTPStatusCode = "BadGateway" HTTPStatusCodeBadRequest HTTPStatusCode = "BadRequest" HTTPStatusCodeConflict HTTPStatusCode = "Conflict" HTTPStatusCodeContinue HTTPStatusCode = "Continue" HTTPStatusCodeCreated HTTPStatusCode = "Created" HTTPStatusCodeExpectationFailed HTTPStatusCode = "ExpectationFailed" HTTPStatusCodeForbidden HTTPStatusCode = "Forbidden" HTTPStatusCodeFound HTTPStatusCode = "Found" HTTPStatusCodeGatewayTimeout HTTPStatusCode = "GatewayTimeout" HTTPStatusCodeGone HTTPStatusCode = "Gone" HTTPStatusCodeHTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported" HTTPStatusCodeInternalServerError HTTPStatusCode = "InternalServerError" HTTPStatusCodeLengthRequired HTTPStatusCode = "LengthRequired" HTTPStatusCodeMethodNotAllowed HTTPStatusCode = "MethodNotAllowed" HTTPStatusCodeMoved HTTPStatusCode = "Moved" HTTPStatusCodeMovedPermanently HTTPStatusCode = "MovedPermanently" HTTPStatusCodeMultipleChoices HTTPStatusCode = "MultipleChoices" HTTPStatusCodeNoContent HTTPStatusCode = "NoContent" HTTPStatusCodeNonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation" HTTPStatusCodeNotAcceptable HTTPStatusCode = "NotAcceptable" HTTPStatusCodeNotFound HTTPStatusCode = "NotFound" HTTPStatusCodeNotImplemented HTTPStatusCode = "NotImplemented" HTTPStatusCodeNotModified HTTPStatusCode = "NotModified" HTTPStatusCodeOK HTTPStatusCode = "OK" HTTPStatusCodePartialContent HTTPStatusCode = "PartialContent" HTTPStatusCodePaymentRequired HTTPStatusCode = "PaymentRequired" HTTPStatusCodePreconditionFailed HTTPStatusCode = "PreconditionFailed" HTTPStatusCodeProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired" HTTPStatusCodeRedirect HTTPStatusCode = "Redirect" HTTPStatusCodeRedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb" HTTPStatusCodeRedirectMethod HTTPStatusCode = "RedirectMethod" HTTPStatusCodeRequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge" HTTPStatusCodeRequestTimeout HTTPStatusCode = "RequestTimeout" HTTPStatusCodeRequestUriTooLong HTTPStatusCode = "RequestUriTooLong" HTTPStatusCodeRequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable" HTTPStatusCodeResetContent HTTPStatusCode = "ResetContent" HTTPStatusCodeSeeOther HTTPStatusCode = "SeeOther" HTTPStatusCodeSwitchingProtocols HTTPStatusCode = "SwitchingProtocols" HTTPStatusCodeTemporaryRedirect HTTPStatusCode = "TemporaryRedirect" HTTPStatusCodeUnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType" HTTPStatusCodeUnused HTTPStatusCode = "Unused" HTTPStatusCodeUpgradeRequired HTTPStatusCode = "UpgradeRequired" HTTPStatusCodeUseProxy HTTPStatusCode = "UseProxy" )
func (*HTTPStatusCode) UnmarshalJSON ¶
func (s *HTTPStatusCode) UnmarshalJSON(bytes []byte) error
type OperationError ¶
type OperationId ¶
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶
func NewOperationID(subscriptionId string, locationName string, operationName string) OperationId
NewOperationID returns a new OperationId struct
func ParseOperationID ¶
func ParseOperationID(input string) (*OperationId, error)
ParseOperationID parses 'input' into a OperationId
func ParseOperationIDInsensitively ¶
func ParseOperationIDInsensitively(input string) (*OperationId, error)
ParseOperationIDInsensitively parses 'input' case-insensitively into a OperationId note: this method should only be used for API response data and not user input
func (*OperationId) FromParseResult ¶
func (id *OperationId) FromParseResult(input resourceids.ParseResult) error
func (OperationId) Segments ¶
func (id OperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation ID
func (OperationId) String ¶
func (id OperationId) String() string
String returns a human-readable description of this Operation ID
type OperationResult ¶
type OperationResult struct { Error *OperationError `json:"error,omitempty"` Status *string `json:"status,omitempty"` StatusCode *HTTPStatusCode `json:"statusCode,omitempty"` }
type OperationsClient ¶
type OperationsClient struct {
Client *resourcemanager.Client
}
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*OperationsClient, error)
func (OperationsClient) Get ¶
func (c OperationsClient) Get(ctx context.Context, id OperationId) (result GetOperationResponse, err error)
Get ...
Click to show internal directories.
Click to hide internal directories.