Documentation
¶
Index ¶
- func PossibleValuesForKind() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type Kind
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type ResourceClient
- func (c ResourceClient) ServicesCreateOrUpdate(ctx context.Context, id ServiceId, input ServicesDescription) (result ServicesCreateOrUpdateOperationResponse, err error)
- func (c ResourceClient) ServicesCreateOrUpdateThenPoll(ctx context.Context, id ServiceId, input ServicesDescription) error
- func (c ResourceClient) ServicesDelete(ctx context.Context, id ServiceId) (result ServicesDeleteOperationResponse, err error)
- func (c ResourceClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId) error
- func (c ResourceClient) ServicesGet(ctx context.Context, id ServiceId) (result ServicesGetOperationResponse, err error)
- func (c ResourceClient) ServicesUpdate(ctx context.Context, id ServiceId, input ServicesPatchDescription) (result ServicesUpdateOperationResponse, err error)
- func (c ResourceClient) ServicesUpdateThenPoll(ctx context.Context, id ServiceId, input ServicesPatchDescription) error
- type ServiceAccessPolicyEntry
- type ServiceAcrConfigurationInfo
- type ServiceAuthenticationConfigurationInfo
- type ServiceCorsConfigurationInfo
- type ServiceCosmosDbConfigurationInfo
- type ServiceExportConfigurationInfo
- type ServiceId
- type ServicesCreateOrUpdateOperationResponse
- type ServicesDeleteOperationResponse
- type ServicesDescription
- type ServicesGetOperationResponse
- type ServicesPatchDescription
- type ServicesProperties
- type ServicesPropertiesUpdateParameters
- type ServicesUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForPrivateEndpointConnectionProvisioningState ¶
func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` ProvisioningState *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` }
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
const ( PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" )
func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON ¶
func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON ¶
func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateDeprovisioned ProvisioningState = "Deprovisioned" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" ProvisioningStateVerifying ProvisioningState = "Verifying" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type ResourceClient ¶
type ResourceClient struct {
Client *resourcemanager.Client
}
func NewResourceClientWithBaseURI ¶
func NewResourceClientWithBaseURI(api environments.Api) (*ResourceClient, error)
func (ResourceClient) ServicesCreateOrUpdate ¶
func (c ResourceClient) ServicesCreateOrUpdate(ctx context.Context, id ServiceId, input ServicesDescription) (result ServicesCreateOrUpdateOperationResponse, err error)
ServicesCreateOrUpdate ...
func (ResourceClient) ServicesCreateOrUpdateThenPoll ¶
func (c ResourceClient) ServicesCreateOrUpdateThenPoll(ctx context.Context, id ServiceId, input ServicesDescription) error
ServicesCreateOrUpdateThenPoll performs ServicesCreateOrUpdate then polls until it's completed
func (ResourceClient) ServicesDelete ¶
func (c ResourceClient) ServicesDelete(ctx context.Context, id ServiceId) (result ServicesDeleteOperationResponse, err error)
ServicesDelete ...
func (ResourceClient) ServicesDeleteThenPoll ¶
func (c ResourceClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId) error
ServicesDeleteThenPoll performs ServicesDelete then polls until it's completed
func (ResourceClient) ServicesGet ¶
func (c ResourceClient) ServicesGet(ctx context.Context, id ServiceId) (result ServicesGetOperationResponse, err error)
ServicesGet ...
func (ResourceClient) ServicesUpdate ¶
func (c ResourceClient) ServicesUpdate(ctx context.Context, id ServiceId, input ServicesPatchDescription) (result ServicesUpdateOperationResponse, err error)
ServicesUpdate ...
func (ResourceClient) ServicesUpdateThenPoll ¶
func (c ResourceClient) ServicesUpdateThenPoll(ctx context.Context, id ServiceId, input ServicesPatchDescription) error
ServicesUpdateThenPoll performs ServicesUpdate then polls until it's completed
type ServiceAccessPolicyEntry ¶
type ServiceAccessPolicyEntry struct {
ObjectId string `json:"objectId"`
}
type ServiceAcrConfigurationInfo ¶
type ServiceAcrConfigurationInfo struct {
LoginServers *[]string `json:"loginServers,omitempty"`
}
type ServiceExportConfigurationInfo ¶
type ServiceExportConfigurationInfo struct {
StorageAccountName *string `json:"storageAccountName,omitempty"`
}
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type ServicesDescription ¶
type ServicesDescription struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Kind Kind `json:"kind"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ServicesProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ServicesGetOperationResponse ¶
type ServicesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServicesDescription }
type ServicesPatchDescription ¶
type ServicesPatchDescription struct { Properties *ServicesPropertiesUpdateParameters `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ServicesProperties ¶
type ServicesProperties struct { AccessPolicies *[]ServiceAccessPolicyEntry `json:"accessPolicies,omitempty"` AcrConfiguration *ServiceAcrConfigurationInfo `json:"acrConfiguration,omitempty"` AuthenticationConfiguration *ServiceAuthenticationConfigurationInfo `json:"authenticationConfiguration,omitempty"` CorsConfiguration *ServiceCorsConfigurationInfo `json:"corsConfiguration,omitempty"` CosmosDbConfiguration *ServiceCosmosDbConfigurationInfo `json:"cosmosDbConfiguration,omitempty"` ExportConfiguration *ServiceExportConfigurationInfo `json:"exportConfiguration,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` }
type ServicesPropertiesUpdateParameters ¶
type ServicesPropertiesUpdateParameters struct {
PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}
Source Files
¶
- client.go
- constants.go
- id_service.go
- method_servicescreateorupdate.go
- method_servicesdelete.go
- method_servicesget.go
- method_servicesupdate.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_serviceaccesspolicyentry.go
- model_serviceacrconfigurationinfo.go
- model_serviceauthenticationconfigurationinfo.go
- model_servicecorsconfigurationinfo.go
- model_servicecosmosdbconfigurationinfo.go
- model_serviceexportconfigurationinfo.go
- model_servicesdescription.go
- model_servicespatchdescription.go
- model_servicesproperties.go
- model_servicespropertiesupdateparameters.go
- version.go