Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OperationsRequest ¶ added in v1.0.24
type OperationsRequest struct { DisplayName string `json:"displayName"` Operations []struct { Name string `json:"name"` DisplayName string `json:"displayName"` Description string `json:"description"` Origin interface{} `json:"origin"` Properties interface{} `json:"properties"` IsDataAction bool `json:"isDataAction"` } `json:"operations"` ResourceTypes []struct { Name string `json:"name"` DisplayName string `json:"displayName"` Operations []struct { Name string `json:"name"` DisplayName string `json:"displayName"` Description string `json:"description"` Origin interface{} `json:"origin"` Properties interface{} `json:"properties"` IsDataAction bool `json:"isDataAction"` } `json:"operations"` } `json:"resourceTypes"` ID string `json:"id"` Type string `json:"type"` Name string `json:"name"` }
OperationsRequest list the actions that can be performed
type ProvidersResponse ¶
type ProvidersResponse struct { Providers []struct { ID string `json:"id"` Namespace string `json:"namespace"` Authorization struct { ApplicationID string `json:"applicationId"` RoleDefinitionID string `json:"roleDefinitionId"` } `json:"authorization,omitempty"` ResourceTypes []struct { ResourceType string `json:"resourceType"` Locations []interface{} `json:"locations"` APIVersions []string `json:"apiVersions"` } `json:"resourceTypes"` RegistrationState string `json:"registrationState"` Authorizations []struct { ApplicationID string `json:"applicationId"` RoleDefinitionID string `json:"roleDefinitionId"` } `json:"authorizations,omitempty"` } `json:"value"` }
ProvidersResponse providers list rest type
type ResourceGroupResponse ¶
type ResourceGroupResponse struct { Groups []struct { ID string `json:"id"` Name string `json:"name"` Location string `json:"location"` Properties struct { ProvisioningState string `json:"provisioningState"` } `json:"properties"` } `json:"value"` }
ResourceGroupResponse ResourceGroup rest type
type ResourceReseponse ¶
type ResourceReseponse struct { Resources []struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Sku struct { Name string `json:"name"` Tier string `json:"tier"` } `json:"sku"` Kind string `json:"kind"` Location string `json:"location"` Tags struct { MsResourceUsage string `json:"ms-resource-usage"` } `json:"tags"` } `json:"value"` }
ResourceReseponse Resources list rest type
type SubResponse ¶
type SubResponse struct { Subs []struct { ID string `json:"id"` SubscriptionID string `json:"subscriptionId"` DisplayName string `json:"displayName"` State string `json:"state"` SubscriptionPolicies struct { LocationPlacementID string `json:"locationPlacementId"` QuotaID string `json:"quotaId"` SpendingLimit string `json:"spendingLimit"` } `json:"subscriptionPolicies"` } `json:"value"` }
SubResponse Subscriptions REST type
Click to show internal directories.
Click to hide internal directories.