...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/storage/tables/2019-02-02-preview/storagetables/enums.go

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

     1  package storagetables
     2  
     3  // Copyright (c) Microsoft Corporation. All rights reserved.
     4  // Licensed under the MIT License. See License.txt in the project root for license information.
     5  //
     6  // Code generated by Microsoft (R) AutoRest Code Generator.
     7  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     8  
     9  // GeoReplicationStatusType enumerates the values for geo replication status type.
    10  type GeoReplicationStatusType string
    11  
    12  const (
    13  	// Bootstrap ...
    14  	Bootstrap GeoReplicationStatusType = "bootstrap"
    15  	// Live ...
    16  	Live GeoReplicationStatusType = "live"
    17  	// Unavailable ...
    18  	Unavailable GeoReplicationStatusType = "unavailable"
    19  )
    20  
    21  // PossibleGeoReplicationStatusTypeValues returns an array of possible values for the GeoReplicationStatusType const type.
    22  func PossibleGeoReplicationStatusTypeValues() []GeoReplicationStatusType {
    23  	return []GeoReplicationStatusType{Bootstrap, Live, Unavailable}
    24  }
    25  
    26  // OdataMetadataFormat enumerates the values for odata metadata format.
    27  type OdataMetadataFormat string
    28  
    29  const (
    30  	// Applicationjsonodatafullmetadata ...
    31  	Applicationjsonodatafullmetadata OdataMetadataFormat = "application/json;odata=fullmetadata"
    32  	// Applicationjsonodataminimalmetadata ...
    33  	Applicationjsonodataminimalmetadata OdataMetadataFormat = "application/json;odata=minimalmetadata"
    34  	// Applicationjsonodatanometadata ...
    35  	Applicationjsonodatanometadata OdataMetadataFormat = "application/json;odata=nometadata"
    36  )
    37  
    38  // PossibleOdataMetadataFormatValues returns an array of possible values for the OdataMetadataFormat const type.
    39  func PossibleOdataMetadataFormatValues() []OdataMetadataFormat {
    40  	return []OdataMetadataFormat{Applicationjsonodatafullmetadata, Applicationjsonodataminimalmetadata, Applicationjsonodatanometadata}
    41  }
    42  
    43  // ResponseFormat enumerates the values for response format.
    44  type ResponseFormat string
    45  
    46  const (
    47  	// ReturnContent ...
    48  	ReturnContent ResponseFormat = "return-content"
    49  	// ReturnNoContent ...
    50  	ReturnNoContent ResponseFormat = "return-no-content"
    51  )
    52  
    53  // PossibleResponseFormatValues returns an array of possible values for the ResponseFormat const type.
    54  func PossibleResponseFormatValues() []ResponseFormat {
    55  	return []ResponseFormat{ReturnContent, ReturnNoContent}
    56  }
    57  

View as plain text