Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForStatus() []string
- func ValidateMasterSiteID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteSiteOperationResponse
- type GetSiteOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type MasterSite
- type MasterSiteId
- type MasterSiteOperationPredicate
- type MasterSiteProperties
- type MasterSitesClient
- func (c MasterSitesClient) DeleteSite(ctx context.Context, id MasterSiteId) (result DeleteSiteOperationResponse, err error)
- func (c MasterSitesClient) GetSite(ctx context.Context, id MasterSiteId) (result GetSiteOperationResponse, err error)
- func (c MasterSitesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c MasterSitesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c MasterSitesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c MasterSitesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c MasterSitesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c MasterSitesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c MasterSitesClient) PatchSite(ctx context.Context, id MasterSiteId, input MasterSite) (result PatchSiteOperationResponse, err error)
- func (c MasterSitesClient) PutSite(ctx context.Context, id MasterSiteId, input MasterSite) (result PutSiteOperationResponse, err error)
- type PatchSiteOperationResponse
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type PutSiteOperationResponse
- type ResourceId
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateMasterSiteID ¶
ValidateMasterSiteID checks that 'input' can be parsed as a Master Site ID
Types ¶
type GetSiteOperationResponse ¶
type GetSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MasterSite }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []MasterSite
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MasterSite }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []MasterSite
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MasterSite }
type MasterSite ¶
type MasterSite struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *MasterSiteProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type MasterSiteId ¶
MasterSiteId is a struct representing the Resource ID for a Master Site
func NewMasterSiteID ¶
func NewMasterSiteID(subscriptionId string, resourceGroupName string, masterSiteName string) MasterSiteId
NewMasterSiteID returns a new MasterSiteId struct
func ParseMasterSiteID ¶
func ParseMasterSiteID(input string) (*MasterSiteId, error)
ParseMasterSiteID parses 'input' into a MasterSiteId
func ParseMasterSiteIDInsensitively ¶
func ParseMasterSiteIDInsensitively(input string) (*MasterSiteId, error)
ParseMasterSiteIDInsensitively parses 'input' case-insensitively into a MasterSiteId note: this method should only be used for API response data and not user input
func (MasterSiteId) Segments ¶
func (id MasterSiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Master Site ID
func (MasterSiteId) String ¶
func (id MasterSiteId) String() string
String returns a human-readable description of this Master Site ID
type MasterSiteOperationPredicate ¶
type MasterSiteOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (MasterSiteOperationPredicate) Matches ¶
func (p MasterSiteOperationPredicate) Matches(input MasterSite) bool
type MasterSiteProperties ¶
type MasterSiteProperties struct { AllowMultipleSites *bool `json:"allowMultipleSites,omitempty"` CustomerStorageAccountArmId *string `json:"customerStorageAccountArmId,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` Sites *[]string `json:"sites,omitempty"` }
type MasterSitesClient ¶
type MasterSitesClient struct {
Client *resourcemanager.Client
}
func NewMasterSitesClientWithBaseURI ¶
func NewMasterSitesClientWithBaseURI(api environments.Api) (*MasterSitesClient, error)
func (MasterSitesClient) DeleteSite ¶
func (c MasterSitesClient) DeleteSite(ctx context.Context, id MasterSiteId) (result DeleteSiteOperationResponse, err error)
DeleteSite ...
func (MasterSitesClient) GetSite ¶
func (c MasterSitesClient) GetSite(ctx context.Context, id MasterSiteId) (result GetSiteOperationResponse, err error)
GetSite ...
func (MasterSitesClient) List ¶
func (c MasterSitesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (MasterSitesClient) ListBySubscription ¶
func (c MasterSitesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (MasterSitesClient) ListBySubscriptionComplete ¶
func (c MasterSitesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (MasterSitesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c MasterSitesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate MasterSiteOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MasterSitesClient) ListComplete ¶
func (c MasterSitesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MasterSitesClient) ListCompleteMatchingPredicate ¶
func (c MasterSitesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate MasterSiteOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MasterSitesClient) PatchSite ¶
func (c MasterSitesClient) PatchSite(ctx context.Context, id MasterSiteId, input MasterSite) (result PatchSiteOperationResponse, err error)
PatchSite ...
func (MasterSitesClient) PutSite ¶
func (c MasterSitesClient) PutSite(ctx context.Context, id MasterSiteId, input MasterSite) (result PutSiteOperationResponse, err error)
PutSite ...
type PatchSiteOperationResponse ¶
type PatchSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MasterSite }
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *ResourceId `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateInProgress ProvisioningState = "InProgress" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" PublicNetworkAccessNotSpecified PublicNetworkAccess = "NotSpecified" )
func (*PublicNetworkAccess) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type ResourceId ¶
type ResourceId struct {
Id *string `json:"id,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_mastersite.go
- method_deletesite.go
- method_getsite.go
- method_list.go
- method_listbysubscription.go
- method_patchsite.go
- method_putsite.go
- model_mastersite.go
- model_mastersiteproperties.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_resourceid.go
- predicates.go
- version.go