Documentation ¶
Index ¶
- func PossibleValuesForPartnerDestinationActivationState() []string
- func PossibleValuesForPartnerDestinationProvisioningState() []string
- func ValidatePartnerDestinationID(input interface{}, key string) (warnings []string, errors []error)
- type ActivateOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type PartnerDestination
- type PartnerDestinationActivationState
- type PartnerDestinationId
- type PartnerDestinationOperationPredicate
- type PartnerDestinationProperties
- type PartnerDestinationProvisioningState
- type PartnerDestinationUpdateParameters
- type PartnerDestinationsClient
- func (c PartnerDestinationsClient) Activate(ctx context.Context, id PartnerDestinationId) (result ActivateOperationResponse, err error)
- func (c PartnerDestinationsClient) CreateOrUpdate(ctx context.Context, id PartnerDestinationId, input PartnerDestination) (result CreateOrUpdateOperationResponse, err error)
- func (c PartnerDestinationsClient) CreateOrUpdateThenPoll(ctx context.Context, id PartnerDestinationId, input PartnerDestination) error
- func (c PartnerDestinationsClient) Delete(ctx context.Context, id PartnerDestinationId) (result DeleteOperationResponse, err error)
- func (c PartnerDestinationsClient) DeleteThenPoll(ctx context.Context, id PartnerDestinationId) error
- func (c PartnerDestinationsClient) Get(ctx context.Context, id PartnerDestinationId) (result GetOperationResponse, err error)
- func (c PartnerDestinationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c PartnerDestinationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c PartnerDestinationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c PartnerDestinationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c PartnerDestinationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c PartnerDestinationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c PartnerDestinationsClient) Update(ctx context.Context, id PartnerDestinationId, ...) (result UpdateOperationResponse, err error)
- func (c PartnerDestinationsClient) UpdateThenPoll(ctx context.Context, id PartnerDestinationId, ...) error
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPartnerDestinationActivationState ¶
func PossibleValuesForPartnerDestinationActivationState() []string
func PossibleValuesForPartnerDestinationProvisioningState ¶
func PossibleValuesForPartnerDestinationProvisioningState() []string
func ValidatePartnerDestinationID ¶
func ValidatePartnerDestinationID(input interface{}, key string) (warnings []string, errors []error)
ValidatePartnerDestinationID checks that 'input' can be parsed as a Partner Destination ID
Types ¶
type ActivateOperationResponse ¶
type ActivateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PartnerDestination }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PartnerDestination }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []PartnerDestination }
type ListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PartnerDestination }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []PartnerDestination }
type ListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PartnerDestination }
type PartnerDestination ¶
type PartnerDestination struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *PartnerDestinationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type PartnerDestinationActivationState ¶
type PartnerDestinationActivationState string
const ( PartnerDestinationActivationStateActivated PartnerDestinationActivationState = "Activated" PartnerDestinationActivationStateNeverActivated PartnerDestinationActivationState = "NeverActivated" )
func (*PartnerDestinationActivationState) UnmarshalJSON ¶
func (s *PartnerDestinationActivationState) UnmarshalJSON(bytes []byte) error
type PartnerDestinationId ¶
type PartnerDestinationId struct { SubscriptionId string ResourceGroupName string PartnerDestinationName string }
PartnerDestinationId is a struct representing the Resource ID for a Partner Destination
func NewPartnerDestinationID ¶
func NewPartnerDestinationID(subscriptionId string, resourceGroupName string, partnerDestinationName string) PartnerDestinationId
NewPartnerDestinationID returns a new PartnerDestinationId struct
func ParsePartnerDestinationID ¶
func ParsePartnerDestinationID(input string) (*PartnerDestinationId, error)
ParsePartnerDestinationID parses 'input' into a PartnerDestinationId
func ParsePartnerDestinationIDInsensitively ¶
func ParsePartnerDestinationIDInsensitively(input string) (*PartnerDestinationId, error)
ParsePartnerDestinationIDInsensitively parses 'input' case-insensitively into a PartnerDestinationId note: this method should only be used for API response data and not user input
func (*PartnerDestinationId) FromParseResult ¶
func (id *PartnerDestinationId) FromParseResult(input resourceids.ParseResult) error
func (PartnerDestinationId) ID ¶
func (id PartnerDestinationId) ID() string
ID returns the formatted Partner Destination ID
func (PartnerDestinationId) Segments ¶
func (id PartnerDestinationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Partner Destination ID
func (PartnerDestinationId) String ¶
func (id PartnerDestinationId) String() string
String returns a human-readable description of this Partner Destination ID
type PartnerDestinationOperationPredicate ¶
type PartnerDestinationOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (PartnerDestinationOperationPredicate) Matches ¶
func (p PartnerDestinationOperationPredicate) Matches(input PartnerDestination) bool
type PartnerDestinationProperties ¶
type PartnerDestinationProperties struct { ActivationState *PartnerDestinationActivationState `json:"activationState,omitempty"` EndpointBaseUrl *string `json:"endpointBaseUrl,omitempty"` EndpointServiceContext *string `json:"endpointServiceContext,omitempty"` ExpirationTimeIfNotActivatedUtc *string `json:"expirationTimeIfNotActivatedUtc,omitempty"` MessageForActivation *string `json:"messageForActivation,omitempty"` PartnerRegistrationImmutableId *string `json:"partnerRegistrationImmutableId,omitempty"` ProvisioningState *PartnerDestinationProvisioningState `json:"provisioningState,omitempty"` }
func (*PartnerDestinationProperties) GetExpirationTimeIfNotActivatedUtcAsTime ¶
func (o *PartnerDestinationProperties) GetExpirationTimeIfNotActivatedUtcAsTime() (*time.Time, error)
func (*PartnerDestinationProperties) SetExpirationTimeIfNotActivatedUtcAsTime ¶
func (o *PartnerDestinationProperties) SetExpirationTimeIfNotActivatedUtcAsTime(input time.Time)
type PartnerDestinationProvisioningState ¶
type PartnerDestinationProvisioningState string
const ( PartnerDestinationProvisioningStateCanceled PartnerDestinationProvisioningState = "Canceled" PartnerDestinationProvisioningStateCreating PartnerDestinationProvisioningState = "Creating" PartnerDestinationProvisioningStateDeleting PartnerDestinationProvisioningState = "Deleting" PartnerDestinationProvisioningStateFailed PartnerDestinationProvisioningState = "Failed" PartnerDestinationProvisioningStateIdleDueToMirroredChannelResourceDeletion PartnerDestinationProvisioningState = "IdleDueToMirroredChannelResourceDeletion" PartnerDestinationProvisioningStateSucceeded PartnerDestinationProvisioningState = "Succeeded" PartnerDestinationProvisioningStateUpdating PartnerDestinationProvisioningState = "Updating" )
func (*PartnerDestinationProvisioningState) UnmarshalJSON ¶
func (s *PartnerDestinationProvisioningState) UnmarshalJSON(bytes []byte) error
type PartnerDestinationsClient ¶
type PartnerDestinationsClient struct {
Client *resourcemanager.Client
}
func NewPartnerDestinationsClientWithBaseURI ¶
func NewPartnerDestinationsClientWithBaseURI(sdkApi sdkEnv.Api) (*PartnerDestinationsClient, error)
func (PartnerDestinationsClient) Activate ¶
func (c PartnerDestinationsClient) Activate(ctx context.Context, id PartnerDestinationId) (result ActivateOperationResponse, err error)
Activate ...
func (PartnerDestinationsClient) CreateOrUpdate ¶
func (c PartnerDestinationsClient) CreateOrUpdate(ctx context.Context, id PartnerDestinationId, input PartnerDestination) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PartnerDestinationsClient) CreateOrUpdateThenPoll ¶
func (c PartnerDestinationsClient) CreateOrUpdateThenPoll(ctx context.Context, id PartnerDestinationId, input PartnerDestination) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PartnerDestinationsClient) Delete ¶
func (c PartnerDestinationsClient) Delete(ctx context.Context, id PartnerDestinationId) (result DeleteOperationResponse, err error)
Delete ...
func (PartnerDestinationsClient) DeleteThenPoll ¶
func (c PartnerDestinationsClient) DeleteThenPoll(ctx context.Context, id PartnerDestinationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PartnerDestinationsClient) Get ¶
func (c PartnerDestinationsClient) Get(ctx context.Context, id PartnerDestinationId) (result GetOperationResponse, err error)
Get ...
func (PartnerDestinationsClient) ListByResourceGroup ¶
func (c PartnerDestinationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (PartnerDestinationsClient) ListByResourceGroupComplete ¶
func (c PartnerDestinationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (PartnerDestinationsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c PartnerDestinationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate PartnerDestinationOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PartnerDestinationsClient) ListBySubscription ¶
func (c PartnerDestinationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (PartnerDestinationsClient) ListBySubscriptionComplete ¶
func (c PartnerDestinationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (PartnerDestinationsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c PartnerDestinationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate PartnerDestinationOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PartnerDestinationsClient) Update ¶
func (c PartnerDestinationsClient) Update(ctx context.Context, id PartnerDestinationId, input PartnerDestinationUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (PartnerDestinationsClient) UpdateThenPoll ¶
func (c PartnerDestinationsClient) UpdateThenPoll(ctx context.Context, id PartnerDestinationId, input PartnerDestinationUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_partnerdestination.go
- method_activate.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_partnerdestination.go
- model_partnerdestinationproperties.go
- model_partnerdestinationupdateparameters.go
- predicates.go
- version.go