Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateApiCollectionID(input interface{}, key string) (warnings []string, errors []error)
- type APICollectionsGetByAzureApiManagementServiceOperationResponse
- type ApiCollection
- type ApiCollectionId
- type ApiCollectionProperties
- type D4APICollectionClient
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateApiCollectionID ¶
ValidateApiCollectionID checks that 'input' can be parsed as a Api Collection ID
Types ¶
type APICollectionsGetByAzureApiManagementServiceOperationResponse ¶
type APICollectionsGetByAzureApiManagementServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApiCollection }
type ApiCollection ¶
type ApiCollection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ApiCollectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ApiCollectionId ¶
type ApiCollectionId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiCollectionId is a struct representing the Resource ID for a Api Collection
func NewApiCollectionID ¶
func NewApiCollectionID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiCollectionId
NewApiCollectionID returns a new ApiCollectionId struct
func ParseApiCollectionID ¶
func ParseApiCollectionID(input string) (*ApiCollectionId, error)
ParseApiCollectionID parses 'input' into a ApiCollectionId
func ParseApiCollectionIDInsensitively ¶
func ParseApiCollectionIDInsensitively(input string) (*ApiCollectionId, error)
ParseApiCollectionIDInsensitively parses 'input' case-insensitively into a ApiCollectionId note: this method should only be used for API response data and not user input
func (*ApiCollectionId) FromParseResult ¶
func (id *ApiCollectionId) FromParseResult(input resourceids.ParseResult) error
func (ApiCollectionId) ID ¶
func (id ApiCollectionId) ID() string
ID returns the formatted Api Collection ID
func (ApiCollectionId) Segments ¶
func (id ApiCollectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Collection ID
func (ApiCollectionId) String ¶
func (id ApiCollectionId) String() string
String returns a human-readable description of this Api Collection ID
type ApiCollectionProperties ¶
type ApiCollectionProperties struct { BaseUrl *string `json:"baseUrl,omitempty"` DiscoveredVia *string `json:"discoveredVia,omitempty"` DisplayName *string `json:"displayName,omitempty"` NumberOfApiEndpoints *int64 `json:"numberOfApiEndpoints,omitempty"` NumberOfApiEndpointsWithSensitiveDataExposed *int64 `json:"numberOfApiEndpointsWithSensitiveDataExposed,omitempty"` NumberOfExternalApiEndpoints *int64 `json:"numberOfExternalApiEndpoints,omitempty"` NumberOfInactiveApiEndpoints *int64 `json:"numberOfInactiveApiEndpoints,omitempty"` NumberOfUnauthenticatedApiEndpoints *int64 `json:"numberOfUnauthenticatedApiEndpoints,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SensitivityLabel *string `json:"sensitivityLabel,omitempty"` }
type D4APICollectionClient ¶
type D4APICollectionClient struct {
Client *resourcemanager.Client
}
func NewD4APICollectionClientWithBaseURI ¶
func NewD4APICollectionClientWithBaseURI(sdkApi sdkEnv.Api) (*D4APICollectionClient, error)
func (D4APICollectionClient) APICollectionsGetByAzureApiManagementService ¶
func (c D4APICollectionClient) APICollectionsGetByAzureApiManagementService(ctx context.Context, id ApiCollectionId) (result APICollectionsGetByAzureApiManagementServiceOperationResponse, err error)
APICollectionsGetByAzureApiManagementService ...
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateInProgress ProvisioningState = "InProgress" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error