recoveryservices

package
v63.3.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package recoveryservices implements the Azure ARM Recoveryservices service API version 2016-06-01.

Recovery Services Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Recoveryservices
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AuthType

type AuthType string

AuthType enumerates the values for auth type.

const (
	// AAD ...
	AAD AuthType = "AAD"
	// AccessControlService ...
	AccessControlService AuthType = "AccessControlService"
	// ACS ...
	ACS AuthType = "ACS"
	// AzureActiveDirectory ...
	AzureActiveDirectory AuthType = "AzureActiveDirectory"
	// Invalid ...
	Invalid AuthType = "Invalid"
)

func PossibleAuthTypeValues

func PossibleAuthTypeValues() []AuthType

PossibleAuthTypeValues returns an array of possible values for the AuthType const type.

type AuthTypeBasicResourceCertificateDetails

type AuthTypeBasicResourceCertificateDetails string

AuthTypeBasicResourceCertificateDetails enumerates the values for auth type basic resource certificate details.

const (
	// AuthTypeAccessControlService ...
	AuthTypeAccessControlService AuthTypeBasicResourceCertificateDetails = "AccessControlService"
	// AuthTypeAzureActiveDirectory ...
	AuthTypeAzureActiveDirectory AuthTypeBasicResourceCertificateDetails = "AzureActiveDirectory"
	// AuthTypeResourceCertificateDetails ...
	AuthTypeResourceCertificateDetails AuthTypeBasicResourceCertificateDetails = "ResourceCertificateDetails"
)

func PossibleAuthTypeBasicResourceCertificateDetailsValues

func PossibleAuthTypeBasicResourceCertificateDetailsValues() []AuthTypeBasicResourceCertificateDetails

PossibleAuthTypeBasicResourceCertificateDetailsValues returns an array of possible values for the AuthTypeBasicResourceCertificateDetails const type.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Recoveryservices.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicResourceCertificateDetails

type BasicResourceCertificateDetails interface {
	AsResourceCertificateAndAadDetails() (*ResourceCertificateAndAadDetails, bool)
	AsResourceCertificateAndAcsDetails() (*ResourceCertificateAndAcsDetails, bool)
	AsResourceCertificateDetails() (*ResourceCertificateDetails, bool)
}

BasicResourceCertificateDetails certificate details representing the Vault credentials.

type CertificateRequest

type CertificateRequest struct {
	Properties *RawCertificateData `json:"properties,omitempty"`
}

CertificateRequest details of the certificate to be uploaded to the vault.

type CheckNameAvailabilityParameters

type CheckNameAvailabilityParameters struct {
	// Type - Describes the Resource type: Microsoft.RecoveryServices/Vaults
	Type *string `json:"type,omitempty"`
	// Name - Resource name for which availability needs to be checked
	Name *string `json:"name,omitempty"`
}

CheckNameAvailabilityParameters resource Name availability input parameters - Resource type and resource name

type CheckNameAvailabilityResult

type CheckNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	NameAvailable     *bool   `json:"nameAvailable,omitempty"`
	Reason            *string `json:"reason,omitempty"`
	Message           *string `json:"message,omitempty"`
}

CheckNameAvailabilityResult response for check name availability API. Resource provider will set availability as true | false.

type Client

type Client struct {
	BaseClient
}

Client is the recovery Services Client

func NewClient

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (Client) CheckNameAvailability

func (client Client) CheckNameAvailability(ctx context.Context, resourceGroupName string, location string, input CheckNameAvailabilityParameters) (result CheckNameAvailabilityResult, err error)

CheckNameAvailability sends the check name availability request. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. location - location of the resource input - contains information about Resource type and Resource name

func (Client) CheckNameAvailabilityPreparer

func (client Client) CheckNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, location string, input CheckNameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (Client) CheckNameAvailabilityResponder

func (client Client) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (Client) CheckNameAvailabilitySender

func (client Client) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

type ClientDiscoveryDisplay

type ClientDiscoveryDisplay struct {
	// Provider - Name of the provider for display purposes
	Provider *string `json:"provider,omitempty"`
	// Resource - ResourceType for which this Operation can be performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operations Name itself.
	Operation *string `json:"operation,omitempty"`
	// Description - Description of the operation having details of what operation is about.
	Description *string `json:"description,omitempty"`
}

ClientDiscoveryDisplay localized display information of an operation.

type ClientDiscoveryForLogSpecification

type ClientDiscoveryForLogSpecification struct {
	// Name - Name of the log.
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized display name
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - Blobs created in customer storage account per hour
	BlobDuration *string `json:"blobDuration,omitempty"`
}

ClientDiscoveryForLogSpecification class to represent shoebox log specification in json client discovery.

type ClientDiscoveryForProperties

type ClientDiscoveryForProperties struct {
	// ServiceSpecification - Operation properties.
	ServiceSpecification *ClientDiscoveryForServiceSpecification `json:"serviceSpecification,omitempty"`
}

ClientDiscoveryForProperties class to represent shoebox properties in json client discovery.

type ClientDiscoveryForServiceSpecification

type ClientDiscoveryForServiceSpecification struct {
	// LogSpecifications - List of log specifications of this operation.
	LogSpecifications *[]ClientDiscoveryForLogSpecification `json:"logSpecifications,omitempty"`
}

ClientDiscoveryForServiceSpecification class to represent shoebox service specification in json client discovery.

type ClientDiscoveryResponse

type ClientDiscoveryResponse struct {
	autorest.Response `json:"-"`
	// Value - List of available operations.
	Value *[]ClientDiscoveryValueForSingleAPI `json:"value,omitempty"`
	// NextLink - Link to the next chunk of the response
	NextLink *string `json:"nextLink,omitempty"`
}

ClientDiscoveryResponse operations List response which contains list of available APIs.

func (ClientDiscoveryResponse) IsEmpty

func (cdr ClientDiscoveryResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ClientDiscoveryResponseIterator

type ClientDiscoveryResponseIterator struct {
	// contains filtered or unexported fields
}

ClientDiscoveryResponseIterator provides access to a complete listing of ClientDiscoveryValueForSingleAPI values.

func NewClientDiscoveryResponseIterator

func NewClientDiscoveryResponseIterator(page ClientDiscoveryResponsePage) ClientDiscoveryResponseIterator

Creates a new instance of the ClientDiscoveryResponseIterator type.

func (*ClientDiscoveryResponseIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ClientDiscoveryResponseIterator) NextWithContext

func (iter *ClientDiscoveryResponseIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ClientDiscoveryResponseIterator) NotDone

func (iter ClientDiscoveryResponseIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ClientDiscoveryResponseIterator) Response

Response returns the raw server response from the last page request.

func (ClientDiscoveryResponseIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ClientDiscoveryResponsePage

type ClientDiscoveryResponsePage struct {
	// contains filtered or unexported fields
}

ClientDiscoveryResponsePage contains a page of ClientDiscoveryValueForSingleAPI values.

func NewClientDiscoveryResponsePage

Creates a new instance of the ClientDiscoveryResponsePage type.

func (*ClientDiscoveryResponsePage) Next

func (page *ClientDiscoveryResponsePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ClientDiscoveryResponsePage) NextWithContext

func (page *ClientDiscoveryResponsePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ClientDiscoveryResponsePage) NotDone

func (page ClientDiscoveryResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ClientDiscoveryResponsePage) Response

Response returns the raw server response from the last page request.

func (ClientDiscoveryResponsePage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ClientDiscoveryValueForSingleAPI

type ClientDiscoveryValueForSingleAPI struct {
	// Name - Name of the Operation.
	Name *string `json:"name,omitempty"`
	// Display - Contains the localized display information for this particular operation
	Display *ClientDiscoveryDisplay `json:"display,omitempty"`
	// Origin - The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX
	Origin *string `json:"origin,omitempty"`
	// Properties - ShoeBox properties for the given operation.
	Properties *ClientDiscoveryForProperties `json:"properties,omitempty"`
}

ClientDiscoveryValueForSingleAPI available operation details.

type IdentityData

type IdentityData struct {
	// PrincipalID - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'SystemAssigned', 'None'
	Type ResourceIdentityType `json:"type,omitempty"`
}

IdentityData identity for the resource.

func (IdentityData) MarshalJSON

func (ID IdentityData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IdentityData.

type JobsSummary

type JobsSummary struct {
	// FailedJobs - Count of failed jobs.
	FailedJobs *int32 `json:"failedJobs,omitempty"`
	// SuspendedJobs - Count of suspended jobs.
	SuspendedJobs *int32 `json:"suspendedJobs,omitempty"`
	// InProgressJobs - Count of in-progress jobs.
	InProgressJobs *int32 `json:"inProgressJobs,omitempty"`
}

JobsSummary summary of the replication job data for this vault.

type MonitoringSummary

type MonitoringSummary struct {
	// UnHealthyVMCount - Count of unhealthy VMs.
	UnHealthyVMCount *int32 `json:"unHealthyVmCount,omitempty"`
	// UnHealthyProviderCount - Count of unhealthy replication providers.
	UnHealthyProviderCount *int32 `json:"unHealthyProviderCount,omitempty"`
	// EventsCount - Count of all critical warnings.
	EventsCount *int32 `json:"eventsCount,omitempty"`
	// DeprecatedProviderCount - Count of all deprecated recovery service providers.
	DeprecatedProviderCount *int32 `json:"deprecatedProviderCount,omitempty"`
	// SupportedProviderCount - Count of all the supported recovery service providers.
	SupportedProviderCount *int32 `json:"supportedProviderCount,omitempty"`
	// UnsupportedProviderCount - Count of all the unsupported recovery service providers.
	UnsupportedProviderCount *int32 `json:"unsupportedProviderCount,omitempty"`
}

MonitoringSummary summary of the replication monitoring data for this vault.

type NameInfo

type NameInfo struct {
	// Value - Value of usage.
	Value *string `json:"value,omitempty"`
	// LocalizedValue - Localized value of usage.
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

NameInfo the name of usage.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the recovery Services Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result ClientDiscoveryResponsePage, err error)

List returns the list of available operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result ClientDiscoveryResponseIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result ClientDiscoveryResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PatchTrackedResource

type PatchTrackedResource struct {
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type *string `json:"type,omitempty"`
	// ETag - Optional ETag.
	ETag *string `json:"eTag,omitempty"`
}

PatchTrackedResource tracked resource with location.

func (PatchTrackedResource) MarshalJSON

func (ptr PatchTrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchTrackedResource.

type PatchVault

type PatchVault struct {
	Properties *VaultProperties `json:"properties,omitempty"`
	Sku        *Sku             `json:"sku,omitempty"`
	Identity   *IdentityData    `json:"identity,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type *string `json:"type,omitempty"`
	// ETag - Optional ETag.
	ETag *string `json:"eTag,omitempty"`
}

PatchVault patch Resource information, as returned by the resource provider.

func (PatchVault) MarshalJSON

func (pv PatchVault) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchVault.

type PrivateEndpoint

type PrivateEndpoint struct {
	// ID - READ-ONLY; Gets or sets id.
	ID *string `json:"id,omitempty"`
}

PrivateEndpoint the Private Endpoint network resource that is linked to the Private Endpoint connection.

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	// ProvisioningState - READ-ONLY; Gets or sets provisioning state of the private endpoint connection. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateDeleting', 'ProvisioningStateFailed', 'ProvisioningStatePending'
	ProvisioningState                 ProvisioningState                  `json:"provisioningState,omitempty"`
	PrivateEndpoint                   *PrivateEndpoint                   `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
}

PrivateEndpointConnection private Endpoint Connection Response Properties.

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

type PrivateEndpointConnectionStatus

type PrivateEndpointConnectionStatus string

PrivateEndpointConnectionStatus enumerates the values for private endpoint connection status.

const (
	// Approved ...
	Approved PrivateEndpointConnectionStatus = "Approved"
	// Disconnected ...
	Disconnected PrivateEndpointConnectionStatus = "Disconnected"
	// Pending ...
	Pending PrivateEndpointConnectionStatus = "Pending"
	// Rejected ...
	Rejected PrivateEndpointConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointConnectionStatusValues

func PossiblePrivateEndpointConnectionStatusValues() []PrivateEndpointConnectionStatus

PossiblePrivateEndpointConnectionStatusValues returns an array of possible values for the PrivateEndpointConnectionStatus const type.

type PrivateEndpointConnectionVaultProperties

type PrivateEndpointConnectionVaultProperties struct {
	// ID - READ-ONLY; Format of id subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.[Service]/{resource}/{resourceName}/privateEndpointConnections/{connectionName}.
	ID         *string                    `json:"id,omitempty"`
	Properties *PrivateEndpointConnection `json:"properties,omitempty"`
}

PrivateEndpointConnectionVaultProperties information to be stored in Vault properties as an element of privateEndpointConnections List.

func (PrivateEndpointConnectionVaultProperties) MarshalJSON

func (pecvp PrivateEndpointConnectionVaultProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionVaultProperties.

type PrivateLinkResource

type PrivateLinkResource struct {
	autorest.Response `json:"-"`
	// PrivateLinkResourceProperties - Resource properties
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified identifier of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; e.g. Microsoft.RecoveryServices/vaults/privateLinkResources
	Type *string `json:"type,omitempty"`
}

PrivateLinkResource information of the private link resource.

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// GroupID - READ-ONLY; e.g. f9ad6492-33d4-4690-9999-6bfd52a0d081 (Backup) or f9ad6492-33d4-4690-9999-6bfd52a0d082 (SiteRecovery)
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMembers - READ-ONLY; [backup-ecs1, backup-prot1, backup-prot1b, backup-prot1c, backup-id1]
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
	// RequiredZoneNames - READ-ONLY; The private link resource Private link DNS zone name.
	RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

PrivateLinkResourceProperties properties of the private link resource.

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkResources

type PrivateLinkResources struct {
	autorest.Response `json:"-"`
	// Value - A collection of private link resources
	Value *[]PrivateLinkResource `json:"value,omitempty"`
	// NextLink - Link to the next chunk of the response
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateLinkResources class which represent the stamps associated with the vault.

func (PrivateLinkResources) IsEmpty

func (plr PrivateLinkResources) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	BaseClient
}

PrivateLinkResourcesClient is the recovery Services Client

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) Get

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, vaultName string, privateLinkResourceName string) (result PrivateLinkResource, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault.

func (PrivateLinkResourcesClient) GetPreparer

func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string, privateLinkResourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) GetSender

func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkResourcesClient) List

func (client PrivateLinkResourcesClient) List(ctx context.Context, resourceGroupName string, vaultName string) (result PrivateLinkResourcesPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault.

func (PrivateLinkResourcesClient) ListComplete

func (client PrivateLinkResourcesClient) ListComplete(ctx context.Context, resourceGroupName string, vaultName string) (result PrivateLinkResourcesIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkResourcesClient) ListPreparer

func (client PrivateLinkResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateLinkResourcesClient) ListResponder

func (client PrivateLinkResourcesClient) ListResponder(resp *http.Response) (result PrivateLinkResources, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListSender

func (client PrivateLinkResourcesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateLinkResourcesIterator

type PrivateLinkResourcesIterator struct {
	// contains filtered or unexported fields
}

PrivateLinkResourcesIterator provides access to a complete listing of PrivateLinkResource values.

func NewPrivateLinkResourcesIterator

func NewPrivateLinkResourcesIterator(page PrivateLinkResourcesPage) PrivateLinkResourcesIterator

Creates a new instance of the PrivateLinkResourcesIterator type.

func (*PrivateLinkResourcesIterator) Next

func (iter *PrivateLinkResourcesIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourcesIterator) NextWithContext

func (iter *PrivateLinkResourcesIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateLinkResourcesIterator) NotDone

func (iter PrivateLinkResourcesIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateLinkResourcesIterator) Response

Response returns the raw server response from the last page request.

func (PrivateLinkResourcesIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateLinkResourcesPage

type PrivateLinkResourcesPage struct {
	// contains filtered or unexported fields
}

PrivateLinkResourcesPage contains a page of PrivateLinkResource values.

func NewPrivateLinkResourcesPage

func NewPrivateLinkResourcesPage(cur PrivateLinkResources, getNextPage func(context.Context, PrivateLinkResources) (PrivateLinkResources, error)) PrivateLinkResourcesPage

Creates a new instance of the PrivateLinkResourcesPage type.

func (*PrivateLinkResourcesPage) Next

func (page *PrivateLinkResourcesPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourcesPage) NextWithContext

func (page *PrivateLinkResourcesPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateLinkResourcesPage) NotDone

func (page PrivateLinkResourcesPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateLinkResourcesPage) Response

Response returns the raw server response from the last page request.

func (PrivateLinkResourcesPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// Status - READ-ONLY; Gets or sets the status. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
	Status PrivateEndpointConnectionStatus `json:"status,omitempty"`
	// Description - READ-ONLY; Gets or sets description.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - READ-ONLY; Gets or sets actions required.
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState gets or sets private link service connection state.

func (PrivateLinkServiceConnectionState) MarshalJSON

func (plscs PrivateLinkServiceConnectionState) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkServiceConnectionState.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateDeleting ...
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStatePending ...
	ProvisioningStatePending ProvisioningState = "Pending"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type RawCertificateData

type RawCertificateData struct {
	// AuthType - Specifies the authentication type. Possible values include: 'Invalid', 'ACS', 'AAD', 'AccessControlService', 'AzureActiveDirectory'
	AuthType AuthType `json:"authType,omitempty"`
	// Certificate - The base64 encoded certificate raw data string
	Certificate *[]byte `json:"certificate,omitempty"`
}

RawCertificateData raw certificate data.

type RegisteredIdentitiesClient

type RegisteredIdentitiesClient struct {
	BaseClient
}

RegisteredIdentitiesClient is the recovery Services Client

func NewRegisteredIdentitiesClient

func NewRegisteredIdentitiesClient(subscriptionID string) RegisteredIdentitiesClient

NewRegisteredIdentitiesClient creates an instance of the RegisteredIdentitiesClient client.

func NewRegisteredIdentitiesClientWithBaseURI

func NewRegisteredIdentitiesClientWithBaseURI(baseURI string, subscriptionID string) RegisteredIdentitiesClient

NewRegisteredIdentitiesClientWithBaseURI creates an instance of the RegisteredIdentitiesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RegisteredIdentitiesClient) Delete

func (client RegisteredIdentitiesClient) Delete(ctx context.Context, resourceGroupName string, vaultName string, identityName string) (result autorest.Response, err error)

Delete unregisters the given container from your Recovery Services vault. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault. identityName - name of the protection container to unregister.

func (RegisteredIdentitiesClient) DeletePreparer

func (client RegisteredIdentitiesClient) DeletePreparer(ctx context.Context, resourceGroupName string, vaultName string, identityName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RegisteredIdentitiesClient) DeleteResponder

func (client RegisteredIdentitiesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RegisteredIdentitiesClient) DeleteSender

func (client RegisteredIdentitiesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

type ReplicationUsage

type ReplicationUsage struct {
	// MonitoringSummary - Summary of the replication monitoring data for this vault.
	MonitoringSummary *MonitoringSummary `json:"monitoringSummary,omitempty"`
	// JobsSummary - Summary of the replication jobs data for this vault.
	JobsSummary *JobsSummary `json:"jobsSummary,omitempty"`
	// ProtectedItemCount - Number of replication protected items for this vault.
	ProtectedItemCount *int32 `json:"protectedItemCount,omitempty"`
	// RecoveryPlanCount - Number of replication recovery plans for this vault.
	RecoveryPlanCount *int32 `json:"recoveryPlanCount,omitempty"`
	// RegisteredServersCount - Number of servers registered to this vault.
	RegisteredServersCount *int32 `json:"registeredServersCount,omitempty"`
	// RecoveryServicesProviderAuthType - The authentication type of recovery service providers in the vault.
	RecoveryServicesProviderAuthType *int32 `json:"recoveryServicesProviderAuthType,omitempty"`
}

ReplicationUsage replication usages of a vault.

type ReplicationUsageList

type ReplicationUsageList struct {
	autorest.Response `json:"-"`
	// Value - The list of replication usages for the given vault.
	Value *[]ReplicationUsage `json:"value,omitempty"`
}

ReplicationUsageList replication usages for vault.

type ReplicationUsagesClient

type ReplicationUsagesClient struct {
	BaseClient
}

ReplicationUsagesClient is the recovery Services Client

func NewReplicationUsagesClient

func NewReplicationUsagesClient(subscriptionID string) ReplicationUsagesClient

NewReplicationUsagesClient creates an instance of the ReplicationUsagesClient client.

func NewReplicationUsagesClientWithBaseURI

func NewReplicationUsagesClientWithBaseURI(baseURI string, subscriptionID string) ReplicationUsagesClient

NewReplicationUsagesClientWithBaseURI creates an instance of the ReplicationUsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationUsagesClient) List

func (client ReplicationUsagesClient) List(ctx context.Context, resourceGroupName string, vaultName string) (result ReplicationUsageList, err error)

List fetches the replication usages of the vault. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault.

func (ReplicationUsagesClient) ListPreparer

func (client ReplicationUsagesClient) ListPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationUsagesClient) ListResponder

func (client ReplicationUsagesClient) ListResponder(resp *http.Response) (result ReplicationUsageList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationUsagesClient) ListSender

func (client ReplicationUsagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type *string `json:"type,omitempty"`
	// ETag - Optional ETag.
	ETag *string `json:"eTag,omitempty"`
}

Resource ARM Resource.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceCertificateAndAadDetails

type ResourceCertificateAndAadDetails struct {
	// AadAuthority - AAD tenant authority.
	AadAuthority *string `json:"aadAuthority,omitempty"`
	// AadTenantID - AAD tenant Id.
	AadTenantID *string `json:"aadTenantId,omitempty"`
	// ServicePrincipalClientID - AAD service principal clientId.
	ServicePrincipalClientID *string `json:"servicePrincipalClientId,omitempty"`
	// ServicePrincipalObjectID - AAD service principal ObjectId.
	ServicePrincipalObjectID *string `json:"servicePrincipalObjectId,omitempty"`
	// AzureManagementEndpointAudience - Azure Management Endpoint Audience.
	AzureManagementEndpointAudience *string `json:"azureManagementEndpointAudience,omitempty"`
	// Certificate - The base64 encoded certificate raw data string.
	Certificate *[]byte `json:"certificate,omitempty"`
	// FriendlyName - Certificate friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// Issuer - Certificate issuer.
	Issuer *string `json:"issuer,omitempty"`
	// ResourceID - Resource ID of the vault.
	ResourceID *int64 `json:"resourceId,omitempty"`
	// Subject - Certificate Subject Name.
	Subject *string `json:"subject,omitempty"`
	// Thumbprint - Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// ValidFrom - Certificate Validity start Date time.
	ValidFrom *date.Time `json:"validFrom,omitempty"`
	// ValidTo - Certificate Validity End Date time.
	ValidTo *date.Time `json:"validTo,omitempty"`
	// AuthType - Possible values include: 'AuthTypeResourceCertificateDetails', 'AuthTypeAzureActiveDirectory', 'AuthTypeAccessControlService'
	AuthType AuthTypeBasicResourceCertificateDetails `json:"authType,omitempty"`
}

ResourceCertificateAndAadDetails certificate details representing the Vault credentials for AAD.

func (ResourceCertificateAndAadDetails) AsBasicResourceCertificateDetails

func (rcaad ResourceCertificateAndAadDetails) AsBasicResourceCertificateDetails() (BasicResourceCertificateDetails, bool)

AsBasicResourceCertificateDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateAndAadDetails.

func (ResourceCertificateAndAadDetails) AsResourceCertificateAndAadDetails

func (rcaad ResourceCertificateAndAadDetails) AsResourceCertificateAndAadDetails() (*ResourceCertificateAndAadDetails, bool)

AsResourceCertificateAndAadDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateAndAadDetails.

func (ResourceCertificateAndAadDetails) AsResourceCertificateAndAcsDetails

func (rcaad ResourceCertificateAndAadDetails) AsResourceCertificateAndAcsDetails() (*ResourceCertificateAndAcsDetails, bool)

AsResourceCertificateAndAcsDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateAndAadDetails.

func (ResourceCertificateAndAadDetails) AsResourceCertificateDetails

func (rcaad ResourceCertificateAndAadDetails) AsResourceCertificateDetails() (*ResourceCertificateDetails, bool)

AsResourceCertificateDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateAndAadDetails.

func (ResourceCertificateAndAadDetails) MarshalJSON

func (rcaad ResourceCertificateAndAadDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceCertificateAndAadDetails.

type ResourceCertificateAndAcsDetails

type ResourceCertificateAndAcsDetails struct {
	// GlobalAcsNamespace - ACS namespace name - tenant for our service.
	GlobalAcsNamespace *string `json:"globalAcsNamespace,omitempty"`
	// GlobalAcsHostName - Acs mgmt host name to connect to.
	GlobalAcsHostName *string `json:"globalAcsHostName,omitempty"`
	// GlobalAcsRPRealm - Global ACS namespace RP realm.
	GlobalAcsRPRealm *string `json:"globalAcsRPRealm,omitempty"`
	// Certificate - The base64 encoded certificate raw data string.
	Certificate *[]byte `json:"certificate,omitempty"`
	// FriendlyName - Certificate friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// Issuer - Certificate issuer.
	Issuer *string `json:"issuer,omitempty"`
	// ResourceID - Resource ID of the vault.
	ResourceID *int64 `json:"resourceId,omitempty"`
	// Subject - Certificate Subject Name.
	Subject *string `json:"subject,omitempty"`
	// Thumbprint - Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// ValidFrom - Certificate Validity start Date time.
	ValidFrom *date.Time `json:"validFrom,omitempty"`
	// ValidTo - Certificate Validity End Date time.
	ValidTo *date.Time `json:"validTo,omitempty"`
	// AuthType - Possible values include: 'AuthTypeResourceCertificateDetails', 'AuthTypeAzureActiveDirectory', 'AuthTypeAccessControlService'
	AuthType AuthTypeBasicResourceCertificateDetails `json:"authType,omitempty"`
}

ResourceCertificateAndAcsDetails certificate details representing the Vault credentials for ACS.

func (ResourceCertificateAndAcsDetails) AsBasicResourceCertificateDetails

func (rcaad ResourceCertificateAndAcsDetails) AsBasicResourceCertificateDetails() (BasicResourceCertificateDetails, bool)

AsBasicResourceCertificateDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateAndAcsDetails.

func (ResourceCertificateAndAcsDetails) AsResourceCertificateAndAadDetails

func (rcaad ResourceCertificateAndAcsDetails) AsResourceCertificateAndAadDetails() (*ResourceCertificateAndAadDetails, bool)

AsResourceCertificateAndAadDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateAndAcsDetails.

func (ResourceCertificateAndAcsDetails) AsResourceCertificateAndAcsDetails

func (rcaad ResourceCertificateAndAcsDetails) AsResourceCertificateAndAcsDetails() (*ResourceCertificateAndAcsDetails, bool)

AsResourceCertificateAndAcsDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateAndAcsDetails.

func (ResourceCertificateAndAcsDetails) AsResourceCertificateDetails

func (rcaad ResourceCertificateAndAcsDetails) AsResourceCertificateDetails() (*ResourceCertificateDetails, bool)

AsResourceCertificateDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateAndAcsDetails.

func (ResourceCertificateAndAcsDetails) MarshalJSON

func (rcaad ResourceCertificateAndAcsDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceCertificateAndAcsDetails.

type ResourceCertificateDetails

type ResourceCertificateDetails struct {
	// Certificate - The base64 encoded certificate raw data string.
	Certificate *[]byte `json:"certificate,omitempty"`
	// FriendlyName - Certificate friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// Issuer - Certificate issuer.
	Issuer *string `json:"issuer,omitempty"`
	// ResourceID - Resource ID of the vault.
	ResourceID *int64 `json:"resourceId,omitempty"`
	// Subject - Certificate Subject Name.
	Subject *string `json:"subject,omitempty"`
	// Thumbprint - Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// ValidFrom - Certificate Validity start Date time.
	ValidFrom *date.Time `json:"validFrom,omitempty"`
	// ValidTo - Certificate Validity End Date time.
	ValidTo *date.Time `json:"validTo,omitempty"`
	// AuthType - Possible values include: 'AuthTypeResourceCertificateDetails', 'AuthTypeAzureActiveDirectory', 'AuthTypeAccessControlService'
	AuthType AuthTypeBasicResourceCertificateDetails `json:"authType,omitempty"`
}

ResourceCertificateDetails certificate details representing the Vault credentials.

func (ResourceCertificateDetails) AsBasicResourceCertificateDetails

func (rcd ResourceCertificateDetails) AsBasicResourceCertificateDetails() (BasicResourceCertificateDetails, bool)

AsBasicResourceCertificateDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateDetails.

func (ResourceCertificateDetails) AsResourceCertificateAndAadDetails

func (rcd ResourceCertificateDetails) AsResourceCertificateAndAadDetails() (*ResourceCertificateAndAadDetails, bool)

AsResourceCertificateAndAadDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateDetails.

func (ResourceCertificateDetails) AsResourceCertificateAndAcsDetails

func (rcd ResourceCertificateDetails) AsResourceCertificateAndAcsDetails() (*ResourceCertificateAndAcsDetails, bool)

AsResourceCertificateAndAcsDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateDetails.

func (ResourceCertificateDetails) AsResourceCertificateDetails

func (rcd ResourceCertificateDetails) AsResourceCertificateDetails() (*ResourceCertificateDetails, bool)

AsResourceCertificateDetails is the BasicResourceCertificateDetails implementation for ResourceCertificateDetails.

func (ResourceCertificateDetails) MarshalJSON

func (rcd ResourceCertificateDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceCertificateDetails.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// None ...
	None ResourceIdentityType = "None"
	// SystemAssigned ...
	SystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type Sku

type Sku struct {
	// Name - The Sku name. Possible values include: 'Standard', 'RS0'
	Name SkuName `json:"name,omitempty"`
}

Sku identifies the unique system identifier for each Azure resource.

type SkuName

type SkuName string

SkuName enumerates the values for sku name.

const (
	// RS0 ...
	RS0 SkuName = "RS0"
	// Standard ...
	Standard SkuName = "Standard"
)

func PossibleSkuNameValues

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

type TrackedResource

type TrackedResource struct {
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type *string `json:"type,omitempty"`
	// ETag - Optional ETag.
	ETag *string `json:"eTag,omitempty"`
}

TrackedResource tracked resource with location.

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type TriggerType

type TriggerType string

TriggerType enumerates the values for trigger type.

const (
	// ForcedUpgrade ...
	ForcedUpgrade TriggerType = "ForcedUpgrade"
	// UserTriggered ...
	UserTriggered TriggerType = "UserTriggered"
)

func PossibleTriggerTypeValues

func PossibleTriggerTypeValues() []TriggerType

PossibleTriggerTypeValues returns an array of possible values for the TriggerType const type.

type UpgradeDetails

type UpgradeDetails struct {
	// OperationID - READ-ONLY; ID of the vault upgrade operation.
	OperationID *string `json:"operationId,omitempty"`
	// StartTimeUtc - READ-ONLY; UTC time at which the upgrade operation has started.
	StartTimeUtc *date.Time `json:"startTimeUtc,omitempty"`
	// LastUpdatedTimeUtc - READ-ONLY; UTC time at which the upgrade operation status was last updated.
	LastUpdatedTimeUtc *date.Time `json:"lastUpdatedTimeUtc,omitempty"`
	// EndTimeUtc - READ-ONLY; UTC time at which the upgrade operation has ended.
	EndTimeUtc *date.Time `json:"endTimeUtc,omitempty"`
	// Status - READ-ONLY; Status of the vault upgrade operation. Possible values include: 'Unknown', 'InProgress', 'Upgraded', 'Failed'
	Status VaultUpgradeState `json:"status,omitempty"`
	// Message - READ-ONLY; Message to the user containing information about the upgrade operation.
	Message *string `json:"message,omitempty"`
	// TriggerType - READ-ONLY; The way the vault upgrade was triggered. Possible values include: 'UserTriggered', 'ForcedUpgrade'
	TriggerType TriggerType `json:"triggerType,omitempty"`
	// UpgradedResourceID - READ-ONLY; Resource ID of the upgraded vault.
	UpgradedResourceID *string `json:"upgradedResourceId,omitempty"`
	// PreviousResourceID - READ-ONLY; Resource ID of the vault before the upgrade.
	PreviousResourceID *string `json:"previousResourceId,omitempty"`
}

UpgradeDetails details for upgrading vault.

func (UpgradeDetails) MarshalJSON

func (ud UpgradeDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpgradeDetails.

type UsagesClient

type UsagesClient struct {
	BaseClient
}

UsagesClient is the recovery Services Client

func NewUsagesClient

func NewUsagesClient(subscriptionID string) UsagesClient

NewUsagesClient creates an instance of the UsagesClient client.

func NewUsagesClientWithBaseURI

func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient

NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (UsagesClient) ListByVaults

func (client UsagesClient) ListByVaults(ctx context.Context, resourceGroupName string, vaultName string) (result VaultUsageList, err error)

ListByVaults fetches the usages of the vault. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault.

func (UsagesClient) ListByVaultsPreparer

func (client UsagesClient) ListByVaultsPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)

ListByVaultsPreparer prepares the ListByVaults request.

func (UsagesClient) ListByVaultsResponder

func (client UsagesClient) ListByVaultsResponder(resp *http.Response) (result VaultUsageList, err error)

ListByVaultsResponder handles the response to the ListByVaults request. The method always closes the http.Response Body.

func (UsagesClient) ListByVaultsSender

func (client UsagesClient) ListByVaultsSender(req *http.Request) (*http.Response, error)

ListByVaultsSender sends the ListByVaults request. The method will close the http.Response Body if it receives an error.

type UsagesUnit

type UsagesUnit string

UsagesUnit enumerates the values for usages unit.

const (
	// Bytes ...
	Bytes UsagesUnit = "Bytes"
	// BytesPerSecond ...
	BytesPerSecond UsagesUnit = "BytesPerSecond"
	// Count ...
	Count UsagesUnit = "Count"
	// CountPerSecond ...
	CountPerSecond UsagesUnit = "CountPerSecond"
	// Percent ...
	Percent UsagesUnit = "Percent"
	// Seconds ...
	Seconds UsagesUnit = "Seconds"
)

func PossibleUsagesUnitValues

func PossibleUsagesUnitValues() []UsagesUnit

PossibleUsagesUnitValues returns an array of possible values for the UsagesUnit const type.

type Vault

type Vault struct {
	autorest.Response `json:"-"`
	Identity          *IdentityData    `json:"identity,omitempty"`
	Properties        *VaultProperties `json:"properties,omitempty"`
	Sku               *Sku             `json:"sku,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type *string `json:"type,omitempty"`
	// ETag - Optional ETag.
	ETag *string `json:"eTag,omitempty"`
}

Vault resource information, as returned by the resource provider.

func (Vault) MarshalJSON

func (vVar Vault) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Vault.

type VaultCertificateResponse

type VaultCertificateResponse struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type *string `json:"type,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID         *string                         `json:"id,omitempty"`
	Properties BasicResourceCertificateDetails `json:"properties,omitempty"`
}

VaultCertificateResponse certificate corresponding to a vault that can be used by clients to register themselves with the vault.

func (VaultCertificateResponse) MarshalJSON

func (vcr VaultCertificateResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VaultCertificateResponse.

func (*VaultCertificateResponse) UnmarshalJSON

func (vcr *VaultCertificateResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VaultCertificateResponse struct.

type VaultCertificatesClient

type VaultCertificatesClient struct {
	BaseClient
}

VaultCertificatesClient is the recovery Services Client

func NewVaultCertificatesClient

func NewVaultCertificatesClient(subscriptionID string) VaultCertificatesClient

NewVaultCertificatesClient creates an instance of the VaultCertificatesClient client.

func NewVaultCertificatesClientWithBaseURI

func NewVaultCertificatesClientWithBaseURI(baseURI string, subscriptionID string) VaultCertificatesClient

NewVaultCertificatesClientWithBaseURI creates an instance of the VaultCertificatesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VaultCertificatesClient) Create

func (client VaultCertificatesClient) Create(ctx context.Context, resourceGroupName string, vaultName string, certificateName string, certificateRequest CertificateRequest) (result VaultCertificateResponse, err error)

Create uploads a certificate for a resource. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault. certificateName - certificate friendly name. certificateRequest - input parameters for uploading the vault certificate.

func (VaultCertificatesClient) CreatePreparer

func (client VaultCertificatesClient) CreatePreparer(ctx context.Context, resourceGroupName string, vaultName string, certificateName string, certificateRequest CertificateRequest) (*http.Request, error)

CreatePreparer prepares the Create request.

func (VaultCertificatesClient) CreateResponder

func (client VaultCertificatesClient) CreateResponder(resp *http.Response) (result VaultCertificateResponse, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (VaultCertificatesClient) CreateSender

func (client VaultCertificatesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

type VaultExtendedInfo

type VaultExtendedInfo struct {
	// IntegrityKey - Integrity key.
	IntegrityKey *string `json:"integrityKey,omitempty"`
	// EncryptionKey - Encryption key.
	EncryptionKey *string `json:"encryptionKey,omitempty"`
	// EncryptionKeyThumbprint - Encryption key thumbprint.
	EncryptionKeyThumbprint *string `json:"encryptionKeyThumbprint,omitempty"`
	// Algorithm - Algorithm for Vault ExtendedInfo
	Algorithm *string `json:"algorithm,omitempty"`
}

VaultExtendedInfo vault extended information.

type VaultExtendedInfoClient

type VaultExtendedInfoClient struct {
	BaseClient
}

VaultExtendedInfoClient is the recovery Services Client

func NewVaultExtendedInfoClient

func NewVaultExtendedInfoClient(subscriptionID string) VaultExtendedInfoClient

NewVaultExtendedInfoClient creates an instance of the VaultExtendedInfoClient client.

func NewVaultExtendedInfoClientWithBaseURI

func NewVaultExtendedInfoClientWithBaseURI(baseURI string, subscriptionID string) VaultExtendedInfoClient

NewVaultExtendedInfoClientWithBaseURI creates an instance of the VaultExtendedInfoClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VaultExtendedInfoClient) CreateOrUpdate

func (client VaultExtendedInfoClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vaultName string, resourceResourceExtendedInfoDetails VaultExtendedInfoResource) (result VaultExtendedInfoResource, err error)

CreateOrUpdate create vault extended info. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault. resourceResourceExtendedInfoDetails - details of ResourceExtendedInfo

func (VaultExtendedInfoClient) CreateOrUpdatePreparer

func (client VaultExtendedInfoClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vaultName string, resourceResourceExtendedInfoDetails VaultExtendedInfoResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VaultExtendedInfoClient) CreateOrUpdateResponder

func (client VaultExtendedInfoClient) CreateOrUpdateResponder(resp *http.Response) (result VaultExtendedInfoResource, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VaultExtendedInfoClient) CreateOrUpdateSender

func (client VaultExtendedInfoClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VaultExtendedInfoClient) Get

func (client VaultExtendedInfoClient) Get(ctx context.Context, resourceGroupName string, vaultName string) (result VaultExtendedInfoResource, err error)

Get get the vault extended info. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault.

func (VaultExtendedInfoClient) GetPreparer

func (client VaultExtendedInfoClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VaultExtendedInfoClient) GetResponder

func (client VaultExtendedInfoClient) GetResponder(resp *http.Response) (result VaultExtendedInfoResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VaultExtendedInfoClient) GetSender

func (client VaultExtendedInfoClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VaultExtendedInfoClient) Update

func (client VaultExtendedInfoClient) Update(ctx context.Context, resourceGroupName string, vaultName string, resourceResourceExtendedInfoDetails VaultExtendedInfoResource) (result VaultExtendedInfoResource, err error)

Update update vault extended info. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault. resourceResourceExtendedInfoDetails - details of ResourceExtendedInfo

func (VaultExtendedInfoClient) UpdatePreparer

func (client VaultExtendedInfoClient) UpdatePreparer(ctx context.Context, resourceGroupName string, vaultName string, resourceResourceExtendedInfoDetails VaultExtendedInfoResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VaultExtendedInfoClient) UpdateResponder

func (client VaultExtendedInfoClient) UpdateResponder(resp *http.Response) (result VaultExtendedInfoResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VaultExtendedInfoClient) UpdateSender

func (client VaultExtendedInfoClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VaultExtendedInfoResource

type VaultExtendedInfoResource struct {
	autorest.Response  `json:"-"`
	*VaultExtendedInfo `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id represents the complete path to the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name associated with the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
	Type *string `json:"type,omitempty"`
	// ETag - Optional ETag.
	ETag *string `json:"eTag,omitempty"`
}

VaultExtendedInfoResource vault extended information.

func (VaultExtendedInfoResource) MarshalJSON

func (veir VaultExtendedInfoResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VaultExtendedInfoResource.

func (*VaultExtendedInfoResource) UnmarshalJSON

func (veir *VaultExtendedInfoResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VaultExtendedInfoResource struct.

type VaultList

type VaultList struct {
	autorest.Response `json:"-"`
	Value             *[]Vault `json:"value,omitempty"`
	// NextLink - READ-ONLY
	NextLink *string `json:"nextLink,omitempty"`
}

VaultList the response model for a list of Vaults.

func (VaultList) IsEmpty

func (vl VaultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (VaultList) MarshalJSON

func (vl VaultList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VaultList.

type VaultListIterator

type VaultListIterator struct {
	// contains filtered or unexported fields
}

VaultListIterator provides access to a complete listing of Vault values.

func NewVaultListIterator

func NewVaultListIterator(page VaultListPage) VaultListIterator

Creates a new instance of the VaultListIterator type.

func (*VaultListIterator) Next

func (iter *VaultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VaultListIterator) NextWithContext

func (iter *VaultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VaultListIterator) NotDone

func (iter VaultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VaultListIterator) Response

func (iter VaultListIterator) Response() VaultList

Response returns the raw server response from the last page request.

func (VaultListIterator) Value

func (iter VaultListIterator) Value() Vault

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VaultListPage

type VaultListPage struct {
	// contains filtered or unexported fields
}

VaultListPage contains a page of Vault values.

func NewVaultListPage

func NewVaultListPage(cur VaultList, getNextPage func(context.Context, VaultList) (VaultList, error)) VaultListPage

Creates a new instance of the VaultListPage type.

func (*VaultListPage) Next

func (page *VaultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VaultListPage) NextWithContext

func (page *VaultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VaultListPage) NotDone

func (page VaultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VaultListPage) Response

func (page VaultListPage) Response() VaultList

Response returns the raw server response from the last page request.

func (VaultListPage) Values

func (page VaultListPage) Values() []Vault

Values returns the slice of values for the current page or nil if there are no values.

type VaultPrivateEndpointState

type VaultPrivateEndpointState string

VaultPrivateEndpointState enumerates the values for vault private endpoint state.

const (
	// VaultPrivateEndpointStateEnabled ...
	VaultPrivateEndpointStateEnabled VaultPrivateEndpointState = "Enabled"
	// VaultPrivateEndpointStateNone ...
	VaultPrivateEndpointStateNone VaultPrivateEndpointState = "None"
)

func PossibleVaultPrivateEndpointStateValues

func PossibleVaultPrivateEndpointStateValues() []VaultPrivateEndpointState

PossibleVaultPrivateEndpointStateValues returns an array of possible values for the VaultPrivateEndpointState const type.

type VaultProperties

type VaultProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning State.
	ProvisioningState *string         `json:"provisioningState,omitempty"`
	UpgradeDetails    *UpgradeDetails `json:"upgradeDetails,omitempty"`
	// PrivateEndpointConnections - READ-ONLY; List of private endpoint connection.
	PrivateEndpointConnections *[]PrivateEndpointConnectionVaultProperties `json:"privateEndpointConnections,omitempty"`
	// PrivateEndpointStateForBackup - READ-ONLY; Private endpoint state for backup. Possible values include: 'VaultPrivateEndpointStateNone', 'VaultPrivateEndpointStateEnabled'
	PrivateEndpointStateForBackup VaultPrivateEndpointState `json:"privateEndpointStateForBackup,omitempty"`
	// PrivateEndpointStateForSiteRecovery - READ-ONLY; Private endpoint state for site recovery. Possible values include: 'VaultPrivateEndpointStateNone', 'VaultPrivateEndpointStateEnabled'
	PrivateEndpointStateForSiteRecovery VaultPrivateEndpointState `json:"privateEndpointStateForSiteRecovery,omitempty"`
}

VaultProperties properties of the vault.

func (VaultProperties) MarshalJSON

func (vp VaultProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VaultProperties.

type VaultUpgradeState

type VaultUpgradeState string

VaultUpgradeState enumerates the values for vault upgrade state.

const (
	// Failed ...
	Failed VaultUpgradeState = "Failed"
	// InProgress ...
	InProgress VaultUpgradeState = "InProgress"
	// Unknown ...
	Unknown VaultUpgradeState = "Unknown"
	// Upgraded ...
	Upgraded VaultUpgradeState = "Upgraded"
)

func PossibleVaultUpgradeStateValues

func PossibleVaultUpgradeStateValues() []VaultUpgradeState

PossibleVaultUpgradeStateValues returns an array of possible values for the VaultUpgradeState const type.

type VaultUsage

type VaultUsage struct {
	// Unit - Unit of the usage. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond'
	Unit UsagesUnit `json:"unit,omitempty"`
	// QuotaPeriod - Quota period of usage.
	QuotaPeriod *string `json:"quotaPeriod,omitempty"`
	// NextResetTime - Next reset time of usage.
	NextResetTime *date.Time `json:"nextResetTime,omitempty"`
	// CurrentValue - Current value of usage.
	CurrentValue *int64 `json:"currentValue,omitempty"`
	// Limit - Limit of usage.
	Limit *int64 `json:"limit,omitempty"`
	// Name - Name of usage.
	Name *NameInfo `json:"name,omitempty"`
}

VaultUsage usages of a vault.

type VaultUsageList

type VaultUsageList struct {
	autorest.Response `json:"-"`
	// Value - The list of usages for the given vault.
	Value *[]VaultUsage `json:"value,omitempty"`
}

VaultUsageList usage for vault.

type VaultsClient

type VaultsClient struct {
	BaseClient
}

VaultsClient is the recovery Services Client

func NewVaultsClient

func NewVaultsClient(subscriptionID string) VaultsClient

NewVaultsClient creates an instance of the VaultsClient client.

func NewVaultsClientWithBaseURI

func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient

NewVaultsClientWithBaseURI creates an instance of the VaultsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VaultsClient) CreateOrUpdate

func (client VaultsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vaultName string, vault Vault) (result Vault, err error)

CreateOrUpdate creates or updates a Recovery Services vault. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault. vault - recovery Services Vault to be created.

func (VaultsClient) CreateOrUpdatePreparer

func (client VaultsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vaultName string, vault Vault) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VaultsClient) CreateOrUpdateResponder

func (client VaultsClient) CreateOrUpdateResponder(resp *http.Response) (result Vault, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VaultsClient) CreateOrUpdateSender

func (client VaultsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VaultsClient) Delete

func (client VaultsClient) Delete(ctx context.Context, resourceGroupName string, vaultName string) (result autorest.Response, err error)

Delete deletes a vault. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault.

func (VaultsClient) DeletePreparer

func (client VaultsClient) DeletePreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VaultsClient) DeleteResponder

func (client VaultsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VaultsClient) DeleteSender

func (client VaultsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VaultsClient) Get

func (client VaultsClient) Get(ctx context.Context, resourceGroupName string, vaultName string) (result Vault, err error)

Get get the Vault details. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault.

func (VaultsClient) GetPreparer

func (client VaultsClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VaultsClient) GetResponder

func (client VaultsClient) GetResponder(resp *http.Response) (result Vault, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VaultsClient) GetSender

func (client VaultsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VaultsClient) ListByResourceGroup

func (client VaultsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VaultListPage, err error)

ListByResourceGroup retrieve a list of Vaults. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present.

func (VaultsClient) ListByResourceGroupComplete

func (client VaultsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VaultListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VaultsClient) ListByResourceGroupPreparer

func (client VaultsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VaultsClient) ListByResourceGroupResponder

func (client VaultsClient) ListByResourceGroupResponder(resp *http.Response) (result VaultList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VaultsClient) ListByResourceGroupSender

func (client VaultsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (VaultsClient) ListBySubscriptionID

func (client VaultsClient) ListBySubscriptionID(ctx context.Context) (result VaultListPage, err error)

ListBySubscriptionID fetches all the resources of the specified type in the subscription.

func (VaultsClient) ListBySubscriptionIDComplete

func (client VaultsClient) ListBySubscriptionIDComplete(ctx context.Context) (result VaultListIterator, err error)

ListBySubscriptionIDComplete enumerates all values, automatically crossing page boundaries as required.

func (VaultsClient) ListBySubscriptionIDPreparer

func (client VaultsClient) ListBySubscriptionIDPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionIDPreparer prepares the ListBySubscriptionID request.

func (VaultsClient) ListBySubscriptionIDResponder

func (client VaultsClient) ListBySubscriptionIDResponder(resp *http.Response) (result VaultList, err error)

ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always closes the http.Response Body.

func (VaultsClient) ListBySubscriptionIDSender

func (client VaultsClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error)

ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the http.Response Body if it receives an error.

func (VaultsClient) Update

func (client VaultsClient) Update(ctx context.Context, resourceGroupName string, vaultName string, vault PatchVault) (result Vault, err error)

Update updates the vault. Parameters: resourceGroupName - the name of the resource group where the recovery services vault is present. vaultName - the name of the recovery services vault. vault - recovery Services Vault to be created.

func (VaultsClient) UpdatePreparer

func (client VaultsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, vaultName string, vault PatchVault) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VaultsClient) UpdateResponder

func (client VaultsClient) UpdateResponder(resp *http.Response) (result Vault, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VaultsClient) UpdateSender

func (client VaultsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL