/// <summary> /// Initializes a new instance of the /// OutputFileBlobContainerDestination class. /// </summary> /// <param name="containerUrl">The URL of the container within Azure /// Blob Storage to which to upload the file(s).</param> /// <param name="path">The destination blob or virtual directory within /// the Azure Storage container.</param> /// <param name="identityReference">The reference to the user assigned /// identity to use to access Azure Blob Storage specified by /// containerUrl</param> public OutputFileBlobContainerDestination(string containerUrl, string path = default(string), ComputeNodeIdentityReference identityReference = default(ComputeNodeIdentityReference)) { Path = path; ContainerUrl = containerUrl; IdentityReference = identityReference; CustomInit(); }
public PropertyContainer(Models.ComputeNodeIdentityReference protocolObject) : base(BindingState.Bound) { this.ResourceIdProperty = this.CreatePropertyAccessor( protocolObject.ResourceId, nameof(ResourceId), BindingAccess.Read); }
/// <summary> /// Initializes a new instance of the /// OutputFileBlobContainerDestination class. /// </summary> /// <param name="containerUrl">The URL of the container within Azure /// Blob Storage to which to upload the file(s).</param> /// <param name="path">The destination blob or virtual directory within /// the Azure Storage container.</param> /// <param name="identityReference">The reference to the user assigned /// identity to use to access Azure Blob Storage specified by /// containerUrl</param> /// <param name="uploadHeaders">A list of name-value pairs for headers /// to be used in uploading output files</param> public OutputFileBlobContainerDestination(string containerUrl, string path = default(string), ComputeNodeIdentityReference identityReference = default(ComputeNodeIdentityReference), IList <HttpHeader> uploadHeaders = default(IList <HttpHeader>)) { Path = path; ContainerUrl = containerUrl; IdentityReference = identityReference; UploadHeaders = uploadHeaders; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// UploadBatchServiceLogsConfiguration class. /// </summary> /// <param name="containerUrl">The URL of the container within Azure /// Blob Storage to which to upload the Batch Service log /// file(s).</param> /// <param name="startTime">The start of the time range from which to /// upload Batch Service log file(s).</param> /// <param name="endTime">The end of the time range from which to /// upload Batch Service log file(s).</param> /// <param name="identityReference">The reference to the user assigned /// identity to use to access Azure Blob Storage specified by /// containerUrl.</param> public UploadBatchServiceLogsConfiguration(string containerUrl, System.DateTime startTime, System.DateTime?endTime = default(System.DateTime?), ComputeNodeIdentityReference identityReference = default(ComputeNodeIdentityReference)) { ContainerUrl = containerUrl; StartTime = startTime; EndTime = endTime; IdentityReference = identityReference; CustomInit(); }
/// <summary> /// Initializes a new instance of the ContainerRegistry class. /// </summary> /// <param name="userName">The user name to log into the registry /// server.</param> /// <param name="password">The password to log into the registry /// server.</param> /// <param name="registryServer">The registry URL.</param> /// <param name="identityReference">The reference to the user assigned /// identity to use to access an Azure Container Registry instead of /// username and password.</param> public ContainerRegistry(string userName = default(string), string password = default(string), string registryServer = default(string), ComputeNodeIdentityReference identityReference = default(ComputeNodeIdentityReference)) { UserName = userName; Password = password; RegistryServer = registryServer; IdentityReference = identityReference; CustomInit(); }
/// <summary> /// Initializes a new instance of the AzureBlobFileSystemConfiguration /// class. /// </summary> /// <param name="accountName">The Azure Storage Account name.</param> /// <param name="containerName">The Azure Blob Storage Container /// name.</param> /// <param name="relativeMountPath">The relative path on the compute /// node where the file system will be mounted</param> /// <param name="accountKey">The Azure Storage Account key.</param> /// <param name="sasKey">The Azure Storage SAS token.</param> /// <param name="blobfuseOptions">Additional command line options to /// pass to the mount command.</param> /// <param name="identityReference">The reference to the user assigned /// identity to use to access containerName</param> public AzureBlobFileSystemConfiguration(string accountName, string containerName, string relativeMountPath, string accountKey = default(string), string sasKey = default(string), string blobfuseOptions = default(string), ComputeNodeIdentityReference identityReference = default(ComputeNodeIdentityReference)) { AccountName = accountName; ContainerName = containerName; AccountKey = accountKey; SasKey = sasKey; BlobfuseOptions = blobfuseOptions; RelativeMountPath = relativeMountPath; IdentityReference = identityReference; CustomInit(); }
/// <summary> /// Initializes a new instance of the ResourceFile class. /// </summary> /// <param name="autoStorageContainerName">The storage container name /// in the auto storage Account.</param> /// <param name="storageContainerUrl">The URL of the blob container /// within Azure Blob Storage.</param> /// <param name="httpUrl">The URL of the file to download.</param> /// <param name="blobPrefix">The blob prefix to use when downloading /// blobs from an Azure Storage container. Only the blobs whose names /// begin with the specified prefix will be downloaded.</param> /// <param name="filePath">The location on the Compute Node to which to /// download the file(s), relative to the Task's working /// directory.</param> /// <param name="fileMode">The file permission mode attribute in octal /// format.</param> /// <param name="identityReference">The reference to the user assigned /// identity to use to access Azure Blob Storage specified by /// storageContainerUrl or httpUrl</param> public ResourceFile(string autoStorageContainerName = default(string), string storageContainerUrl = default(string), string httpUrl = default(string), string blobPrefix = default(string), string filePath = default(string), string fileMode = default(string), ComputeNodeIdentityReference identityReference = default(ComputeNodeIdentityReference)) { AutoStorageContainerName = autoStorageContainerName; StorageContainerUrl = storageContainerUrl; HttpUrl = httpUrl; BlobPrefix = blobPrefix; FilePath = filePath; FileMode = fileMode; IdentityReference = identityReference; CustomInit(); }