azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/storage/tables/2019-02-02-preview/storagetables Index | Files | Directories

package storagetables

import "github.com/Azure/azure-sdk-for-go/services/preview/storage/tables/2019-02-02-preview/storagetables"

Package storagetables implements the Azure ARM Storagetables service API version 2019-02-02.

Index

Package Files

client.go enums.go models.go service.go table.go version.go

Constants

const (
    // DefaultVersion is the default value for version
    DefaultVersion = "2019-02-02"
)

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AccessPolicy Uses

type AccessPolicy struct {
    // Start - The start datetime from which the policy is active.
    Start *date.Time `json:"Start,omitempty"`
    // Expiry - The datetime that the policy expires.
    Expiry *date.Time `json:"Expiry,omitempty"`
    // Permission - The permissions for the acl policy.
    Permission *string `json:"Permission,omitempty"`
}

AccessPolicy an Access policy.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    URL     string
    Version string
}

BaseClient is the base client for Storagetables.

func New Uses

func New(URL string) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults Uses

func NewWithoutDefaults(URL string, version string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type CorsRule Uses

type CorsRule struct {
    // AllowedOrigins - The origin domains that are permitted to make a request against the service via CORS. The origin domain is the domain from which the request originates. Note that the origin must be an exact case-sensitive match with the origin that the user age sends to the service. You can also use the wildcard character '*' to allow all origin domains to make requests via CORS.
    AllowedOrigins *string `json:"AllowedOrigins,omitempty"`
    // AllowedMethods - The methods (HTTP request verbs) that the origin domain may use for a CORS request. (comma separated)
    AllowedMethods *string `json:"AllowedMethods,omitempty"`
    // AllowedHeaders - The request headers that the origin domain may specify on the CORS request.
    AllowedHeaders *string `json:"AllowedHeaders,omitempty"`
    // ExposedHeaders - The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
    ExposedHeaders *string `json:"ExposedHeaders,omitempty"`
    // MaxAgeInSeconds - The maximum amount time that a browser should cache the preflight OPTIONS request.
    MaxAgeInSeconds *int32 `json:"MaxAgeInSeconds,omitempty"`
}

CorsRule CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain. Web browsers implement a security restriction known as same-origin policy that prevents a web page from calling APIs in a different domain; CORS provides a secure way to allow one domain (the origin domain) to call APIs in another domain.

type GeoReplication Uses

type GeoReplication struct {
    // Status - The status of the secondary location. Possible values include: 'Live', 'Bootstrap', 'Unavailable'
    Status GeoReplicationStatusType `json:"Status,omitempty"`
    // LastSyncTime - A GMT date/time value, to the second. All primary writes preceding this value are guaranteed to be available for read operations at the secondary. Primary writes after this point in time may or may not be available for reads.
    LastSyncTime *date.TimeRFC1123 `json:"LastSyncTime,omitempty"`
}

GeoReplication ...

type GeoReplicationStatusType Uses

type GeoReplicationStatusType string

GeoReplicationStatusType enumerates the values for geo replication status type.

const (
    // Bootstrap ...
    Bootstrap GeoReplicationStatusType = "bootstrap"
    // Live ...
    Live GeoReplicationStatusType = "live"
    // Unavailable ...
    Unavailable GeoReplicationStatusType = "unavailable"
)

func PossibleGeoReplicationStatusTypeValues Uses

func PossibleGeoReplicationStatusTypeValues() []GeoReplicationStatusType

PossibleGeoReplicationStatusTypeValues returns an array of possible values for the GeoReplicationStatusType const type.

type ListSignedIdentifier Uses

type ListSignedIdentifier struct {
    autorest.Response `json:"-"`
    Value             *[]SignedIdentifier `json:"value,omitempty"`
}

ListSignedIdentifier ...

type Logging Uses

type Logging struct {
    // Version - The version of Analytics to configure.
    Version *string `json:"Version,omitempty"`
    // Delete - Indicates whether all delete requests should be logged.
    Delete *bool `json:"Delete,omitempty"`
    // Read - Indicates whether all read requests should be logged.
    Read *bool `json:"Read,omitempty"`
    // Write - Indicates whether all write requests should be logged.
    Write           *bool            `json:"Write,omitempty"`
    RetentionPolicy *RetentionPolicy `json:"RetentionPolicy,omitempty"`
}

Logging azure Analytics Logging settings.

type Metrics Uses

type Metrics struct {
    // Version - The version of Analytics to configure.
    Version *string `json:"Version,omitempty"`
    // Enabled - Indicates whether metrics are enabled for the Table service.
    Enabled *bool `json:"Enabled,omitempty"`
    // IncludeAPIs - Indicates whether metrics should generate summary statistics for called API operations.
    IncludeAPIs     *bool            `json:"IncludeAPIs,omitempty"`
    RetentionPolicy *RetentionPolicy `json:"RetentionPolicy,omitempty"`
}

Metrics ...

type OdataMetadataFormat Uses

type OdataMetadataFormat string

OdataMetadataFormat enumerates the values for odata metadata format.

const (
    // Applicationjsonodatafullmetadata ...
    Applicationjsonodatafullmetadata OdataMetadataFormat = "application/json;odata=fullmetadata"
    // Applicationjsonodataminimalmetadata ...
    Applicationjsonodataminimalmetadata OdataMetadataFormat = "application/json;odata=minimalmetadata"
    // Applicationjsonodatanometadata ...
    Applicationjsonodatanometadata OdataMetadataFormat = "application/json;odata=nometadata"
)

func PossibleOdataMetadataFormatValues Uses

func PossibleOdataMetadataFormatValues() []OdataMetadataFormat

PossibleOdataMetadataFormatValues returns an array of possible values for the OdataMetadataFormat const type.

type ResponseFormat Uses

type ResponseFormat string

ResponseFormat enumerates the values for response format.

const (
    // ReturnContent ...
    ReturnContent ResponseFormat = "return-content"
    // ReturnNoContent ...
    ReturnNoContent ResponseFormat = "return-no-content"
)

func PossibleResponseFormatValues Uses

func PossibleResponseFormatValues() []ResponseFormat

PossibleResponseFormatValues returns an array of possible values for the ResponseFormat const type.

type RetentionPolicy Uses

type RetentionPolicy struct {
    // Enabled - Indicates whether a retention policy is enabled for the service.
    Enabled *bool `json:"Enabled,omitempty"`
    // Days - Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted.
    Days *int32 `json:"Days,omitempty"`
}

RetentionPolicy the retention policy.

type ServiceClient Uses

type ServiceClient struct {
    BaseClient
}

ServiceClient is the client for the Service methods of the Storagetables service.

func NewServiceClient Uses

func NewServiceClient(URL string) ServiceClient

NewServiceClient creates an instance of the ServiceClient client.

func (ServiceClient) GetProperties Uses

func (client ServiceClient) GetProperties(ctx context.Context, timeout *int32, requestID string) (result TableServiceProperties, err error)

GetProperties gets the properties of an account's Table service, including properties for Analytics and CORS (Cross-Origin Resource Sharing) rules. Parameters: timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled.

func (ServiceClient) GetPropertiesPreparer Uses

func (client ServiceClient) GetPropertiesPreparer(ctx context.Context, timeout *int32, requestID string) (*http.Request, error)

GetPropertiesPreparer prepares the GetProperties request.

func (ServiceClient) GetPropertiesResponder Uses

func (client ServiceClient) GetPropertiesResponder(resp *http.Response) (result TableServiceProperties, err error)

GetPropertiesResponder handles the response to the GetProperties request. The method always closes the http.Response Body.

func (ServiceClient) GetPropertiesSender Uses

func (client ServiceClient) GetPropertiesSender(req *http.Request) (*http.Response, error)

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

func (ServiceClient) GetStatistics Uses

func (client ServiceClient) GetStatistics(ctx context.Context, timeout *int32, requestID string) (result TableServiceStats, err error)

GetStatistics retrieves statistics related to replication for the Table service. It is only available on the secondary location endpoint when read-access geo-redundant replication is enabled for the account. Parameters: timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled.

func (ServiceClient) GetStatisticsPreparer Uses

func (client ServiceClient) GetStatisticsPreparer(ctx context.Context, timeout *int32, requestID string) (*http.Request, error)

GetStatisticsPreparer prepares the GetStatistics request.

func (ServiceClient) GetStatisticsResponder Uses

func (client ServiceClient) GetStatisticsResponder(resp *http.Response) (result TableServiceStats, err error)

GetStatisticsResponder handles the response to the GetStatistics request. The method always closes the http.Response Body.

func (ServiceClient) GetStatisticsSender Uses

func (client ServiceClient) GetStatisticsSender(req *http.Request) (*http.Response, error)

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

func (ServiceClient) SetProperties Uses

func (client ServiceClient) SetProperties(ctx context.Context, tableServiceProperties TableServiceProperties, timeout *int32, requestID string) (result autorest.Response, err error)

SetProperties sets properties for an account's Table service endpoint, including properties for Analytics and CORS (Cross-Origin Resource Sharing) rules. Parameters: tableServiceProperties - the Table Service properties. timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled.

func (ServiceClient) SetPropertiesPreparer Uses

func (client ServiceClient) SetPropertiesPreparer(ctx context.Context, tableServiceProperties TableServiceProperties, timeout *int32, requestID string) (*http.Request, error)

SetPropertiesPreparer prepares the SetProperties request.

func (ServiceClient) SetPropertiesResponder Uses

func (client ServiceClient) SetPropertiesResponder(resp *http.Response) (result autorest.Response, err error)

SetPropertiesResponder handles the response to the SetProperties request. The method always closes the http.Response Body.

func (ServiceClient) SetPropertiesSender Uses

func (client ServiceClient) SetPropertiesSender(req *http.Request) (*http.Response, error)

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

type SetSetObject Uses

type SetSetObject struct {
    autorest.Response `json:"-"`
    Value             map[string]interface{} `json:"value"`
}

SetSetObject ...

func (SetSetObject) MarshalJSON Uses

func (sso SetSetObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SetSetObject.

type SignedIdentifier Uses

type SignedIdentifier struct {
    // ID - A unique id.
    ID  *string `json:"Id,omitempty"`
    // AccessPolicy - The access policy.
    AccessPolicy *AccessPolicy `json:"AccessPolicy,omitempty"`
}

SignedIdentifier a signed identifier.

type TableClient Uses

type TableClient struct {
    BaseClient
}

TableClient is the client for the Table methods of the Storagetables service.

func NewTableClient Uses

func NewTableClient(URL string) TableClient

NewTableClient creates an instance of the TableClient client.

func (TableClient) Create Uses

func (client TableClient) Create(ctx context.Context, tableProperties TableProperties, requestID string, formatParameter OdataMetadataFormat, responsePreference ResponseFormat) (result TableResponse, err error)

Create creates a new table under the given account. Parameters: tableProperties - the Table properties. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. formatParameter - specifies the media type for the response. responsePreference - specifies whether the response should include the inserted entity in the payload. Possible values are return-no-content and return-content.

func (TableClient) CreatePreparer Uses

func (client TableClient) CreatePreparer(ctx context.Context, tableProperties TableProperties, requestID string, formatParameter OdataMetadataFormat, responsePreference ResponseFormat) (*http.Request, error)

CreatePreparer prepares the Create request.

func (TableClient) CreateResponder Uses

func (client TableClient) CreateResponder(resp *http.Response) (result TableResponse, err error)

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

func (TableClient) CreateSender Uses

func (client TableClient) 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.

func (TableClient) Delete Uses

func (client TableClient) Delete(ctx context.Context, table string, requestID string) (result autorest.Response, err error)

Delete operation permanently deletes the specified table. Parameters: table - the name of the table. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled.

func (TableClient) DeleteEntity Uses

func (client TableClient) DeleteEntity(ctx context.Context, table string, partitionKey string, rowKey string, ifMatch string, timeout *int32, requestID string, formatParameter OdataMetadataFormat) (result autorest.Response, err error)

DeleteEntity deletes the specified entity in a table. Parameters: table - the name of the table. partitionKey - the partition key of the entity. rowKey - the row key of the entity. ifMatch - match condition for an entity to be deleted. If specified and a matching entity is not found, an error will be raised. To force an unconditional delete, set to the wildcard character (*). timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. formatParameter - specifies the media type for the response.

func (TableClient) DeleteEntityPreparer Uses

func (client TableClient) DeleteEntityPreparer(ctx context.Context, table string, partitionKey string, rowKey string, ifMatch string, timeout *int32, requestID string, formatParameter OdataMetadataFormat) (*http.Request, error)

DeleteEntityPreparer prepares the DeleteEntity request.

func (TableClient) DeleteEntityResponder Uses

func (client TableClient) DeleteEntityResponder(resp *http.Response) (result autorest.Response, err error)

DeleteEntityResponder handles the response to the DeleteEntity request. The method always closes the http.Response Body.

func (TableClient) DeleteEntitySender Uses

func (client TableClient) DeleteEntitySender(req *http.Request) (*http.Response, error)

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

func (TableClient) DeletePreparer Uses

func (client TableClient) DeletePreparer(ctx context.Context, table string, requestID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (TableClient) DeleteResponder Uses

func (client TableClient) 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 (TableClient) DeleteSender Uses

func (client TableClient) 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 (TableClient) GetAccessPolicy Uses

func (client TableClient) GetAccessPolicy(ctx context.Context, table string, timeout *int32, requestID string) (result ListSignedIdentifier, err error)

GetAccessPolicy retrieves details about any stored access policies specified on the table that may be used with Shared Access Signatures. Parameters: table - the name of the table. timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled.

func (TableClient) GetAccessPolicyPreparer Uses

func (client TableClient) GetAccessPolicyPreparer(ctx context.Context, table string, timeout *int32, requestID string) (*http.Request, error)

GetAccessPolicyPreparer prepares the GetAccessPolicy request.

func (TableClient) GetAccessPolicyResponder Uses

func (client TableClient) GetAccessPolicyResponder(resp *http.Response) (result ListSignedIdentifier, err error)

GetAccessPolicyResponder handles the response to the GetAccessPolicy request. The method always closes the http.Response Body.

func (TableClient) GetAccessPolicySender Uses

func (client TableClient) GetAccessPolicySender(req *http.Request) (*http.Response, error)

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

func (TableClient) InsertEntity Uses

func (client TableClient) InsertEntity(ctx context.Context, table string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, tableEntityProperties map[string]interface{}, responsePreference ResponseFormat) (result SetSetObject, err error)

InsertEntity insert entity in a table. Parameters: table - the name of the table. timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. formatParameter - specifies the media type for the response. tableEntityProperties - the properties for the table entity. responsePreference - specifies whether the response should include the inserted entity in the payload. Possible values are return-no-content and return-content.

func (TableClient) InsertEntityPreparer Uses

func (client TableClient) InsertEntityPreparer(ctx context.Context, table string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, tableEntityProperties map[string]interface{}, responsePreference ResponseFormat) (*http.Request, error)

InsertEntityPreparer prepares the InsertEntity request.

func (TableClient) InsertEntityResponder Uses

func (client TableClient) InsertEntityResponder(resp *http.Response) (result SetSetObject, err error)

InsertEntityResponder handles the response to the InsertEntity request. The method always closes the http.Response Body.

func (TableClient) InsertEntitySender Uses

func (client TableClient) InsertEntitySender(req *http.Request) (*http.Response, error)

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

func (TableClient) MergeEntity Uses

func (client TableClient) MergeEntity(ctx context.Context, table string, partitionKey string, rowKey string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, tableEntityProperties map[string]interface{}, ifMatch string) (result autorest.Response, err error)

MergeEntity merge entity in a table. Parameters: table - the name of the table. partitionKey - the partition key of the entity. rowKey - the row key of the entity. timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. formatParameter - specifies the media type for the response. tableEntityProperties - the properties for the table entity. ifMatch - match condition for an entity to be updated. If specified and a matching entity is not found, an error will be raised. To force an unconditional update, set to the wildcard character (*). If not specified, an insert will be performed when no existing entity is found to update and a merge will be performed if an existing entity is found.

func (TableClient) MergeEntityPreparer Uses

func (client TableClient) MergeEntityPreparer(ctx context.Context, table string, partitionKey string, rowKey string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, tableEntityProperties map[string]interface{}, ifMatch string) (*http.Request, error)

MergeEntityPreparer prepares the MergeEntity request.

func (TableClient) MergeEntityResponder Uses

func (client TableClient) MergeEntityResponder(resp *http.Response) (result autorest.Response, err error)

MergeEntityResponder handles the response to the MergeEntity request. The method always closes the http.Response Body.

func (TableClient) MergeEntitySender Uses

func (client TableClient) MergeEntitySender(req *http.Request) (*http.Response, error)

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

func (TableClient) Query Uses

func (client TableClient) Query(ctx context.Context, requestID string, formatParameter OdataMetadataFormat, top *int32, selectParameter string, filter string, nextTableName string) (result TableQueryResponse, err error)

Query queries tables under the given account. Parameters: requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. formatParameter - specifies the media type for the response. top - maximum number of records to return. selectParameter - select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". filter - oData filter expression. nextTableName - a table query continuation token from a previous call.

func (TableClient) QueryEntities Uses

func (client TableClient) QueryEntities(ctx context.Context, table string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, top *int32, selectParameter string, filter string, nextPartitionKey string, nextRowKey string) (result TableEntityQueryResponse, err error)

QueryEntities queries entities in a table. Parameters: table - the name of the table. timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. formatParameter - specifies the media type for the response. top - maximum number of records to return. selectParameter - select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". filter - oData filter expression. nextPartitionKey - an entity query continuation token from a previous call. nextRowKey - an entity query continuation token from a previous call.

func (TableClient) QueryEntitiesPreparer Uses

func (client TableClient) QueryEntitiesPreparer(ctx context.Context, table string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, top *int32, selectParameter string, filter string, nextPartitionKey string, nextRowKey string) (*http.Request, error)

QueryEntitiesPreparer prepares the QueryEntities request.

func (TableClient) QueryEntitiesResponder Uses

func (client TableClient) QueryEntitiesResponder(resp *http.Response) (result TableEntityQueryResponse, err error)

QueryEntitiesResponder handles the response to the QueryEntities request. The method always closes the http.Response Body.

func (TableClient) QueryEntitiesSender Uses

func (client TableClient) QueryEntitiesSender(req *http.Request) (*http.Response, error)

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

func (TableClient) QueryEntitiesWithPartitionAndRowKey Uses

func (client TableClient) QueryEntitiesWithPartitionAndRowKey(ctx context.Context, table string, partitionKey string, rowKey string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, selectParameter string, filter string) (result TableEntityQueryResponse, err error)

QueryEntitiesWithPartitionAndRowKey queries entities in a table. Parameters: table - the name of the table. partitionKey - the partition key of the entity. rowKey - the row key of the entity. timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. formatParameter - specifies the media type for the response. selectParameter - select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". filter - oData filter expression.

func (TableClient) QueryEntitiesWithPartitionAndRowKeyPreparer Uses

func (client TableClient) QueryEntitiesWithPartitionAndRowKeyPreparer(ctx context.Context, table string, partitionKey string, rowKey string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, selectParameter string, filter string) (*http.Request, error)

QueryEntitiesWithPartitionAndRowKeyPreparer prepares the QueryEntitiesWithPartitionAndRowKey request.

func (TableClient) QueryEntitiesWithPartitionAndRowKeyResponder Uses

func (client TableClient) QueryEntitiesWithPartitionAndRowKeyResponder(resp *http.Response) (result TableEntityQueryResponse, err error)

QueryEntitiesWithPartitionAndRowKeyResponder handles the response to the QueryEntitiesWithPartitionAndRowKey request. The method always closes the http.Response Body.

func (TableClient) QueryEntitiesWithPartitionAndRowKeySender Uses

func (client TableClient) QueryEntitiesWithPartitionAndRowKeySender(req *http.Request) (*http.Response, error)

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

func (TableClient) QueryPreparer Uses

func (client TableClient) QueryPreparer(ctx context.Context, requestID string, formatParameter OdataMetadataFormat, top *int32, selectParameter string, filter string, nextTableName string) (*http.Request, error)

QueryPreparer prepares the Query request.

func (TableClient) QueryResponder Uses

func (client TableClient) QueryResponder(resp *http.Response) (result TableQueryResponse, err error)

QueryResponder handles the response to the Query request. The method always closes the http.Response Body.

func (TableClient) QuerySender Uses

func (client TableClient) QuerySender(req *http.Request) (*http.Response, error)

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

func (TableClient) SetAccessPolicy Uses

func (client TableClient) SetAccessPolicy(ctx context.Context, table string, tableACL []SignedIdentifier, timeout *int32, requestID string) (result autorest.Response, err error)

SetAccessPolicy sets stored access policies for the table that may be used with Shared Access Signatures. Parameters: table - the name of the table. tableACL - the acls for the table. timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled.

func (TableClient) SetAccessPolicyPreparer Uses

func (client TableClient) SetAccessPolicyPreparer(ctx context.Context, table string, tableACL []SignedIdentifier, timeout *int32, requestID string) (*http.Request, error)

SetAccessPolicyPreparer prepares the SetAccessPolicy request.

func (TableClient) SetAccessPolicyResponder Uses

func (client TableClient) SetAccessPolicyResponder(resp *http.Response) (result autorest.Response, err error)

SetAccessPolicyResponder handles the response to the SetAccessPolicy request. The method always closes the http.Response Body.

func (TableClient) SetAccessPolicySender Uses

func (client TableClient) SetAccessPolicySender(req *http.Request) (*http.Response, error)

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

func (TableClient) UpdateEntity Uses

func (client TableClient) UpdateEntity(ctx context.Context, table string, partitionKey string, rowKey string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, tableEntityProperties map[string]interface{}, ifMatch string) (result autorest.Response, err error)

UpdateEntity update entity in a table. Parameters: table - the name of the table. partitionKey - the partition key of the entity. rowKey - the row key of the entity. timeout - the timeout parameter is expressed in seconds. requestID - provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. formatParameter - specifies the media type for the response. tableEntityProperties - the properties for the table entity. ifMatch - match condition for an entity to be updated. If specified and a matching entity is not found, an error will be raised. To force an unconditional update, set to the wildcard character (*). If not specified, an insert will be performed when no existing entity is found to update and a replace will be performed if an existing entity is found.

func (TableClient) UpdateEntityPreparer Uses

func (client TableClient) UpdateEntityPreparer(ctx context.Context, table string, partitionKey string, rowKey string, timeout *int32, requestID string, formatParameter OdataMetadataFormat, tableEntityProperties map[string]interface{}, ifMatch string) (*http.Request, error)

UpdateEntityPreparer prepares the UpdateEntity request.

func (TableClient) UpdateEntityResponder Uses

func (client TableClient) UpdateEntityResponder(resp *http.Response) (result autorest.Response, err error)

UpdateEntityResponder handles the response to the UpdateEntity request. The method always closes the http.Response Body.

func (TableClient) UpdateEntitySender Uses

func (client TableClient) UpdateEntitySender(req *http.Request) (*http.Response, error)

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

type TableEntityQueryResponse Uses

type TableEntityQueryResponse struct {
    autorest.Response `json:"-"`
    // OdataMetadata - The metadata response of the table.
    OdataMetadata *string `json:"odata.metadata,omitempty"`
    // Value - List of table entities.
    Value *[]map[string]interface{} `json:"value,omitempty"`
}

TableEntityQueryResponse the properties for the table entity query response.

type TableProperties Uses

type TableProperties struct {
    // TableName - The name of the table to create.
    TableName *string `json:"TableName,omitempty"`
}

TableProperties the properties for creating a table.

type TableQueryResponse Uses

type TableQueryResponse struct {
    autorest.Response `json:"-"`
    // OdataMetadata - The metadata response of the table.
    OdataMetadata *string `json:"odata.metadata,omitempty"`
    // Value - List of tables.
    Value *[]TableResponseProperties `json:"value,omitempty"`
}

TableQueryResponse the properties for the table query response.

type TableResponse Uses

type TableResponse struct {
    autorest.Response `json:"-"`
    // OdataMetadata - The metadata response of the table.
    OdataMetadata *string `json:"odata.metadata,omitempty"`
    // TableName - The name of the table.
    TableName *string `json:"TableName,omitempty"`
    // OdataType - The odata type of the table.
    OdataType *string `json:"odata.type,omitempty"`
    // OdataID - The id of the table.
    OdataID *string `json:"odata.id,omitempty"`
    // OdataEditLink - The edit link of the table.
    OdataEditLink *string `json:"odata.editLink,omitempty"`
}

TableResponse the response for a single table.

type TableResponseProperties Uses

type TableResponseProperties struct {
    // TableName - The name of the table.
    TableName *string `json:"TableName,omitempty"`
    // OdataType - The odata type of the table.
    OdataType *string `json:"odata.type,omitempty"`
    // OdataID - The id of the table.
    OdataID *string `json:"odata.id,omitempty"`
    // OdataEditLink - The edit link of the table.
    OdataEditLink *string `json:"odata.editLink,omitempty"`
}

TableResponseProperties the properties for the table response.

type TableServiceError Uses

type TableServiceError struct {
    // Message - The error message.
    Message *string `json:"Message,omitempty"`
}

TableServiceError table Service error.

type TableServiceProperties Uses

type TableServiceProperties struct {
    autorest.Response `json:"-"`
    // Logging - Azure Analytics Logging settings.
    Logging *Logging `json:"Logging,omitempty"`
    // HourMetrics - A summary of request statistics grouped by API in hourly aggregates for tables.
    HourMetrics *Metrics `json:"HourMetrics,omitempty"`
    // MinuteMetrics - A summary of request statistics grouped by API in minute aggregates for tables.
    MinuteMetrics *Metrics `json:"MinuteMetrics,omitempty"`
    // Cors - The set of CORS rules.
    Cors *[]CorsRule `json:"Cors,omitempty"`
}

TableServiceProperties table Service Properties.

type TableServiceStats Uses

type TableServiceStats struct {
    autorest.Response `json:"-"`
    // GeoReplication - Geo-Replication information for the Secondary Storage Service.
    GeoReplication *GeoReplication `json:"GeoReplication,omitempty"`
}

TableServiceStats stats for the service.

Directories

PathSynopsis
storagetablesapi

Package storagetables imports 9 packages (graph) and is imported by 1 packages. Updated 2021-01-23. Refresh now. Tools for package owners.