1package serialconsole 2 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// Licensed under the MIT License. See License.txt in the project root for license information. 5// 6// Code generated by Microsoft (R) AutoRest Code Generator. 7// Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9import ( 10 "github.com/Azure/go-autorest/autorest" 11) 12 13// The package's fully qualified name. 14const fqdn = "github.com/Azure/azure-sdk-for-go/services/serialconsole/mgmt/2018-05-01/serialconsole" 15 16// DisableSerialConsoleResult returns whether or not Serial Console is disabled. 17type DisableSerialConsoleResult struct { 18 // Disabled - Whether or not Serial Console is disabled. 19 Disabled *bool `json:"disabled,omitempty"` 20} 21 22// EnableSerialConsoleResult returns whether or not Serial Console is disabled (enabled). 23type EnableSerialConsoleResult struct { 24 // Disabled - Whether or not Serial Console is disabled (enabled). 25 Disabled *bool `json:"disabled,omitempty"` 26} 27 28// GetSerialConsoleSubscriptionNotFound error saying that the provided subscription could not be found 29type GetSerialConsoleSubscriptionNotFound struct { 30 // Code - Error code 31 Code *string `json:"code,omitempty"` 32 // Message - Subscription not found message 33 Message *string `json:"message,omitempty"` 34} 35 36// Operations serial Console operations 37type Operations struct { 38 autorest.Response `json:"-"` 39 // Value - A list of Serial Console operations 40 Value *[]OperationsValueItem `json:"value,omitempty"` 41} 42 43// OperationsValueItem ... 44type OperationsValueItem struct { 45 Name *string `json:"name,omitempty"` 46 IsDataAction *string `json:"isDataAction,omitempty"` 47 Display *OperationsValueItemDisplay `json:"display,omitempty"` 48} 49 50// OperationsValueItemDisplay ... 51type OperationsValueItemDisplay struct { 52 Provider *string `json:"provider,omitempty"` 53 Resource *string `json:"resource,omitempty"` 54 Operation *string `json:"operation,omitempty"` 55 Description *string `json:"description,omitempty"` 56} 57 58// SetObject ... 59type SetObject struct { 60 autorest.Response `json:"-"` 61 Value interface{} `json:"value,omitempty"` 62} 63 64// Status returns whether or not Serial Console is disabled. 65type Status struct { 66 // Disabled - Whether or not Serial Console is disabled. 67 Disabled *bool `json:"disabled,omitempty"` 68} 69