Documentation ¶
Index ¶
- func PossibleValuesForCheckNameResourceTypes() []string
- func PossibleValuesForCheckQuotaNameResourceTypes() []string
- func PossibleValuesForInAvailabilityReasonType() []string
- func PossibleValuesForRegionStorageToNetworkProximity() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateQuotaLimitID(input interface{}, key string) (warnings []string, errors []error)
- type CheckAvailabilityResponse
- type CheckNameResourceTypes
- type CheckQuotaNameResourceTypes
- type FilePathAvailabilityRequest
- type InAvailabilityReasonType
- type LocationId
- type NetAppResourceCheckFilePathAvailabilityOperationResponse
- type NetAppResourceCheckNameAvailabilityOperationResponse
- type NetAppResourceCheckQuotaAvailabilityOperationResponse
- type NetAppResourceClient
- func (c NetAppResourceClient) NetAppResourceCheckFilePathAvailability(ctx context.Context, id LocationId, input FilePathAvailabilityRequest) (result NetAppResourceCheckFilePathAvailabilityOperationResponse, err error)
- func (c NetAppResourceClient) NetAppResourceCheckNameAvailability(ctx context.Context, id LocationId, input ResourceNameAvailabilityRequest) (result NetAppResourceCheckNameAvailabilityOperationResponse, err error)
- func (c NetAppResourceClient) NetAppResourceCheckQuotaAvailability(ctx context.Context, id LocationId, input QuotaAvailabilityRequest) (result NetAppResourceCheckQuotaAvailabilityOperationResponse, err error)
- func (c NetAppResourceClient) NetAppResourceQueryRegionInfo(ctx context.Context, id LocationId) (result NetAppResourceQueryRegionInfoOperationResponse, err error)
- func (c NetAppResourceClient) NetAppResourceQuotaLimitsGet(ctx context.Context, id QuotaLimitId) (result NetAppResourceQuotaLimitsGetOperationResponse, err error)
- func (c NetAppResourceClient) NetAppResourceQuotaLimitsList(ctx context.Context, id LocationId) (result NetAppResourceQuotaLimitsListOperationResponse, err error)
- type NetAppResourceQueryRegionInfoOperationResponse
- type NetAppResourceQuotaLimitsGetOperationResponse
- type NetAppResourceQuotaLimitsListOperationResponse
- type QuotaAvailabilityRequest
- type QuotaLimitId
- type RegionInfo
- type RegionInfoAvailabilityZoneMappingsInlined
- type RegionStorageToNetworkProximity
- type ResourceNameAvailabilityRequest
- type SubscriptionQuotaItem
- type SubscriptionQuotaItemList
- type SubscriptionQuotaItemProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCheckNameResourceTypes ¶
func PossibleValuesForCheckNameResourceTypes() []string
func PossibleValuesForCheckQuotaNameResourceTypes ¶
func PossibleValuesForCheckQuotaNameResourceTypes() []string
func PossibleValuesForInAvailabilityReasonType ¶
func PossibleValuesForInAvailabilityReasonType() []string
func PossibleValuesForRegionStorageToNetworkProximity ¶
func PossibleValuesForRegionStorageToNetworkProximity() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateQuotaLimitID ¶
ValidateQuotaLimitID checks that 'input' can be parsed as a Quota Limit ID
Types ¶
type CheckAvailabilityResponse ¶
type CheckAvailabilityResponse struct { IsAvailable *bool `json:"isAvailable,omitempty"` Message *string `json:"message,omitempty"` Reason *InAvailabilityReasonType `json:"reason,omitempty"` }
type CheckNameResourceTypes ¶
type CheckNameResourceTypes string
const ( CheckNameResourceTypesMicrosoftPointNetAppNetAppAccounts CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts" CheckNameResourceTypesMicrosoftPointNetAppNetAppAccountsCapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools" CheckNameResourceTypesMicrosoftPointNetAppNetAppAccountsCapacityPoolsVolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" CheckNameResourceTypesMicrosoftPointNetAppNetAppAccountsCapacityPoolsVolumesSnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" )
func (*CheckNameResourceTypes) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *CheckNameResourceTypes) UnmarshalJSON(bytes []byte) error
type CheckQuotaNameResourceTypes ¶
type CheckQuotaNameResourceTypes string
const ( CheckQuotaNameResourceTypesMicrosoftPointNetAppNetAppAccounts CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts" CheckQuotaNameResourceTypesMicrosoftPointNetAppNetAppAccountsCapacityPools CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools" CheckQuotaNameResourceTypesMicrosoftPointNetAppNetAppAccountsCapacityPoolsVolumes CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" CheckQuotaNameResourceTypesMicrosoftPointNetAppNetAppAccountsCapacityPoolsVolumesSnapshots CheckQuotaNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" )
func (*CheckQuotaNameResourceTypes) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *CheckQuotaNameResourceTypes) UnmarshalJSON(bytes []byte) error
type InAvailabilityReasonType ¶
type InAvailabilityReasonType string
const ( InAvailabilityReasonTypeAlreadyExists InAvailabilityReasonType = "AlreadyExists" InAvailabilityReasonTypeInvalid InAvailabilityReasonType = "Invalid" )
func (*InAvailabilityReasonType) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *InAvailabilityReasonType) UnmarshalJSON(bytes []byte) error
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type NetAppResourceCheckFilePathAvailabilityOperationResponse ¶
type NetAppResourceCheckFilePathAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckAvailabilityResponse }
type NetAppResourceCheckNameAvailabilityOperationResponse ¶
type NetAppResourceCheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckAvailabilityResponse }
type NetAppResourceCheckQuotaAvailabilityOperationResponse ¶
type NetAppResourceCheckQuotaAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckAvailabilityResponse }
type NetAppResourceClient ¶
type NetAppResourceClient struct {
Client *resourcemanager.Client
}
func NewNetAppResourceClientWithBaseURI ¶
func NewNetAppResourceClientWithBaseURI(api environments.Api) (*NetAppResourceClient, error)
func (NetAppResourceClient) NetAppResourceCheckFilePathAvailability ¶
func (c NetAppResourceClient) NetAppResourceCheckFilePathAvailability(ctx context.Context, id LocationId, input FilePathAvailabilityRequest) (result NetAppResourceCheckFilePathAvailabilityOperationResponse, err error)
NetAppResourceCheckFilePathAvailability ...
func (NetAppResourceClient) NetAppResourceCheckNameAvailability ¶
func (c NetAppResourceClient) NetAppResourceCheckNameAvailability(ctx context.Context, id LocationId, input ResourceNameAvailabilityRequest) (result NetAppResourceCheckNameAvailabilityOperationResponse, err error)
NetAppResourceCheckNameAvailability ...
func (NetAppResourceClient) NetAppResourceCheckQuotaAvailability ¶
func (c NetAppResourceClient) NetAppResourceCheckQuotaAvailability(ctx context.Context, id LocationId, input QuotaAvailabilityRequest) (result NetAppResourceCheckQuotaAvailabilityOperationResponse, err error)
NetAppResourceCheckQuotaAvailability ...
func (NetAppResourceClient) NetAppResourceQueryRegionInfo ¶
func (c NetAppResourceClient) NetAppResourceQueryRegionInfo(ctx context.Context, id LocationId) (result NetAppResourceQueryRegionInfoOperationResponse, err error)
NetAppResourceQueryRegionInfo ...
func (NetAppResourceClient) NetAppResourceQuotaLimitsGet ¶
func (c NetAppResourceClient) NetAppResourceQuotaLimitsGet(ctx context.Context, id QuotaLimitId) (result NetAppResourceQuotaLimitsGetOperationResponse, err error)
NetAppResourceQuotaLimitsGet ...
func (NetAppResourceClient) NetAppResourceQuotaLimitsList ¶
func (c NetAppResourceClient) NetAppResourceQuotaLimitsList(ctx context.Context, id LocationId) (result NetAppResourceQuotaLimitsListOperationResponse, err error)
NetAppResourceQuotaLimitsList ...
type NetAppResourceQueryRegionInfoOperationResponse ¶
type NetAppResourceQueryRegionInfoOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RegionInfo }
type NetAppResourceQuotaLimitsGetOperationResponse ¶
type NetAppResourceQuotaLimitsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionQuotaItem }
type NetAppResourceQuotaLimitsListOperationResponse ¶
type NetAppResourceQuotaLimitsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionQuotaItemList }
type QuotaAvailabilityRequest ¶
type QuotaAvailabilityRequest struct { Name string `json:"name"` ResourceGroup string `json:"resourceGroup"` Type CheckQuotaNameResourceTypes `json:"type"` }
type QuotaLimitId ¶
QuotaLimitId is a struct representing the Resource ID for a Quota Limit
func NewQuotaLimitID ¶
func NewQuotaLimitID(subscriptionId string, locationName string, quotaLimitName string) QuotaLimitId
NewQuotaLimitID returns a new QuotaLimitId struct
func ParseQuotaLimitID ¶
func ParseQuotaLimitID(input string) (*QuotaLimitId, error)
ParseQuotaLimitID parses 'input' into a QuotaLimitId
func ParseQuotaLimitIDInsensitively ¶
func ParseQuotaLimitIDInsensitively(input string) (*QuotaLimitId, error)
ParseQuotaLimitIDInsensitively parses 'input' case-insensitively into a QuotaLimitId note: this method should only be used for API response data and not user input
func (QuotaLimitId) Segments ¶
func (id QuotaLimitId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Quota Limit ID
func (QuotaLimitId) String ¶
func (id QuotaLimitId) String() string
String returns a human-readable description of this Quota Limit ID
type RegionInfo ¶
type RegionInfo struct { AvailabilityZoneMappings *[]RegionInfoAvailabilityZoneMappingsInlined `json:"availabilityZoneMappings,omitempty"` StorageToNetworkProximity *RegionStorageToNetworkProximity `json:"storageToNetworkProximity,omitempty"` }
type RegionStorageToNetworkProximity ¶
type RegionStorageToNetworkProximity string
const ( RegionStorageToNetworkProximityAcrossTTwo RegionStorageToNetworkProximity = "AcrossT2" RegionStorageToNetworkProximityDefault RegionStorageToNetworkProximity = "Default" RegionStorageToNetworkProximityTOne RegionStorageToNetworkProximity = "T1" RegionStorageToNetworkProximityTOneAndAcrossTTwo RegionStorageToNetworkProximity = "T1AndAcrossT2" RegionStorageToNetworkProximityTOneAndTTwo RegionStorageToNetworkProximity = "T1AndT2" RegionStorageToNetworkProximityTOneAndTTwoAndAcrossTTwo RegionStorageToNetworkProximity = "T1AndT2AndAcrossT2" RegionStorageToNetworkProximityTTwo RegionStorageToNetworkProximity = "T2" RegionStorageToNetworkProximityTTwoAndAcrossTTwo RegionStorageToNetworkProximity = "T2AndAcrossT2" )
func (*RegionStorageToNetworkProximity) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *RegionStorageToNetworkProximity) UnmarshalJSON(bytes []byte) error
type ResourceNameAvailabilityRequest ¶
type ResourceNameAvailabilityRequest struct { Name string `json:"name"` ResourceGroup string `json:"resourceGroup"` Type CheckNameResourceTypes `json:"type"` }
type SubscriptionQuotaItem ¶
type SubscriptionQuotaItem struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubscriptionQuotaItemProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SubscriptionQuotaItemList ¶
type SubscriptionQuotaItemList struct {
Value *[]SubscriptionQuotaItem `json:"value,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_quotalimit.go
- method_netappresourcecheckfilepathavailability.go
- method_netappresourcechecknameavailability.go
- method_netappresourcecheckquotaavailability.go
- method_netappresourcequeryregioninfo.go
- method_netappresourcequotalimitsget.go
- method_netappresourcequotalimitslist.go
- model_checkavailabilityresponse.go
- model_filepathavailabilityrequest.go
- model_quotaavailabilityrequest.go
- model_regioninfo.go
- model_regioninfoavailabilityzonemappingsinlined.go
- model_resourcenameavailabilityrequest.go
- model_subscriptionquotaitem.go
- model_subscriptionquotaitemlist.go
- model_subscriptionquotaitemproperties.go
- version.go