Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlobChangeFeedClient"/>
 /// class.
 /// </summary>
 /// <param name="connectionString">
 /// A connection string includes the authentication information
 /// required for your application to access data in an Azure Storage
 /// account at runtime.
 ///
 /// For more information, see
 /// <see href="https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string">
 /// Configuring Azure Storage conneciton strings</see>.
 /// </param>
 /// <param name="options">
 /// Optional client options that define the transport pipeline
 /// policies for authentication, retries, etc., that are applied to
 /// every request.
 /// </param>
 /// <param name="changeFeedOptions">
 /// Change Feed-specific client options.
 /// </param>
 public BlobChangeFeedClient(string connectionString,
                             BlobClientOptions options,
                             BlobChangeFeedClientOptions changeFeedOptions)
 {
     _blobServiceClient = new BlobServiceClient(connectionString, options);
     _changeFeedOptions = changeFeedOptions;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlobChangeFeedClient"/>
 /// class.
 /// </summary>
 /// <param name="serviceUri">
 /// A <see cref="Uri"/> referencing the blob service.
 /// This is likely to be similar to "https://{account_name}.blob.core.windows.net".
 /// </param>
 /// <param name="options">
 /// Optional client options that define the transport pipeline
 /// policies for authentication, retries, etc., that are applied to
 /// every request.
 /// </param>
 /// <param name="changeFeedOptions">
 /// Change Feed-specific client options.
 /// </param>
 public BlobChangeFeedClient(Uri serviceUri,
                             BlobClientOptions options = default,
                             BlobChangeFeedClientOptions changeFeedOptions = default)
 {
     _blobServiceClient = new BlobServiceClient(serviceUri, options);
     _changeFeedOptions = changeFeedOptions;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlobChangeFeedClient"/>
 /// class.
 /// </summary>
 /// <param name="serviceUri">
 /// A <see cref="Uri"/> referencing the blob service.
 /// This is likely to be similar to "https://{account_name}.blob.core.windows.net".
 /// </param>
 /// <param name="credential">
 /// The token credential used to sign requests.
 /// </param>
 /// <param name="options">
 /// Optional client options that define the transport pipeline
 /// policies for authentication, retries, etc., that are applied to
 /// every request.
 /// </param>
 /// <param name="changeFeedOptions">
 /// Change Feed-specific client options.
 /// </param>
 public BlobChangeFeedClient(Uri serviceUri,
                             TokenCredential credential,
                             BlobClientOptions options = default,
                             BlobChangeFeedClientOptions changeFeedOptions = default)
 {
     _blobServiceClient = new BlobServiceClient(serviceUri, credential, options);
     _changeFeedOptions = changeFeedOptions;
 }
Ejemplo n.º 4
0
 internal BlobChangeFeedClient(BlobServiceClient blobServiceClient, BlobChangeFeedClientOptions changeFeedOptions = null)
 {
     _blobServiceClient = blobServiceClient;
     _changeFeedOptions = changeFeedOptions;
 }
 /// <summary>
 /// GetChangeFeedClient.
 /// </summary>
 /// <param name="serviceClient"></param>
 /// <param name="options"></param>
 /// <returns><see cref="BlobChangeFeedClient"/>.</returns>
 public static BlobChangeFeedClient GetChangeFeedClient(
     this BlobServiceClient serviceClient,
     BlobChangeFeedClientOptions options = default)
 {
     return(new BlobChangeFeedClient(serviceClient, options));
 }