Documentation ¶
Index ¶
- func ValidateObjectReplicationPoliciesID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListOperationResponse
- type ObjectReplicationPolicies
- type ObjectReplicationPoliciesClient
- func (c ObjectReplicationPoliciesClient) CreateOrUpdate(ctx context.Context, id ObjectReplicationPoliciesId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ObjectReplicationPoliciesClient) Delete(ctx context.Context, id ObjectReplicationPoliciesId) (result DeleteOperationResponse, err error)
- func (c ObjectReplicationPoliciesClient) Get(ctx context.Context, id ObjectReplicationPoliciesId) (result GetOperationResponse, err error)
- func (c ObjectReplicationPoliciesClient) List(ctx context.Context, id StorageAccountId) (result ListOperationResponse, err error)
- type ObjectReplicationPoliciesId
- func NewObjectReplicationPoliciesID(subscriptionId string, resourceGroupName string, accountName string, ...) ObjectReplicationPoliciesId
- func ParseObjectReplicationPoliciesID(input string) (*ObjectReplicationPoliciesId, error)
- func ParseObjectReplicationPoliciesIDInsensitively(input string) (*ObjectReplicationPoliciesId, error)
- type ObjectReplicationPolicy
- type ObjectReplicationPolicyFilter
- type ObjectReplicationPolicyProperties
- type ObjectReplicationPolicyRule
- type StorageAccountId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateObjectReplicationPoliciesID ¶
func ValidateObjectReplicationPoliciesID(input interface{}, key string) (warnings []string, errors []error)
ValidateObjectReplicationPoliciesID checks that 'input' can be parsed as a Object Replication Policies ID
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ObjectReplicationPolicy }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ObjectReplicationPolicy }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *ObjectReplicationPolicies }
type ObjectReplicationPolicies ¶
type ObjectReplicationPolicies struct {
Value *[]ObjectReplicationPolicy `json:"value,omitempty"`
}
type ObjectReplicationPoliciesClient ¶
type ObjectReplicationPoliciesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewObjectReplicationPoliciesClientWithBaseURI ¶
func NewObjectReplicationPoliciesClientWithBaseURI(endpoint string) ObjectReplicationPoliciesClient
func (ObjectReplicationPoliciesClient) CreateOrUpdate ¶
func (c ObjectReplicationPoliciesClient) CreateOrUpdate(ctx context.Context, id ObjectReplicationPoliciesId, input ObjectReplicationPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ObjectReplicationPoliciesClient) Delete ¶
func (c ObjectReplicationPoliciesClient) Delete(ctx context.Context, id ObjectReplicationPoliciesId) (result DeleteOperationResponse, err error)
Delete ...
func (ObjectReplicationPoliciesClient) Get ¶
func (c ObjectReplicationPoliciesClient) Get(ctx context.Context, id ObjectReplicationPoliciesId) (result GetOperationResponse, err error)
Get ...
func (ObjectReplicationPoliciesClient) List ¶
func (c ObjectReplicationPoliciesClient) List(ctx context.Context, id StorageAccountId) (result ListOperationResponse, err error)
List ...
type ObjectReplicationPoliciesId ¶
type ObjectReplicationPoliciesId struct { SubscriptionId string ResourceGroupName string AccountName string ObjectReplicationPolicyId string }
ObjectReplicationPoliciesId is a struct representing the Resource ID for a Object Replication Policies
func NewObjectReplicationPoliciesID ¶
func NewObjectReplicationPoliciesID(subscriptionId string, resourceGroupName string, accountName string, objectReplicationPolicyId string) ObjectReplicationPoliciesId
NewObjectReplicationPoliciesID returns a new ObjectReplicationPoliciesId struct
func ParseObjectReplicationPoliciesID ¶
func ParseObjectReplicationPoliciesID(input string) (*ObjectReplicationPoliciesId, error)
ParseObjectReplicationPoliciesID parses 'input' into a ObjectReplicationPoliciesId
func ParseObjectReplicationPoliciesIDInsensitively ¶
func ParseObjectReplicationPoliciesIDInsensitively(input string) (*ObjectReplicationPoliciesId, error)
ParseObjectReplicationPoliciesIDInsensitively parses 'input' case-insensitively into a ObjectReplicationPoliciesId note: this method should only be used for API response data and not user input
func (ObjectReplicationPoliciesId) ID ¶
func (id ObjectReplicationPoliciesId) ID() string
ID returns the formatted Object Replication Policies ID
func (ObjectReplicationPoliciesId) Segments ¶
func (id ObjectReplicationPoliciesId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Object Replication Policies ID
func (ObjectReplicationPoliciesId) String ¶
func (id ObjectReplicationPoliciesId) String() string
String returns a human-readable description of this Object Replication Policies ID
type ObjectReplicationPolicy ¶
type ObjectReplicationPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ObjectReplicationPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ObjectReplicationPolicyProperties ¶
type ObjectReplicationPolicyProperties struct { DestinationAccount string `json:"destinationAccount"` EnabledTime *string `json:"enabledTime,omitempty"` PolicyId *string `json:"policyId,omitempty"` Rules *[]ObjectReplicationPolicyRule `json:"rules,omitempty"` SourceAccount string `json:"sourceAccount"` }
func (*ObjectReplicationPolicyProperties) GetEnabledTimeAsTime ¶
func (o *ObjectReplicationPolicyProperties) GetEnabledTimeAsTime() (*time.Time, error)
func (*ObjectReplicationPolicyProperties) SetEnabledTimeAsTime ¶
func (o *ObjectReplicationPolicyProperties) SetEnabledTimeAsTime(input time.Time)
type ObjectReplicationPolicyRule ¶
type ObjectReplicationPolicyRule struct { DestinationContainer string `json:"destinationContainer"` Filters *ObjectReplicationPolicyFilter `json:"filters,omitempty"` RuleId *string `json:"ruleId,omitempty"` SourceContainer string `json:"sourceContainer"` }
type StorageAccountId ¶
StorageAccountId is a struct representing the Resource ID for a Storage Account
func NewStorageAccountID ¶
func NewStorageAccountID(subscriptionId string, resourceGroupName string, accountName string) StorageAccountId
NewStorageAccountID returns a new StorageAccountId struct
func ParseStorageAccountID ¶
func ParseStorageAccountID(input string) (*StorageAccountId, error)
ParseStorageAccountID parses 'input' into a StorageAccountId
func ParseStorageAccountIDInsensitively ¶
func ParseStorageAccountIDInsensitively(input string) (*StorageAccountId, error)
ParseStorageAccountIDInsensitively parses 'input' case-insensitively into a StorageAccountId note: this method should only be used for API response data and not user input
func (StorageAccountId) ID ¶
func (id StorageAccountId) ID() string
ID returns the formatted Storage Account ID
func (StorageAccountId) Segments ¶
func (id StorageAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Account ID
func (StorageAccountId) String ¶
func (id StorageAccountId) String() string
String returns a human-readable description of this Storage Account ID
Source Files ¶
- client.go
- id_objectreplicationpolicies.go
- id_storageaccount.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_objectreplicationpolicies.go
- model_objectreplicationpolicy.go
- model_objectreplicationpolicyfilter.go
- model_objectreplicationpolicyproperties.go
- model_objectreplicationpolicyrule.go
- version.go