diff --git a/csharp/ql/lib/experimental/code/csharp/String Concatenation/ConcatenateString.qll b/csharp/ql/lib/experimental/code/csharp/String Concatenation/ConcatenateString.qll new file mode 100644 index 000000000000..0cab77eb30da --- /dev/null +++ b/csharp/ql/lib/experimental/code/csharp/String Concatenation/ConcatenateString.qll @@ -0,0 +1,932 @@ +import csharp + +/* + * This library builds the actual string value from the following string concatenation methods: + * Interpolated strings `$"https://{host}/{path}?a=b"` + * string addition `"https://" + host + "/" + path + "?a=b"` + * StringBuilder `StringBuilder sb = new StringBuilder("https://host/"); sb.Append("path").Append("?a=b")` + * StringBuilder `StringBuilder sb = new StringBuilder("https://host/"); sb.Append("path"); sb.Append("?a=b")` + * String.Concat `string.Concat("https://", host, "/", path)` + * String.Concat `string.Concat(new String[]{"https://", host, "/", path})` + * String.Format `string.format("https://{0}/path", "host")` + * String.Join `string.Join("/", new String[]{$"https://{host}", path})` + * + * TODO: String.Format for array argument + * TODO: String() constructor + * TODO: String.Insert, String.Remove, String.Replace, String.Split + * TODO: StringBuilder.Insert, StringBuilder.Remove, StringBuilder.Replace + * TODO: CastExpr for String/int/ByteType, like `(int)response.StatusCode` + * TODO: https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.concat for arrays + * TODO: nameof() -> `NameOfExpr` + * TODO: format for log messages https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.loggerextensions + * TODO: String.Split, if the original string is Literal and the array needs to be concatenated later + * example: "a;b" + * note: the delimiter can be an array, and all are applied to the string + * TODO: read array element for getStringValue + * + * TODO Maybe a v2 version where it returns the nodes of concat Exprs? + * Then that can be used as the source in data flows? + * After the flow, then it can grab the relevant concatenated values, instead of all in the repo. + * - How to restrict the low-level evaluated predicates though so it doesn't concatenate the whole repo though? + * + * There are private recursive helper predicates to build the full string value for each concatenation method + * + * There are public predicates to build the full string value + * + * There is a public predicate to capture the `Literal` values of Variables/Parameters/etc., + * It will return `` if the value is not available, like untrusted input. + * + * The Range pattern is also used. It creates an abstract base class that is extended. + * The base class ConcatenatedStringValue::Range has predicate `concatenatedStringMatches` to filter on a specific pattern. This will apply to all extensions. + * There are extensions of ConcatenatedStringValue::Range for each concatenation method. They are type DataFlow::Node and capture the full string in predicate `getAConcatenatedString` + * + * Note: There is an artificial restriction of 10 elements on each concatenation type, or the permutations to build the full string value from variable/property/parameter assignments can exceed the 32-bit stringpool + * + * Note: There is an artificial restriction of 120 characters on the string value of a single element, or building the full string value can exceed the maxium string length + * + * Example taint flow: + * override predicate isSource(DataFlow::Node source) { source.(ConcatenatedStringValue).concatenatedStringMatches("%pattern") } + * + * Example to get all nodes where the concatenated string matches a pattern: + * string stringPattern(){ result = ["%pattern1","%pattern2"] } + * + * from DataFlow::Node node + * where node.asExpr().fromSource() + * and node.(ConcatenatedStringValue).concatenatedStringMatches(stringPattern()) + * select node, node.(ConcatenatedStringValue).getAConcatenatedString() + */ + +/** + * Holds for string concat method + */ +class StringConcatMethodCall extends MethodCall { + StringConcatMethodCall() { + this.fromSource() and + this.getTarget().hasFullyQualifiedName("System.String", "Concat") + } +} + +/** + * Holds for string format method + */ +class StringFormatMethodCall extends MethodCall { + StringFormatMethodCall() { + this.fromSource() and + this.getTarget().hasFullyQualifiedName("System.String", "Format") + } +} + +/** + * Holds for string join method + */ +class StringJoinMethodCall extends MethodCall { + StringJoinMethodCall() { + this.fromSource() and + this.getTarget().hasFullyQualifiedName("System.String", "Join") + } +} + +/** + * Holds for StringBuilder constructor call + */ +class StringBuilderConstructorCall extends Call { + StringBuilderConstructorCall() { + this.fromSource() and + exists(Constructor c | this = c.getACall() | + c.hasFullyQualifiedName("System.Text.StringBuilder", "StringBuilder") + ) + } +} + +/** + * Holds for StringBuilder append method + */ +private class StringBuilderAppendMethodCall extends MethodCall { + StringBuilderAppendMethodCall() { + this.fromSource() and + this.getTarget().hasFullyQualifiedName("System.Text.StringBuilder", "Append") + } +} + +/** + * Holds for StringBuilder appendFormat method + */ +private class StringBuilderAppendFormatMethodCall extends MethodCall { + StringBuilderAppendFormatMethodCall() { + this.fromSource() and + this.getTarget().hasFullyQualifiedName("System.Text.StringBuilder", "AppendFormat") + } +} + +/** + * Holds for StringBuilder appendJoin method + */ +private class StringBuilderAppendJoinMethodCall extends MethodCall { + StringBuilderAppendJoinMethodCall() { + this.fromSource() and + this.getTarget().hasFullyQualifiedName("System.Text.StringBuilder", "AppendJoin") + } +} + +/** + * Holds for StringBuilder appendLine method + */ +private class StringBuilderAppendLineMethodCall extends MethodCall { + StringBuilderAppendLineMethodCall() { + this.fromSource() and + this.getTarget().hasFullyQualifiedName("System.Text.StringBuilder", "AppendLine") + } +} + +/** + * Holds for StringBuilder object creation + */ +class StringBuilderObjectCreation extends ObjectCreation { + StringBuilderObjectCreation() { + this.fromSource() and + this.getType().hasFullyQualifiedName("System.Text", "StringBuilder") + } +} + +/** + * Holds for ArrayCreation of type string, int, char, byte + */ +class ArrayCreationOfInterest extends ArrayCreation { + ArrayCreationOfInterest() { + this.fromSource() and + exists(Type t | t = this.getArrayType().getElementType() | + t instanceof SimpleType + or + t instanceof StringType + or + t instanceof ByteType + ) + } +} + +/** + * Holds for AddExpr in source + */ +class AddExprOfInterest extends AddExpr { + AddExprOfInterest() { this.fromSource() } +} + +/** + * Holds for InterpolatedStringExpr in source + */ +class IpsExprOfInterest extends InterpolatedStringExpr { + IpsExprOfInterest() { this.fromSource() } +} + +/** + * Holds for string format methods + */ +class FormatMethodCall extends MethodCall { + FormatMethodCall() { + this instanceof StringFormatMethodCall + or + this instanceof StringBuilderAppendFormatMethodCall + } +} + +/** + * Holds for string concatenation join methods + */ +class JoinMethodCall extends MethodCall { + JoinMethodCall() { + this instanceof StringJoinMethodCall + or + this instanceof StringBuilderAppendJoinMethodCall + } +} + +/** + * Holds for string builder append methods + */ +class StringBuilderMethodCall extends MethodCall { + StringBuilderMethodCall() { + this instanceof StringBuilderAppendMethodCall + or + this instanceof StringBuilderAppendFormatMethodCall + or + this instanceof StringBuilderAppendJoinMethodCall + or + this instanceof StringBuilderAppendLineMethodCall + } +} + +/** + * Get the restricted number of elements for each concatenation type + * Otherwise, the permutations to build the full string value from variable/property/parameter assignments can exceed the 32-bit stringpool + */ +int elementRestiction() { result = 10 } + +/** + * Holds for the types of Expr that can be used to build the actual string value + */ +abstract private class ExtractExpr extends Expr { } + +/** + * Holds when the Expr is an access to a variable, parameter, or property + */ +private class AccessExpr extends ExtractExpr { + AccessExpr() { + this instanceof VariableAccess + or + this instanceof ParameterAccess + or + this instanceof PropertyAccess + } +} + +/** + * Holds when the Expr is a Literal, ByteType, InterpolatedStringExpr, or AddExpr + */ +private class ValueExpr extends ExtractExpr { + ValueExpr() { + this instanceof CharLiteral + or + this instanceof IntegerLiteral + or + this instanceof StringLiteral + or + this.getType() instanceof ByteType + or + this instanceof IpsExprOfInterest + or + this instanceof AddExprOfInterest + } +} + +/** + * Holds when the `MethodCall` is one of the string concatenation calls + */ +private class MethodCallOfInterest extends MethodCall { + MethodCallOfInterest() { + this instanceof StringConcatMethodCall + or + this instanceof StringFormatMethodCall + or + this instanceof StringJoinMethodCall + or + this instanceof StringBuilderMethodCall + } +} + +/** + * Gets the value of a `PropertyRead` from assigned property values + */ +Expr getValueforPropRead(PropertyRead pr) { + exists(VariableAccess va_pr, Variable v, ObjectCreation oc | + va_pr = pr.getQualifier() and + v.getInitializer() = oc and + va_pr.getTarget() = v + | + result = getAValueForProp(oc, pr.getTarget().getName()) + ) +} + +/** + * Gets value set on the property 'prop' either with initializer of with a property setter on the object created with ObjectCreation 'create' + */ +Expr getAValueForProp(ObjectCreation create, string prop) { + // values set in object init + exists(MemberInitializer init | + init = create.getInitializer().(ObjectInitializer).getAMemberInitializer() and + init.getLValue().(PropertyAccess).getTarget().hasName(prop) and + result = init.getRValue() + ) + or + // values set on var that create is assigned to + exists(Assignment propAssign | + DataFlow::localFlow(DataFlow::exprNode(create), + DataFlow::exprNode(propAssign.getLValue().(PropertyAccess).getQualifier())) and + propAssign.getLValue().(PropertyAccess).getTarget().hasName(prop) and + result = propAssign.getRValue() + ) + or + // property assignment in constructor + exists(Assignment propAssign | + propAssign.getEnclosingCallable() = create.getTarget() and + propAssign.getLValue().(PropertyAccess).getTarget().hasName(prop) and + result = propAssign.getRValue() + ) +} + +/** + * Holds for arguments or array elements of string concatenation, except for `AddExprOfInterest` and `IpsExprOfInterest` which are recursive + */ +private Expr getExprOfInterest0() { + exists(MethodCallOfInterest mc | result = mc.getAnArgument()) + or + exists(StringBuilderConstructorCall call | result = call.getAnArgument()) + or + exists(ArrayCreationOfInterest arr | result = arr.getInitializer().getAnElement()) +} + +/** + * Holds for arguments or array elements of string concatenation + */ +private Expr getExprOfInterest() { + result = getExprOfInterest0() + or + exists(AddExprOfInterest expr | result = expr.getAnOperand()) + or + exists(IpsExprOfInterest expr, int i | result = getIseChild(expr, i)) +} + +/** + * Holds when the Expr is an initialized, default, or assigned value + * of a variable, parameter, or property access + */ +private ValueExpr getExprFromAccess0(AccessExpr e) { + e = getExprOfInterest() and + ( + result = e.(VariableAccess).getTarget().getInitializer() + or + exists(ValueExpr ve | + ve = e.(VariableAccess).getTarget().getAnAssignedValue() and + getExprFromAssignedValue(e, ve) and + result = ve + ) + or + result = e.(ParameterAccess).getTarget().getDefaultValue() + or + result = e.(PropertyRead).getTarget().getInitializer() + or + result = e.(PropertyRead).getTarget().getExpressionBody() + or + e instanceof PropertyRead and + exists(ValueExpr ve | + ve = getValueforPropRead(e) and + getExprFromAssignedValue(e, ve) and + result = ve + ) + ) +} + +/** + * Holds when the Expr is an assigned value of a variable, parameter, or property access + */ +bindingset[e, ve] +pragma[inline_late] +private predicate getExprFromAssignedValue(AccessExpr e, ValueExpr ve) { + e = getExprOfInterest() and + ( + ve.getEnclosingCallable() instanceof Constructor + or + ve.getEnclosingCallable() instanceof Getter + or + ve.getEnclosingCallable() instanceof Setter + ) and + not exists(ValueExpr ve2 | DataFlow::localFlow(DataFlow::exprNode(ve2), DataFlow::exprNode(e))) + or + DataFlow::localFlow(DataFlow::exprNode(ve), DataFlow::exprNode(e)) +} + +/** + * Return actual string value of an `AccessExpr` (if any), otherwise return `` + */ +private string getStringFromAccessExpr(AccessExpr e) { + e = getExprOfInterest() and + ( + exists(ValueExpr value | value = getExprFromAccess0(e) | + value instanceof Literal and + result = value.(Literal).getValue() + or + value.getType() instanceof ByteType and + result = value.getValue() + or + // TODO need to use this for accuracy. However, the recursive calls for `getInterpolatedStringValue` and `getAddExprValue` are causing performance issues. + // The test cases for these scenarios are also marked with TODO + // result = getStringFromValueExpr(value) + value instanceof InterpolatedStringExpr and + result = "" + or + value instanceof AddExpr and + result = "" + ) + or + not exists(ValueExpr value | value = getExprFromAccess0(e)) and + result = "" + ) +} + +/** + * Return actual string value of a `ValueExpr` + */ +private string getStringFromValueExpr(ValueExpr e) { + e = getExprOfInterest() and + ( + e instanceof Literal and + result = e.(Literal).getValue() + or + e.getType() instanceof ByteType and + result = e.getValue() + or + // InterpolatedStringExpr may be used inside other string concatenation methods + e instanceof IpsExprOfInterest and + result = getInterpolatedStringValue(e) + or + // AddExpr may be used inside other string concatenation methods + e instanceof AddExprOfInterest and + result = getAddExprValue(e) + ) +} + +/** + * Return actual string value of an `ExtractExpr` + */ +pragma[inline] +string getStringValue(Expr e) { + exists(string s | + e instanceof ValueExpr and + s = getStringFromValueExpr(e) + or + e instanceof AccessExpr and + s = getStringFromAccessExpr(e) + or + not e instanceof ExtractExpr and + s = "" + | + // TODO ConditionalExpr + // restrict string length or total concatenated string can hit max string length + // if s.length() <= 120 then result = s else result = s.substring(0, 120) + "" + result = s.substring(0, s.length().minimum(128)) + ) +} + +/** + * Holds for `ArrayCreation` that uses a direct or local variable argument of a method call + * + * Example: `new String[]{"a", "b", "c"}` from `string.Concat(new String[]{"a", "b", "c"})` + * Example: `new String[]{"a", "b", "c"}` from `var arr = new String[]{"a", "b", "c"}; string.Concat(arr)` + */ +pragma[inline] +private ArrayCreationOfInterest getAnArrayCreationArg(MethodCallOfInterest mc) { + result = mc.getAnArgument() + or + // Array variable + exists(Variable v | mc.getAnArgument() = v.getAnAccess() | + result = v.getInitializer() + or + result = v.getAnAssignedValue() + ) +} + +/** + * Concentate an array with actual string values + * + * Example: `abc` from `new String[]{var_a, "b", "c"}` + */ +string getConcatenatedArrayValue(ArrayCreationOfInterest arr) { + // restrict elements or number of permutations with `getStringFromAccessExpr` can exceed 32-bit stringpool + if arr.getInitializer().getNumberOfElements() < elementRestiction() + then + result = + concat(string s, int i | s = getStringValue(arr.getInitializer().getElement(i)) | s order by i) and + result.length() > 0 + else result = "exceeds elements limitation" +} + +/** + * Concentate an array with actual string values using a separator + * + * Example: `a;b;c` from `new String[]{var_a, "b", "c"}` and separator `;` + */ +pragma[inline] +string getConcatenatedArrayValueWithSeparator(ArrayCreationOfInterest arr, ExtractExpr separator) { + // restrict elements or number of permutations with `getStringFromAccessExpr` can exceed 32-bit stringpool + if arr.getInitializer().getNumberOfElements() < elementRestiction() + then + result = + concat(string s, int i | + s = getStringValue(arr.getInitializer().getElement(i)) + | + s, getStringValue(separator) order by i + ) and + result.length() > 0 + else result = "exceeds elements limitation" +} + +/** + * Regex for a valid insert. + * + * Example: `{0}` + * + * Copied from semmle.code.csharp.frameworks.Format + */ +private string getFormatInsertRegex() { result = "\\{(\\d+)\\s*(,\\s*-?\\d+\\s*)?(:[^{}]+)?\\}" } + +/** + * Regex for a valid token in the string. + * + * Note that the format string can be tokenised using this regex. + * + * Copied from semmle.code.csharp.frameworks.Format + */ +private string getValidFormatTokenRegex() { + result = "[^{}]|\\{\\{|\\}\\}|" + getFormatInsertRegex() +} + +/** + * Gets the token at the given position in the string. + * + * Example: from `{0]/{1}` it will return `{0}`, `/`, `{1}` + * + * Based on semmle.code.csharp.frameworks.Format.ValidFormatString + */ +bindingset[formatString] +pragma[inline_late] +private string getToken(string formatString, int outPosition) { + result = formatString.regexpFind(getValidFormatTokenRegex(), _, outPosition) +} + +/** + * Gets the insert number at the given position in the string. + * + * Based on semmle.code.csharp.frameworks.Format.ValidFormatString + */ +bindingset[formatString] +pragma[inline_late] +private int getInsert(string formatString, int position) { + result = getToken(formatString, position).regexpCapture(getFormatInsertRegex(), 1).toInt() +} + +/** + * Gets any insert number in the string. + * + * Based on semmle.code.csharp.frameworks.Format.ValidFormatString + */ +bindingset[formatString] +pragma[inline_late] +int getAnInsert(string formatString) { result = getInsert(formatString, _) } + +/** + * Concatenates the full format string with actual string values + * + * Example: `https://host/path?a=b` from `string.Format("https://{0}/{1}?a=b", "host", "path")` + */ +string getFormatStringValue(FormatMethodCall mc) { + // restrict elements or number of permutations with `getStringFromAccessExpr` can exceed 32-bit stringpool + // Do not count format string argument + if mc.getNumberOfArguments() - 1 < elementRestiction() + then + exists(string formatString | getStringValue(mc.getArgumentForName("format")) = formatString | + result = + concat(string token, int tokenInt, string s | + token = getToken(formatString, tokenInt) and + if token.charAt(0) = "{" + then + if exists(Expr e | e = mc.getArgumentForName("provider")) + then + // If there is an IFormatProvider argument, get insert from 2 args ahead (skip IFormatProvider, formatString) + exists(int insertInt | insertInt = getInsert(formatString, tokenInt) | + s = getStringValue(mc.getArgument(insertInt + 2)) + ) + else + // otherwise, get insert from 1 arg ahead (skip formatString) + exists(int insertInt | insertInt = getInsert(formatString, tokenInt) | + s = getStringValue(mc.getArgument(insertInt + 1)) + ) + else s = token + | + s order by tokenInt + ) + ) + else result = "exceeds elements limitation" +} + +private Expr getIseChild(IpsExprOfInterest ise, int i) { + if ise.getChild(i) instanceof InterpolatedStringInsertExpr + then result = ise.getChild(i).(InterpolatedStringInsertExpr).getInsert() + else result = ise.getChild(i) +} + +/** + * Concatenates `InterpolatedStringExpr` with actual string value + * Example: `abcde` from `$"a{b}c{d}e"` + */ +language[monotonicAggregates] +string getInterpolatedStringValue(IpsExprOfInterest ise) { + if ise.getNumberOfChildren() < elementRestiction() + then + result = + strictconcat(int i | exists(ise.getChild(i)) | getStringValue(getIseChild(ise, i)) order by i) + else result = "exceeds elements limitation" +} + +/** + * Count of chained `AddExpr` + */ +private int getAddExprCount(AddExprOfInterest ae) { + result = count(AddExprOfInterest ae2 | ae2 = ae.getLeftOperand+() | ae2) +} + +/** + * Recursively concatenates `AddExpr` children with actual string values + * Example: `a`, `ab`, `abc` from `"a" + "b" + "c"` + */ +private string getAnAddExprValue(AddExprOfInterest e) { + // restrict elements or number of permutations with `getStringFromAccessExpr` can exceed 32-bit stringpool + if getAddExprCount(e) < elementRestiction() + then + // Base case when there are no more AddExpr on the left + not e.getLeftOperand() instanceof AddExprOfInterest and + result = getStringValue(e.getLeftOperand()) + getStringValue(e.getRightOperand()) + or + // Recursive case + e.getLeftOperand() instanceof AddExprOfInterest and + result = getAnAddExprValue(e.getLeftOperand()) + getStringValue(e.getRightOperand()) + else result = "exceeds elements limitation" +} + +/** + * Concatenates `AddExpr` with actual string values + * Example: `abc` from `"a" + "b" + "c"` + */ +string getAddExprValue(AddExprOfInterest e) { + not exists(AddExprOfInterest parent | e = parent.getLeftOperand()) and + result = getAnAddExprValue(e) +} + +/** + * Get StringBuilder constructor argument with actual string values + * + * Example: `a` from `new StringBuilder("a")` + */ +private LocalVariable getAStringBuilderLocalVariable(StringBuilderObjectCreation oc) { + exists(Assignment a | a.getRValue() = oc | + result = a.getLValue().(LocalVariableAccess).getTarget() + ) +} + +/** + * Get StringBuilder constructor argument with actual string values + * + * Example: `a` from `new StringBuilder("a")` + */ +private string getAStringBuilderConstructorValue(LocalVariable v) { + exists(StringBuilderObjectCreation oc | + oc.getTarget().getAParameter().hasName("value") and + v.getAnAssignedValue() = oc + | + result = getStringValue(oc.getArgument(0)) + ) +} + +/** + * Get StringBuilder.Append argument with actual string values + * + * Example: `b` from `sb.Append("b")` + */ +private string getAStringBuilderAppendValue(StringBuilderAppendMethodCall mc) { + ( + result = getStringValue(mc.getAnArgument()) + or + exists(ArrayCreationOfInterest arr | arr = getAnArrayCreationArg(mc) | + // zero-index array + result = getConcatenatedArrayValue(arr) + ) + // or + // TODO exists stringbuilder, recurse + ) +} + +/** + * Get StringBuilder.AppendLine argument with actual string values + * + * Example: `b` from `sb.AppendLine("b")` + */ +private string getAStringBuilderAppendLineValue(StringBuilderAppendLineMethodCall mc) { + result = getStringValue(mc.getAnArgument()) + "/n" + // or + // TODO exists stringbuilder, recurse +} + +/** + * Get StringBuilder method argument with actual string values + */ +private string getAStringBuilderMethodValue(StringBuilderMethodCall mc) { + result = getAStringBuilderAppendValue(mc) + or + result = getFormatStringValue(mc) + or + result = getStringJoinValue(mc) + or + result = getAStringBuilderAppendLineValue(mc) +} + +/** + * Count of StringBuilder qualifier chain + */ +private int getAStringBuilderQualifierCount(StringBuilderMethodCall mc) { + result = count(StringBuilderMethodCall mc2 | mc2 = mc.getQualifier+() | mc2) +} + +/** + * Concatenate StringBuilder append chain with actual string values + * + * Example: `b`, `cd`, `e;f`, `ab`, `abcd`, `abcde;f` + * from `StringBuilder sb = new StringBuilder("a");` + * `sb.Append("b").AppendFormat("c{0}", "d").AppendJoin(";", new String[]{"e", "f"});` + */ +private string getAStringBuilderAppendChainValue(StringBuilderMethodCall mc) { + // restrict elements or number of permutations with `getStringFromAccessExpr` can exceed 32-bit stringpool + if getAStringBuilderQualifierCount(mc) < elementRestiction() + then + // base case + exists(LocalVariableAccess va | va = mc.getQualifier() | + result = getAStringBuilderConstructorValue(va.getTarget()) + getAStringBuilderMethodValue(mc) + or + not exists(string s | s = getAStringBuilderConstructorValue(va.getTarget())) and + result = getAStringBuilderMethodValue(mc) + ) + or + // recursive case + exists(StringBuilderMethodCall qualifier | qualifier = mc.getQualifier() | + result = getAStringBuilderAppendChainValue(qualifier) + getAStringBuilderMethodValue(mc) + ) + else result = "exceeds elements limitation" +} + +/** + * Concatenate StringBuilder append chain with actual string values + * + * Example: `abcde;f` + * from `StringBuilder sb = new StringBuilder("a");` + * `sb.Append("b").AppendFormat("c{0}", "d").AppendJoin(";", new String[]{"e", "f"})` + */ +private string getStringBuilderAppendChainValue(StringBuilderObjectCreation oc) { + exists(LocalVariableAccess va, StringBuilderMethodCall mc | + va = getAStringBuilderLocalVariable(oc).getAnAccess() and + va = mc.getQualifier+() and + // filter on the last append in the chain + not va = mc.getQualifier() and + not exists(StringBuilderMethodCall mc2 | mc = mc2.getQualifier()) and + result = getAStringBuilderAppendChainValue(mc) + ) +} + +/** + * Holds for `MethodCall` of discrete StringBuilder append calls + * + * Holds for `sb.Append("b")`, `sb.AppendFormat("c{0}", "d")`, + * `sb.AppendJoin(";", new String[]{"e", "f"})` + * + * Does not hold for `sb.Append("b").sb.Append("c")`, `sb.ToString()` + */ +private StringBuilderMethodCall getAStringBuilderMethodCall(StringBuilderObjectCreation oc) { + exists(LocalVariable v, StringBuilderMethodCall mc | + v = getAStringBuilderLocalVariable(oc) and + mc.getQualifier() = v.getAnAccess() and + // filter out append chain + not exists(StringBuilderMethodCall mc2 | mc = mc2.getQualifier()) and + result = mc + ) +} + +/** + * Get StringBuilder qualifiers chain count + */ +private int getAStringBuilderMethodCallCount(StringBuilderObjectCreation oc) { + result = count(StringBuilderMethodCall mc2 | mc2 = getAStringBuilderMethodCall(oc) | mc2) +} + +/** + * Concatenate discrete StringBuilder append calls with actual string values + * + * Example: `abcde;f` + * from `StringBuilder sb = new StringBuilder("a"); sb.Append("b");` + * `sb.AppendFormat("c{0}", "d"); sb.AppendJoin(";", new String[]{"e", "f"})` + */ +private string getStringBuilderAppendValue(StringBuilderObjectCreation oc) { + // restrict elements or number of permutations with `getStringFromAccessExpr` can exceed 32-bit stringpool + if getAStringBuilderMethodCallCount(oc) < elementRestiction() + then + exists(LocalVariableAccess va, string appendValueString | + va = getAStringBuilderLocalVariable(oc).getAnAccess() and + appendValueString = + concat(string s, StringBuilderMethodCall mc | + mc = getAStringBuilderMethodCall(oc) and s = getAStringBuilderMethodValue(mc) + | + s order by mc.getLocation().getStartLine() + ) + | + result = getAStringBuilderConstructorValue(va.getTarget()) + appendValueString + or + not exists(string s | s = getAStringBuilderConstructorValue(va.getTarget())) and + result = appendValueString + ) and + result.length() > 0 + else result = "exceeds elements limitation" +} + +/** + * Concatenate StringBuilder append chain with actual string values + */ +string getStringBuilderValue(StringBuilderObjectCreation oc) { + result = getStringBuilderAppendChainValue(oc) + or + result = getStringBuilderAppendValue(oc) +} + +/** + * Concatenates `string.Concate` arguments with actual string values + * + * Example: `abc` from `string.Concat("a", "b", "c")` + * Example: `abc` from `string.Concat(new String[]{"a", "b", "c"})` + */ +string getStringConcatValue(StringConcatMethodCall mc) { + not exists(ArrayCreationOfInterest arr | arr = getAnArrayCreationArg(mc)) and + if mc.getNumberOfArguments() < elementRestiction() + then + result = concat(string s, int i | s = getStringValue(mc.getArgument(i)) | s order by i) and + result.length() > 0 + else result = "exceeds elements limitation" + or + exists(ArrayCreationOfInterest arr | arr = getAnArrayCreationArg(mc) | + // zero-index array + result = getConcatenatedArrayValue(arr) + ) +} + +/** + * Concatenates `string.Join` arguments with actual string values and separator + * + * Example: `abc` from `string.Join("", new String[]{"a" + "b" + "c"})` + * Example: `a-b-c` from `string.Join("-", new String[]{"a" + "b" + "c"})` + */ +string getStringJoinValue(JoinMethodCall mc) { + exists(ArrayCreationOfInterest arr | + arr = getAnArrayCreationArg(mc) and + // zero-index array + result = getConcatenatedArrayValueWithSeparator(arr, mc.getArgument(0)) + ) +} + +class ConcatenatedStringValue extends DataFlow::Node instanceof ConcatenatedStringValue::Range { + final string getAConcatenatedString() { result = super.getAConcatenatedString() } + + bindingset[pattern] + predicate concatenatedStringMatches(string pattern) { super.concatenatedStringMatches(pattern) } +} + +/** Provides a class for modeling string construction. */ +module ConcatenatedStringValue { + abstract class Range extends DataFlow::Node { + /** Gets the concatenated string replaced with actual values from variables/etc. */ + abstract string getAConcatenatedString(); + + bindingset[pattern] + predicate concatenatedStringMatches(string pattern) { + this.getAConcatenatedString().matches(pattern) + } + } +} + +private class ConcatenateInterpolatedString extends ConcatenatedStringValue::Range, DataFlow::Node { + ConcatenateInterpolatedString() { + exists(IpsExprOfInterest ips | ips = this.asExpr() | + not ips = getExprOfInterest0() and + not exists(AddExprOfInterest ae | ips = ae.getAnOperand()) + ) + } + + override string getAConcatenatedString() { result = getInterpolatedStringValue(this.asExpr()) } +} + +private class ConcatenateFormatString extends ConcatenatedStringValue::Range, DataFlow::Node { + ConcatenateFormatString() { exists(StringFormatMethodCall mc | mc = this.asExpr()) } + + override string getAConcatenatedString() { result = getFormatStringValue(this.asExpr()) } +} + +private class ConcatenateAddExpr extends ConcatenatedStringValue::Range, DataFlow::Node { + ConcatenateAddExpr() { + exists(AddExprOfInterest ae | ae = this.asExpr() | + not ae = getExprOfInterest0() and + not exists(IpsExprOfInterest ips | ae = ips.getAnInsert()) + ) + } + + override string getAConcatenatedString() { result = getAddExprValue(this.asExpr()) } +} + +private class ConcatenateStringConcat extends ConcatenatedStringValue::Range, DataFlow::Node { + ConcatenateStringConcat() { exists(StringConcatMethodCall mc | mc = this.asExpr()) } + + override string getAConcatenatedString() { result = getStringConcatValue(this.asExpr()) } +} + +private class ConcatenateStringBuilder extends ConcatenatedStringValue::Range, DataFlow::Node { + ConcatenateStringBuilder() { exists(StringBuilderObjectCreation oc | oc = this.asExpr()) } + + override string getAConcatenatedString() { result = getStringBuilderValue(this.asExpr()) } +} + +private class ConcatenateStringJoin extends ConcatenatedStringValue::Range, DataFlow::Node { + ConcatenateStringJoin() { exists(StringJoinMethodCall mc | mc = this.asExpr()) } + + override string getAConcatenatedString() { result = getStringJoinValue(this.asExpr()) } +} diff --git a/csharp/ql/lib/experimental/code/csharp/String Concatenation/ConcatenateStringSantizer.qll b/csharp/ql/lib/experimental/code/csharp/String Concatenation/ConcatenateStringSantizer.qll new file mode 100644 index 000000000000..725ee022d850 --- /dev/null +++ b/csharp/ql/lib/experimental/code/csharp/String Concatenation/ConcatenateStringSantizer.qll @@ -0,0 +1,462 @@ +private import ConcatenateString + +/** + * TODO: + * separate the unit tests from SSRF for this library + */ +private class ExtractStringExpr extends Expr { + ExtractStringExpr() { + this instanceof StringLiteral + or + this instanceof VariableAccess + or + this instanceof AddExprOfInterest + } +} + +private string getString(ExtractStringExpr e) { + result = e.(StringLiteral).getValue() + or + result = getAddExprValue(e) +} + +/** + * A data-flow node in string construction to check for sanitization of a predecessor string. + * + * Extend this class and override `stringContainsSanitizer` to set string matches for all StringCreationSanitizer::Range extensions. + * + * Example to use as a Barrier: + * private class PathAndQueryBarrier extends Barrier { + * PathAndQueryBarrier() { + * this.(StringCreationSanitizerSSRF).stringContainsSanitizer() + * } + * } + * + * If you want to add new forms of string concatenation, extend `StringCreationSanitizer::Range` instead. + */ +class StringCreationSanitizer extends DataFlow::Node instanceof StringCreationSanitizer::Range { + /** Gets the predecessor node containing sanitizer. */ + final ExtractStringExpr getAPredecessor() { result = super.getAPredecessor() } + + final string getPredecessorString() { result = super.getPredecessorString() } + + /** + * Holds for string match patterns + * Include super.stringContainsSanitizer() when overriding to exclude string matches inside logging methods + * + * Example: + * class StringCreationSanitizerSSRF extends StringCreationSanitizer { + * override predicate stringContainsSanitizer() { + * super.stringContainsSanitizer() and // will not match patterns inside logging methods + * exists(string s | s = this.getPredecessorString() and s.length() > 0 | + * s.matches("%/%") and not s.matches("%://%")) + * or + * s.matches("%?%") + * } + * } + */ + predicate stringContainsSanitizer() { super.stringContainsSanitizer() } +} + +/** Provides a class for modeling string construction. */ +module StringCreationSanitizer { + abstract class Range extends DataFlow::Node { + ExtractStringExpr predecessor; + + /** Gets the predecessor node containing sanitizer. */ + ExtractStringExpr getAPredecessor() { result = predecessor } + + /** + * Gets the string value for the predecessor node containing sanitizer + * Overriding this predicate will only apply to an individual StringCreationSanitizer::Range extension. + * Overriding this predicate is needed in cases like `ValidFormatString` where the predecessor is a substring, not an `Expr` + */ + string getPredecessorString() { + result = getString(predecessor) + or + exists(LocalVariable lv | predecessor = lv.getAnAccess() | + result = getString(lv.getVariableDeclExpr().getInitializer()) + ) + or + not predecessor instanceof LocalVariableAccess and + exists(Variable v, Expr e | + v = predecessor.(VariableAccess).getTarget() and + ( + v.getAnAssignedValue() = e + or + v.getInitializer() = e + ) and + result = getString(e) + ) + } + + /** + * Holds when the node is not the child of an argument of a logging method. + * + * Overriding this predicate will only apply to an individual StringCreationSanitizer::Range extension. + */ + predicate stringContainsSanitizer() { not this instanceof ExtendedLogMessageSink } + } +} + +/** + * Holds if the node is being used in an interpolated string such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": + * `$"https://something/{node}"` will hold + * `$"https://{node}"` will not hold + */ +private class InterpolatedStringSanitizer extends StringCreationSanitizer::Range, DataFlow::Node { + InterpolatedStringSanitizer() { + exists(InterpolatedStringExpr ise, Expr ei, int index, int preIndex | + this.asExpr() = ei and + ei = ise.getChild(index).(InterpolatedStringInsertExpr).getInsert() and + index >= 1 and + preIndex in [0 .. (index - 1)] + | + if ise.getChild(preIndex) instanceof InterpolatedStringInsertExpr + then predecessor = ise.getChild(preIndex).(InterpolatedStringInsertExpr).getInsert() + else predecessor = ise.getChild(preIndex) + ) + } +} + +/** + * Holds if the node is being used in string concatenation such that such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": + * `@"https://something/" + node` will hold + * `@"https://something/" + $"{node1}-{node2}"` will hold + * `@"https://something/" + $"{node1}/{node2}" + node3` will hold + * `@"https://" + node` will not hold + */ +private class StringAdditionSanitizer extends StringCreationSanitizer::Range, DataFlow::Node { + StringAdditionSanitizer() { + exists(AddExpr ae, Expr ei | + this.asExpr() = ei and + ei = ae.getRightOperand() and + predecessor = ae.getLeftOperand().getAChildExpr*() + ) + } +} + +/** + * Holds if the node is being used in String.Concat such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": * + * `string.Concat("https://something/", node)` will hold + * `string.Concat("https://", node)` will not hold + * There are other overloaded String.Concat methods not handled here + * (see https://learn.microsoft.com/en-us/dotnet/api/system.string.concat) + * They can be added as needed if false positives are found + */ +private class StringConcatSanitizer extends StringCreationSanitizer::Range, DataFlow::Node { + StringConcatSanitizer() { + exists(MethodCall c, Expr ei, int index, int preIndex | + this.asExpr() = ei and + c.getTarget().hasFullyQualifiedName("System.String", "Concat") and + ei = c.getArgument(index) and + index >= 1 and + preIndex in [0 .. (index - 1)] and + predecessor = c.getArgument(preIndex) + ) + } +} + +bindingset[fs] +pragma[inline_late] +private string getFormatString(ExtractStringExpr fs) { + result = getString(fs) + or + exists(LocalVariable lv | fs = lv.getAnAccess() | + result = getString(lv.getVariableDeclExpr().getInitializer()) + ) + or + // format string argument is a VariableAccess; try to get the value + not fs instanceof LocalVariableAccess and + exists(Variable v, Expr e | + v = fs.(VariableAccess).getTarget() and + ( + v.getAnAssignedValue() = e + or + v.getInitializer() = e + ) and + result = getString(e) + ) +} + +private string getFormatStringFromFormatMethod(FormatMethodCall mc) { + exists(Expr formatStringArg | mc.getArgumentForName("format") = formatStringArg | + formatStringArg instanceof ExtractStringExpr and + result = getFormatString(formatStringArg) + or + formatStringArg instanceof ConditionalExpr and + ( + result = getFormatString(formatStringArg.(ConditionalExpr).getThen()) + or + result = getFormatString(formatStringArg.(ConditionalExpr).getElse()) + ) + ) +} + +/** + * Holds if the node is being used in format string such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": + * * `string.Format("https://something/{0}", node)` will hold + * `string.Format("https://{0}", node)` will not hold + */ +private class StringFormatSanitizer extends StringCreationSanitizer::Range, DataFlow::Node { + string stringPredecessor; + + StringFormatSanitizer() { + exists(FormatMethodCall c, Expr ei, int index, int preIndex, string formatString | + this.asExpr() = ei and + formatString = getFormatStringFromFormatMethod(c) and + ei = c.getArgument(index) and + ( + // formatString is argument 0 of the `FormatMethod` + // the inserts start 1 + not exists(Expr e | e = c.getArgumentForName("provider")) and + index >= 1 and + predecessor = c.getArgument(0) and // not actually the predecessor, however something needs to be set to prevent a cartesian product + preIndex in [0 .. (index - 1)] + or + // IFormatProvider is argument 0 of the `FormatMethod` + // formatString is argument 1; the inserts start 2 + exists(Expr e | e = c.getArgumentForName("provider")) and + index >= 2 and + predecessor = c.getArgument(1) and // not actually the predecessor, however something needs to be set to prevent a cartesian product + preIndex in [0 .. (index - 2)] + ) and + if preIndex = 0 + then + // Starting at char position 0 of the formatString, get the text before the first insert (`indexOf` uses a 0-based array for the nth occurrance within the string) + // For example: `https://' from `https://{0}` + exists(int insertPos | insertPos = formatString.indexOf("{", 0, 0) | + stringPredecessor = formatString.substring(0, insertPos) and + stringPredecessor.length() > 0 + ) + else + // Starting at char position 0 of the formatString, get the text between the nth inserts. + // For example: `/` from `https://{0}/{1}` + exists(int predInsertEnd, int succInsertStart | + predInsertEnd = formatString.indexOf("}", preIndex - 1, 0) and + succInsertStart = formatString.indexOf("{", preIndex, 0) and + stringPredecessor = formatString.substring(predInsertEnd + 1, succInsertStart) and + stringPredecessor.length() > 0 + ) + ) + } + + /** Gets the predecessor node containing sanitizer. */ + override ExtractStringExpr getAPredecessor() { none() } + + /** + * Gets the predecessor substring of `ValidFormatString` containing sanitizer + */ + override string getPredecessorString() { result = stringPredecessor } +} + +/** + * Holds if the node is being used in String.Format argument such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": + * * `string.Format("{0}{1}{2}", "https://something", "/", node)` will hold + * `string.Format("{0}", node)` will not hold + */ +private class StringFormatArgumentSanitizer extends StringCreationSanitizer::Range, DataFlow::Node { + StringFormatArgumentSanitizer() { + exists(FormatMethodCall c, Expr ei, int index, int preIndex | + this.asExpr() = ei and + ei = c.getArgument(index) and + ( + // formatString is argument 0 of the `FormatMethod` + // the inserts start 1 + not exists(Expr e | e = c.getArgumentForName("provider")) and + index >= 2 and + preIndex in [1 .. (index - 1)] and + predecessor = c.getArgument(preIndex) + or + // IFormatProvider is argument 0 of the `FormatMethod` + // formatString is argument 1; the inserts start 2 + exists(Expr e | e = c.getArgumentForName("provider")) and + index >= 3 and + preIndex in [2 .. (index - 1)] and + predecessor = c.getArgument(preIndex) + ) + ) + } +} + +/** + * Holds if the node is being used in String.Join such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": + * `string.Join("/", new String[]{ "https://something", node })` will hold + * `string.Join(null, new String[]{ "https://something/", node }` will hold + * `string.Join(null, new String[]{ "https://", node })` will not hold + */ +private class StringJoinSanitizer extends StringCreationSanitizer::Range, DataFlow::Node { + StringJoinSanitizer() { + exists(MethodCall c, Expr ei, int index, int preIndex, ArrayInitializer arr | + this.asExpr() = ei and + c.getTarget().hasFullyQualifiedName("System.String", "Join") and + ( + // Array creation occurs in the `String.Join` call + c.getArgument(1).(ArrayCreation).getInitializer() = arr + or + // Array variable is used in the `String.Join` call + exists(LocalVariable lv | c.getArgument(1) = lv.getAnAccess() | + lv.getVariableDeclExpr().getInitializer().(ArrayCreation).getInitializer() = arr + ) + ) and + index >= 1 and + ( + // separator may be null or empty; check array elements for sanitizer + preIndex in [0 .. (index - 1)] and + ei = arr.getElement(index) and + predecessor = arr.getElement(preIndex) + or + // check separator for sanitizer + // separator is only used if the array length is greater than 1 + arr.getNumberOfElements() = index and + // exclude first node in array; only nodes joined after the separator may be sanitized + preIndex in [1 .. (index - 1)] and + ei = arr.getElement(index) and + predecessor = c.getArgument(0) + ) + ) + } +} + +/** + * Holds if the node is being used in StringBuilder such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": + * `StringBuilder stringBuilder = new StringBuilder("https://something/"); stringBuilder.Append(node);` will hold + * `StringBuilder stringBuilder = new StringBuilder("https://"); stringBuilder.Append(node);` will not hold + */ +private class StringBuilderConstructorSanitizer extends StringCreationSanitizer::Range, + DataFlow::Node +{ + StringBuilderConstructorSanitizer() { + exists(MethodCall c, Expr ei, LocalVariable v | + this.asExpr() = ei and + c = getStringBuilderAppendMethodCall(ei) and + v.getAnAccess() = c.getAChild() and + predecessor = v.getAnAssignedValue().(Call).getArgument(0) + ) + } +} + +/** + * Holds if the node is being used in StringBuilder such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": + * `stringBuilder.Append("https://something/").Append(node)` will hold + * `stringBuilder.Append("https://").Append(node)` will not hold + */ +private class StringBuilderAppendChainSanitizer extends StringCreationSanitizer::Range, + DataFlow::Node +{ + StringBuilderAppendChainSanitizer() { + exists(MethodCall c, Expr ei | + this.asExpr() = ei and + c = getStringBuilderAppendMethodCall(ei) and + predecessor = c.getAChildExpr*() and + ei != predecessor + ) + } +} + +/** + * Holds if the node is being used in StringBuilder such that it is used after `stringContainsSanitizer` + * + * Example: if `stringContainsSanitizer` matches on a "/" character, but not "//": + * `stringBuilder.Append("https://something/"); stringBuilder.Append(node)` will hold + * `stringBuilder.Append("https://"); stringBuilder.Append(node)` will not hold + */ +private class StringBuilderAppendSanitizer extends StringCreationSanitizer::Range, DataFlow::Node { + StringBuilderAppendSanitizer() { + exists( + MethodCall callEi, MethodCall callPre, Expr ei, DataFlow::Node nodeEi, DataFlow::Node nodePre, + LocalVariable v + | + this.asExpr() = ei and + callPre = getStringBuilderAppendMethodCall(predecessor) and + nodePre.asExpr() = callPre.getAChild() and + nodePre.asExpr() = v.getAnAccess() and + nodeEi.asExpr() = v.getAnAccess() and + nodeEi.asExpr() = callEi.getAChild() and + callEi = getStringBuilderAppendMethodCall(ei) and + DataFlow::localFlow(nodePre, nodeEi) + ) + } +} + +/** + * Holds if the MethodCall is for `System.Text.StringBuilder.Append` + */ +MethodCall getStringBuilderAppendMethodCall(Expr e) { + exists(MethodCall c | + c.getTarget().hasFullyQualifiedName("System.Text.StringBuilder", "Append") and + e = c.getArgument(0) and + result = c + ) +} + +/** + * A class or interface used for logging + * Based on LoggerType in Loggers.qll + */ +class ExtendedLoggerType extends RefType { + ExtendedLoggerType() { + this.getABaseType*().hasName("ILogger") + or + this.getABaseType*().hasName("ILog") + or + this.getABaseType*().hasFullyQualifiedName("System.Diagnostics", "Debug") + or + this.getABaseType*().hasFullyQualifiedName("System.Diagnostics", "Trace") + or + this.getABaseType*().hasFullyQualifiedName("System.Diagnostics", "TraceSource") + or + this.getABaseType*().hasFullyQualifiedName("System", "Console") + or + this.getABaseType*().hasFullyQualifiedName("System.IO", "TextWriter") + or + this.getABaseType*().hasFullyQualifiedName("System.IO", "Stream") + or + this.getABaseType*().hasFullyQualifiedName("System.Xml.Linq", "XDocument") + or + exists(RefType t | t.getAMethod() instanceof LoggingMethod | this.getABaseType*() = t) + } +} + +/** + * A method name used for loggers or streams + */ +class LoggingMethod extends Method { + LoggingMethod() { + this.getName() in [ + "Critical", "Debug", "DebugFormat", "Error", "ErrorFormat", "Exception", "Fatal", + "FatalFormat", "Info", "InfoFormat", "Information", "Informational", "Log", "LogCritical", + "LogDebug", "LogDebugMessage", "LogError", "LogErrorMessage", "LogException", + "LogExceptionMessage", "LogInfo", "LogInfoMessage", "LogInformation", "LogTrace", + "LogTraceMessage", "LogWarn", "LogWarning", "LogWarningMessage", "Trace", "Verbose", "Warn", + "WarnFormat", "Warning", "Write", "WriteLine" + ] + } +} + +/** + * A node that is an argument (or child of an argument) for a method of class type ExtendedLoggerType + * Based on LogMessageSink in ExternalLocationSink.qll + * Example: `logger.LogInformation($"Message: {node1}/{node2}", logProperty);` + */ +class ExtendedLogMessageSink extends DataFlow::Node { + ExtendedLogMessageSink() { + this.asExpr() = any(ExtendedLoggerType i).getAMethod().getACall().getAnArgument().getAChild*() + } +} diff --git a/csharp/ql/lib/ext/Azure.Data.Tables.model.yml b/csharp/ql/lib/ext/Azure.Data.Tables.model.yml new file mode 100644 index 000000000000..0ddcd4a817f9 --- /dev/null +++ b/csharp/ql/lib/ext/Azure.Data.Tables.model.yml @@ -0,0 +1,69 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String)", "", "Argument[1]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,Azure.AzureSasCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential)", "", "Argument[1]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.String)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.String,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableSharedKeyCredential)", "", "Argument[1]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.AzureSasCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.AzureSasCredential)", "", "Argument[0]", "azure-ssrf", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "azure-ssrf", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,Azure.AzureSasCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,Azure.AzureSasCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,Azure.AzureSasCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[this]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[this]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[3]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", True, "GenerateSasUri", "(Azure.Data.Tables.Sas.TableSasPermissions,System.DateTimeOffset)", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", True, "GenerateSasUri", "(Azure.Data.Tables.Sas.TableSasBuilder)", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", True, "get_Name", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Data.Tables", "TableClient", True, "get_Uri", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.String,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableSharedKeyCredential)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.AzureSasCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.AzureSasCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.AzureSasCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.AzureSasCredential)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.AzureSasCredential)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Data.Tables", "TableServiceClient", True, "GenerateSasUri", "(Azure.Data.Tables.Sas.TableAccountSasPermissions,Azure.Data.Tables.Sas.TableAccountSasResourceTypes,System.DateTimeOffset)", "", "Argument[this]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "GenerateSasUri", "(Azure.Data.Tables.Sas.TableAccountSasBuilder)", "", "Argument[this]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "get_Uri", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Data.Tables", "TableUriBuilder", False, "TableUriBuilder", "(System.Uri)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.TableUriBuilder.AccountName,Azure.Data.Tables.TableUriBuilder.Host,Azure.Data.Tables.TableUriBuilder.Port,Azure.Data.Tables.TableUriBuilder.Query,Azure.Data.Tables.TableUriBuilder.Sas,Azure.Data.Tables.TableUriBuilder.Scheme,Azure.Data.Tables.TableUriBuilder.Tablename]", "taint", "manual"] + - ["Azure.Data.Tables", "TableUriBuilder", False, "ToString", "()", "", "Argument[this].Property[Azure.Data.Tables.TableUriBuilder.AccountName,Azure.Data.Tables.TableUriBuilder.Host,Azure.Data.Tables.TableUriBuilder.Port,Azure.Data.Tables.TableUriBuilder.Query,Azure.Data.Tables.TableUriBuilder.Sas,Azure.Data.Tables.TableUriBuilder.Scheme,Azure.Data.Tables.TableUriBuilder.Tablename]", "ReturnValue", "taint", "manual"] + - ["Azure.Data.Tables", "TableUriBuilder", False, "ToUri", "()", "", "Argument[this].Property[Azure.Data.Tables.TableUriBuilder.AccountName,Azure.Data.Tables.TableUriBuilder.Host,Azure.Data.Tables.TableUriBuilder.Port,Azure.Data.Tables.TableUriBuilder.Query,Azure.Data.Tables.TableUriBuilder.Sas,Azure.Data.Tables.TableUriBuilder.Scheme,Azure.Data.Tables.TableUriBuilder.Tablename]", "ReturnValue", "taint", "manual"] \ No newline at end of file diff --git a/csharp/ql/lib/ext/Azure.Security.KeyVault.Certificates.model.yml b/csharp/ql/lib/ext/Azure.Security.KeyVault.Certificates.model.yml new file mode 100644 index 000000000000..f767b02f789d --- /dev/null +++ b/csharp/ql/lib/ext/Azure.Security.KeyVault.Certificates.model.yml @@ -0,0 +1,17 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", False, "CertificateClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Certificates.CertificateClientOptions)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", False, "CertificateClient", "(System.Uri,Azure.Core.TokenCredential)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", False, "CertificateClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Certificates.CertificateClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Security.KeyVault.Certificates.CertificateClient.VaultUri]", "value", "manual"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", False, "CertificateClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Certificates.CertificateClientOptions)", "", "Argument[1]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", False, "CertificateClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Certificates.CertificateClientOptions)", "", "Argument[2]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", False, "CertificateClient", "(System.Uri,Azure.Core.TokenCredential)", "", "Argument[0]", "Argument[this].Property[Azure.Security.KeyVault.Certificates.CertificateClient.VaultUri]", "value", "manual"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", False, "CertificateClient", "(System.Uri,Azure.Core.TokenCredential)", "", "Argument[1]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "get_VaultUri", "()", "", "Argument[this].Property[Azure.Security.KeyVault.Certificates.CertificateClient.VaultUri]", "ReturnValue", "value", "manual"] diff --git a/csharp/ql/lib/ext/Azure.Security.KeyVault.Keys.model.yml b/csharp/ql/lib/ext/Azure.Security.KeyVault.Keys.model.yml new file mode 100644 index 000000000000..6ef57f2b075f --- /dev/null +++ b/csharp/ql/lib/ext/Azure.Security.KeyVault.Keys.model.yml @@ -0,0 +1,17 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Azure.Security.KeyVault.Keys", "KeyClient", False, "KeyClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Keys.KeyClientOptions)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", False, "KeyClient", "(System.Uri,Azure.Core.TokenCredential)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Security.KeyVault.Keys", "KeyClient", False, "KeyClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Keys.KeyClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Security.KeyVault.Keys.KeyClient.VaultUri]", "value", "manual"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", False, "KeyClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Keys.KeyClientOptions)", "", "Argument[1]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", False, "KeyClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Keys.KeyClientOptions)", "", "Argument[2]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", False, "KeyClient", "(System.Uri,Azure.Core.TokenCredential)", "", "Argument[0]", "Argument[this].Property[Azure.Security.KeyVault.Keys.KeyClient.VaultUri]", "value", "manual"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", False, "KeyClient", "(System.Uri,Azure.Core.TokenCredential)", "", "Argument[1]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", True, "get_VaultUri", "()", "", "Argument[this].Property[Azure.Security.KeyVault.Keys.KeyClient.VaultUri]", "ReturnValue", "value", "manual"] diff --git a/csharp/ql/lib/ext/Azure.Security.KeyVault.Secrets.model.yml b/csharp/ql/lib/ext/Azure.Security.KeyVault.Secrets.model.yml new file mode 100644 index 000000000000..504bd2dfba9a --- /dev/null +++ b/csharp/ql/lib/ext/Azure.Security.KeyVault.Secrets.model.yml @@ -0,0 +1,18 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Azure.Security.KeyVault.Secrets", "SecretClient", False, "SecretClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Secrets.SecretClientOptions)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", False, "SecretClient", "(System.Uri,Azure.Core.TokenCredential)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Security.KeyVault.Secrets", "SecretClient", False, "SecretClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Secrets.SecretClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Security.KeyVault.Secrets.SecretClient.VaultUri]", "value", "manual"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", False, "SecretClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Secrets.SecretClientOptions)", "", "Argument[1]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", False, "SecretClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Secrets.SecretClientOptions)", "", "Argument[2]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", False, "SecretClient", "(System.Uri,Azure.Core.TokenCredential)", "", "Argument[0]", "Argument[this].Property[Azure.Security.KeyVault.Secrets.SecretClient.VaultUri]", "value", "manual"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", False, "SecretClient", "(System.Uri,Azure.Core.TokenCredential", "", "Argument[1]", "Argument[this]", "value", "manual"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", True, "get_VaultUri", "()", "", "Argument[this].Property[Azure.Security.KeyVault.Secrets.SecretClient.VaultUri]", "ReturnValue", "value", "manual"] + - ["Azure.Security.KeyVault.Secrets", "SecretProperties", False, "get_VaultUri", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] diff --git a/csharp/ql/lib/ext/Azure.Storage.Blobs.ChangeFeed.model.yml b/csharp/ql/lib/ext/Azure.Storage.Blobs.ChangeFeed.model.yml new file mode 100644 index 000000000000..3584ceefccba --- /dev/null +++ b/csharp/ql/lib/ext/Azure.Storage.Blobs.ChangeFeed.model.yml @@ -0,0 +1,29 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.String,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.String,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.String,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] diff --git a/csharp/ql/lib/ext/Azure.Storage.Blobs.Specialized.model.yml b/csharp/ql/lib/ext/Azure.Storage.Blobs.Specialized.model.yml new file mode 100644 index 000000000000..83489e0e31d7 --- /dev/null +++ b/csharp/ql/lib/ext/Azure.Storage.Blobs.Specialized.model.yml @@ -0,0 +1,152 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientConfiguration)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlockFromUri", "(System.Uri,Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlockFromUriAsync", "(System.Uri,Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "StartCopyFromUri", "(System.Uri,Azure.Storage.Blobs.Models.BlobCopyFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "StartCopyFromUriAsync", "(System.Uri,Azure.Storage.Blobs.Models.BlobCopyFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "StageBlockFromUri", "(System.Uri,System.String,Azure.Storage.Blobs.Models.StageBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "StageBlockFromUriAsync", "(System.Uri,System.String,Azure.Storage.Blobs.Models.StageBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "SyncUploadFromUri", "(System.Uri,System.Boolean,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "SyncUploadFromUri", "(System.Uri,Azure.Storage.Blobs.Models.BlobSyncUploadFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "SyncUploadFromUriAsync", "(System.Uri,System.Boolean,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "SyncUploadFromUriAsync", "(System.Uri,Azure.Storage.Blobs.Models.BlobSyncUploadFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "GetManagedDiskPageRangesDiff", "(System.Nullable,System.String,System.Uri,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "GetManagedDiskPageRangesDiffAsync", "(System.Nullable,System.String,System.Uri,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "StartCopyIncremental", "(System.Uri,System.String,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "StartCopyIncrementalAsync", "(System.Uri,System.String,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "UploadPagesFromUri", "(System.Uri,Azure.HttpRange,Azure.HttpRange,Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "UploadPagesFromUriAsync", "(System.Uri,Azure.HttpRange,Azure.HttpRange,Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientConfiguration)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientConfiguration)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlockFromUri", "(System.Uri,Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlockFromUriAsync", "(System.Uri,Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "StartCopyFromUri", "(System.Uri,Azure.Storage.Blobs.Models.BlobCopyFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "StartCopyFromUriAsync", "(System.Uri,Azure.Storage.Blobs.Models.BlobCopyFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "get_AccountName", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "get_BlobContainerName", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "get_Name", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "get_Uri", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", False, "BlobLeaseClient", "(Azure.Storage.Blobs.BlobContainerClient,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", False, "BlobLeaseClient", "(Azure.Storage.Blobs.BlobContainerClient,System.String)", "", "Argument[1]", "Argument[this].Property[Azure.Storage.Blobs.Specialized.BlobLeaseClient.LeaseId]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", False, "BlobLeaseClient", "(Azure.Storage.Blobs.Specialized.BlobBaseClient,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", False, "BlobLeaseClient", "(Azure.Storage.Blobs.Specialized.BlobBaseClient,System.String)", "", "Argument[1]", "Argument[this].Property[Azure.Storage.Blobs.Specialized.BlobLeaseClient.LeaseId]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", True, "get_BlobClient", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", True, "get_BlobContainerClient", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", True, "get_LeaseId", "()", "", "Argument[this].Property[Azure.Storage.Blobs.Specialized.BlobLeaseClient.LeaseId]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", True, "get_Uri", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "StageBlockFromUri", "(System.Uri,System.String,Azure.Storage.Blobs.Models.StageBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "StageBlockFromUri", "(System.Uri,System.String,Azure.Storage.Blobs.Models.StageBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "StageBlockFromUri", "(System.Uri,System.String,Azure.Storage.Blobs.Models.StageBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "StageBlockFromUriAsync", "(System.Uri,System.String,Azure.Storage.Blobs.Models.StageBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "StageBlockFromUriAsync", "(System.Uri,System.String,Azure.Storage.Blobs.Models.StageBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "StageBlockFromUriAsync", "(System.Uri,System.String,Azure.Storage.Blobs.Models.StageBlockFromUriOptions,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "SyncUploadFromUri", "(System.Uri,System.Boolean,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "SyncUploadFromUri", "(System.Uri,Azure.Storage.Blobs.Models.BlobSyncUploadFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "SyncUploadFromUriAsync", "(System.Uri,System.Boolean,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "SyncUploadFromUriAsync", "(System.Uri,Azure.Storage.Blobs.Models.BlobSyncUploadFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "GetManagedDiskPageRangesDiff", "(System.Nullable,System.String,System.Uri,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "GetManagedDiskPageRangesDiff", "(System.Nullable,System.String,System.Uri,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "GetManagedDiskPageRangesDiff", "(System.Nullable,System.String,System.Uri,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "GetManagedDiskPageRangesDiffAsync", "(System.Nullable,System.String,System.Uri,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "GetManagedDiskPageRangesDiffAsync", "(System.Nullable,System.String,System.Uri,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "GetManagedDiskPageRangesDiffAsync", "(System.Nullable,System.String,System.Uri,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "StartCopyIncremental", "(System.Uri,System.String,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "StartCopyIncremental", "(System.Uri,System.String,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "StartCopyIncrementalAsync", "(System.Uri,System.String,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "StartCopyIncrementalAsync", "(System.Uri,System.String,Azure.Storage.Blobs.Models.PageBlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "UploadPagesFromUri", "(System.Uri,Azure.HttpRange,Azure.HttpRange,Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "UploadPagesFromUri", "(System.Uri,Azure.HttpRange,Azure.HttpRange,Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "UploadPagesFromUri", "(System.Uri,Azure.HttpRange,Azure.HttpRange,Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "UploadPagesFromUriAsync", "(System.Uri,Azure.HttpRange,Azure.HttpRange,Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "UploadPagesFromUriAsync", "(System.Uri,Azure.HttpRange,Azure.HttpRange,Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "UploadPagesFromUriAsync", "(System.Uri,Azure.HttpRange,Azure.HttpRange,Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] \ No newline at end of file diff --git a/csharp/ql/lib/ext/Azure.Storage.Blobs.model.yml b/csharp/ql/lib/ext/Azure.Storage.Blobs.model.yml new file mode 100644 index 000000000000..892b7ffbe8d6 --- /dev/null +++ b/csharp/ql/lib/ext/Azure.Storage.Blobs.model.yml @@ -0,0 +1,85 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[3]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobClient", False, "BlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.AccountName,Azure.Storage.Blobs.BlobContainerClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.Name,Azure.Storage.Blobs.BlobContainerClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.AccountName,Azure.Storage.Blobs.BlobContainerClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String)", "", "Argument[1]", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.Name,Azure.Storage.Blobs.BlobContainerClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.AccountName,Azure.Storage.Blobs.BlobContainerClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.AccountName,Azure.Storage.Blobs.BlobContainerClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.AccountName,Azure.Storage.Blobs.BlobContainerClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].PropertyAzure.Storage.Blobs.BlobContainerClient.AccountName,Azure.Storage.Blobs.BlobContainerClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[0]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", True, "get_AccountName", "()", "", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.AccountName]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", True, "get_Name", "()", "", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.Name]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", True, "get_Uri", "()", "", "Argument[this].Property[Azure.Storage.Blobs.BlobContainerClient.Uri]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobServiceClient.AccountName,Azure.Storage.Blobs.BlobServiceClient.Uri]", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobServiceClient.AccountName,Azure.Storage.Blobs.BlobServiceClient.Uri]", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobServiceClient.AccountName,Azure.Storage.Blobs.BlobServiceClient.Uri]", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobServiceClient.AccountName,Azure.Storage.Blobs.BlobServiceClient.Uri]", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobServiceClient.AccountName,Azure.Storage.Blobs.BlobServiceClient.Uri]", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobServiceClient.AccountName,Azure.Storage.Blobs.BlobServiceClient.Uri]", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipelinePolicy,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[0]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "get_AccountName", "()", "", "Argument[this].Property[Azure.Storage.Blobs.BlobServiceClient.AccountName]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "GetBlobContainerClient", "(System.String)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "get_Uri", "()", "", "Argument[this].Property[Azure.Storage.Blobs.BlobServiceClient.Uri]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobUriBuilder", False, "BlobUriBuilder", "(System.Uri)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobUriBuilder.AccountName,Azure.Storage.Blobs.BlobUriBuilder.BlobContainerName,Azure.Storage.Blobs.BlobUriBuilder.BlobName,Azure.Storage.Blobs.BlobUriBuilder.Host,Azure.Storage.Blobs.BlobUriBuilder.Port,Azure.Storage.Blobs.BlobUriBuilder.Path,Azure.Storage.Blobs.BlobUriBuilder.Query,Azure.Storage.Blobs.BlobUriBuilder.Sas,Azure.Storage.Blobs.BlobUriBuilder.Scheme,Azure.Storage.Blobs.BlobUriBuilder.Snapshot,Azure.Storage.Blobs.BlobUriBuilder.VersionId]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobUriBuilder", False, "BlobUriBuilder", "(System.Uri,System.Boolean)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Blobs.BlobUriBuilder.AccountName,Azure.Storage.Blobs.BlobUriBuilder.BlobContainerName,Azure.Storage.Blobs.BlobUriBuilder.BlobName,Azure.Storage.Blobs.BlobUriBuilder.Host,Azure.Storage.Blobs.BlobUriBuilder.Port,Azure.Storage.Blobs.BlobUriBuilder.Path,Azure.Storage.Blobs.BlobUriBuilder.Query,Azure.Storage.Blobs.BlobUriBuilder.Sas,Azure.Storage.Blobs.BlobUriBuilder.Scheme,Azure.Storage.Blobs.BlobUriBuilder.Snapshot,Azure.Storage.Blobs.BlobUriBuilder.VersionId]", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobUriBuilder", False, "ToString", "()", "", "Argument[this].Property[Azure.Storage.Blobs.BlobUriBuilder.AccountName,Azure.Storage.Blobs.BlobUriBuilder.BlobContainerName,Azure.Storage.Blobs.BlobUriBuilder.BlobName,Azure.Storage.Blobs.BlobUriBuilder.Host,Azure.Storage.Blobs.BlobUriBuilder.Port,Azure.Storage.Blobs.BlobUriBuilder.Path,Azure.Storage.Blobs.BlobUriBuilder.Query,Azure.Storage.Blobs.BlobUriBuilder.Sas,Azure.Storage.Blobs.BlobUriBuilder.Scheme,Azure.Storage.Blobs.BlobUriBuilder.Snapshot,Azure.Storage.Blobs.BlobUriBuilder.VersionId]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Blobs", "BlobUriBuilder", False, "ToUri", "()", "", "Argument[this].Property[Azure.Storage.Blobs.BlobUriBuilder.AccountName,Azure.Storage.Blobs.BlobUriBuilder.BlobContainerName,Azure.Storage.Blobs.BlobUriBuilder.BlobName,Azure.Storage.Blobs.BlobUriBuilder.Host,Azure.Storage.Blobs.BlobUriBuilder.Port,Azure.Storage.Blobs.BlobUriBuilder.Path,Azure.Storage.Blobs.BlobUriBuilder.Query,Azure.Storage.Blobs.BlobUriBuilder.Sas,Azure.Storage.Blobs.BlobUriBuilder.Scheme,Azure.Storage.Blobs.BlobUriBuilder.Snapshot,Azure.Storage.Blobs.BlobUriBuilder.VersionId]", "ReturnValue", "taint", "manual"] \ No newline at end of file diff --git a/csharp/ql/lib/ext/Azure.Storage.Queues.model.yml b/csharp/ql/lib/ext/Azure.Storage.Queues.model.yml new file mode 100644 index 000000000000..72970febaf10 --- /dev/null +++ b/csharp/ql/lib/ext/Azure.Storage.Queues.model.yml @@ -0,0 +1,46 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[1]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.String,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "azure-ssrf-storage", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", True, "get_AccountName", "()", "", "Argument[this]", "ReturnValue", "value", "manual"] + - ["Azure.Storage.Queues", "QueueClient", True, "get_MessagesUri", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueClient", True, "get_Name", "()", "", "Argument[this]", "ReturnValue", "value", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.String,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "value", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "value", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "value", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "value", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[0]", "Argument[this]", "value", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "CreateQueue", "(System.String,System.Collections.Generic.IDictionary,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "CreateQueueAsync", "(System.String,System.Collections.Generic.IDictionary,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "DeleteQueue", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "QueueServiceClient", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "get_AccountName", "()", "", "Argument[this]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueUriBuilder", False, "QueueUriBuilder", "(System.Uri)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.Queues.QueueUriBuilder.AccountName,Azure.Storage.Queues.QueueUriBuilder.Host,Azure.Storage.Queues.QueueUriBuilder.MessageId,Azure.Storage.Queues.QueueUriBuilder.Port,Azure.Storage.Queues.QueueUriBuilder.Query,Azure.Storage.Queues.QueueUriBuilder.QueueName,Azure.Storage.Queues.QueueUriBuilder.Sas,Azure.Storage.Queues.QueueUriBuilder.Scheme]", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueUriBuilder", False, "ToString", "()", "", "Argument[this].Property[Azure.Storage.Queues.QueueUriBuilder.AccountName,Azure.Storage.Queues.QueueUriBuilder.Host,Azure.Storage.Queues.QueueUriBuilder.MessageId,Azure.Storage.Queues.QueueUriBuilder.Port,Azure.Storage.Queues.QueueUriBuilder.Query,Azure.Storage.Queues.QueueUriBuilder.QueueName,Azure.Storage.Queues.QueueUriBuilder.Sas,Azure.Storage.Queues.QueueUriBuilder.Scheme]", "ReturnValue", "taint", "manual"] + - ["Azure.Storage.Queues", "QueueUriBuilder", False, "ToUri", "()", "", "Argument[this].Property[Azure.Storage.Queues.QueueUriBuilder.AccountName,Azure.Storage.Queues.QueueUriBuilder.Host,Azure.Storage.Queues.QueueUriBuilder.MessageId,Azure.Storage.Queues.QueueUriBuilder.Port,Azure.Storage.Queues.QueueUriBuilder.Query,Azure.Storage.Queues.QueueUriBuilder.QueueName,Azure.Storage.Queues.QueueUriBuilder.Sas,Azure.Storage.Queues.QueueUriBuilder.Scheme]", "ReturnValue", "taint", "manual"] \ No newline at end of file diff --git a/csharp/ql/lib/ext/Microsoft.Azure.model.yml b/csharp/ql/lib/ext/Microsoft.Azure.model.yml new file mode 100644 index 000000000000..871ea9ce634e --- /dev/null +++ b/csharp/ql/lib/ext/Microsoft.Azure.model.yml @@ -0,0 +1,344 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateCertificateWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Nullable,System.Collections.Generic.List,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.IDictionary,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DecryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateContactsWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "EncryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateContactsWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateIssuersWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToke)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificatePolicyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificatesWithHttpMessagesAsync", "(System.String,System.Nullable,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateVersionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedCertificatesWithHttpMessagesAsync", "(System.String,System.Nullable,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedKeysWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSasDefinitionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSecretsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeysWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeyVersionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetPendingCertificateSigningRequestWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretVersionsWithHttpMessagesAsync", "(System.String,System.String,Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetStorageAccountsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultClient+AuthenticationCallback,System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultClient+AuthenticationCallback,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultClient+AuthenticationCallback,System.Net.Http.HttpClient)", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultClient+AuthenticationCallback,System.Net.Http.HttpClient)", "", "Argument[1]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultCredential,System.Net.Http.HttpClient)", "", "Argument[1]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Rest.ServiceClientCredentials,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Rest.ServiceClientCredentials,System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "azure-ssrf-key-vault", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Rest.ServiceClientCredentials,System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[2]", "azure-ssrf-key-vault", "manual"] + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "BackupStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateCertificateWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateCertificateWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateCertificateWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateHttpHandlerPipeline", "(System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateHttpHandlerPipeline", "(System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Nullable,System.Collections.Generic.List,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.IDictionary,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Nullable,System.Collections.Generic.List,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.IDictionary,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "CreateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Nullable,System.Collections.Generic.List,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.IDictionary,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[8]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DecryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DecryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DecryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateContactsWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateContactsWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "DeleteStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "EncryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "EncryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "EncryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "EncryptWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Byte[],System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateContactsWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateContactsWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateIssuersWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateIssuersWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificatePolicyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificatePolicyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificatePolicyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificatesWithHttpMessagesAsync", "(System.String,System.Nullable,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificatesWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateVersionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateVersionsWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateVersionsWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedCertificatesWithHttpMessagesAsync", "(System.String,System.Nullable,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedCertificatesWithHttpMessagesAsync", "(System.String,System.Nullable,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedKeysWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedKeysWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSasDefinitionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSasDefinitionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSasDefinitionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSecretsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSecretsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedStorageAccountsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedStorageAccountsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeysWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeysWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeyVersionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeyVersionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeyVersionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetPendingCertificateSigningRequestWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetPendingCertificateSigningRequestWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetPendingCertificateSigningRequestWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionsWithHttpMessagesAsync", "(System.String,System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretVersionsWithHttpMessagesAsync", "(System.String,System.String,Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretVersionsWithHttpMessagesAsync", "(System.String,System.String,Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretVersionsWithHttpMessagesAsync", "(System.String,System.String,Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetStorageAccountsWithHttpMessagesAsync", "(System.String,System.Nullable,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetStorageAccountsWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "GetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "ImportCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.IDictionary,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "ImportCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.IDictionary,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "ImportCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.IDictionary,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "ImportCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.IDictionary,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[7]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "ImportKeyWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.WebKey.JsonWebKey,System.Nullable,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.IDictionary,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "ImportKeyWithHttpMessagesAsync", "((System.String,System.String,Microsoft.Azure.KeyVault.WebKey.JsonWebKey,System.Nullable,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.IDictionary,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "ImportKeyWithHttpMessagesAsync", "((System.String,System.String,Microsoft.Azure.KeyVault.WebKey.JsonWebKey,System.Nullable,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.IDictionary,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultClient+AuthenticationCallback,System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultClient+AuthenticationCallback,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultClient+AuthenticationCallback,System.Net.Http.HttpClient)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultClient+AuthenticationCallback,System.Net.Http.HttpClient)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultCredential,System.Net.Http.HttpClient)", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Azure.KeyVault.KeyVaultCredential,System.Net.Http.HttpClient)", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Rest.ServiceClientCredentials,System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Rest.ServiceClientCredentials,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Rest.ServiceClientCredentials,System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[0]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Rest.ServiceClientCredentials,System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[1]", "Argument[this]", "taint", "manual"] + - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "KeyVaultClient", "(Microsoft.Rest.ServiceClientCredentials,System.Net.Http.HttpClientHandler,System.Net.Http.DelegatingHandler[])", "", "Argument[2]", "Argument[this]", "taint", "manual"] + # ------------- still need to review/fix ---------------- + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "MergeCertificateWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "MergeCertificateWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "MergeCertificateWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "MergeCertificateWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "PurgeDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedCertificateWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedKeyWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedSecretWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RecoverDeletedStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RegenerateStorageAccountKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RegenerateStorageAccountKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RegenerateStorageAccountKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RegenerateStorageAccountKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RestoreCertificateWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RestoreCertificateWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RestoreKeyWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RestoreKeyWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RestoreSecretWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RestoreSecretWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RestoreStorageAccountWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "RestoreStorageAccountWithHttpMessagesAsync", "(System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "set_AcceptLanguage", "(System.String)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateContactsWithHttpMessagesAsync", "(System.String,Microsoft.Azure.KeyVault.Models.Contacts,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateContactsWithHttpMessagesAsync", "(System.String,Microsoft.Azure.KeyVault.Models.Contacts,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateContactsWithHttpMessagesAsync", "(System.String,Microsoft.Azure.KeyVault.Models.Contacts,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[8]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[8]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SetStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SignWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SignWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SignWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SignWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "SignWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UnwrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UnwrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UnwrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UnwrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UnwrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateIssuerWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.IssuerCredentials,Microsoft.Azure.KeyVault.Models.OrganizationDetails,Microsoft.Azure.KeyVault.Models.IssuerAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateOperationWithHttpMessagesAsync", "(System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificatePolicyWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificatePolicyWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificatePolicyWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificatePolicyWithHttpMessagesAsync", "(System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateCertificateWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.CertificatePolicy,Microsoft.Azure.KeyVault.Models.CertificateAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.KeyAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[8]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSasDefinitionWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SasDefinitionAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateSecretWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.SecretAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[4]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[7]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "UpdateStorageAccountWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,Microsoft.Azure.KeyVault.Models.StorageAccountAttributes,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "VerifyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "VerifyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "VerifyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "VerifyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "VerifyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[6]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "WrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "WrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "WrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "WrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[3]", "ReturnValue", "taint", "manual"] + # - ["Microsoft.Azure.KeyVault", "KeyVaultClient", False, "WrapKeyWithHttpMessagesAsync", "(System.String,System.String,System.String,System.String,System.Collections.Generic.Dictionary>,System.Threading.CancellationToken)", "", "Argument[5]", "ReturnValue", "taint", "manual"] diff --git a/csharp/ql/lib/ext/Microsoft.VisualStudio.Services.WebApi.model.yml b/csharp/ql/lib/ext/Microsoft.VisualStudio.Services.WebApi.model.yml new file mode 100644 index 000000000000..7d319e813648 --- /dev/null +++ b/csharp/ql/lib/ext/Microsoft.VisualStudio.Services.WebApi.model.yml @@ -0,0 +1,8 @@ +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["Microsoft.VisualStudio.Services.WebApi", "VssConnection", False, "VssConnection", "(System.Uri,Microsoft.VisualStudio.Services.Common.VssCredentials)", "", "Argument[0]", "ssrf", "manual"] + - ["Microsoft.VisualStudio.Services.WebApi", "VssConnection", False, "VssConnection", "(System.Uri,Microsoft.VisualStudio.Services.Common.VssCredentials,Microsoft.VisualStudio.Services.Common.VssHttpRequestSettings)", "", "Argument[0]", "ssrf", "manual"] + - ["Microsoft.VisualStudio.Services.WebApi", "VssConnection", False, "VssConnection", "(System.Uri,Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler,System.Collections.Generic.IEnumerable)", "", "Argument[0]", "ssrf", "manual"] diff --git a/csharp/ql/lib/ext/System.Net.Http.model.yml b/csharp/ql/lib/ext/System.Net.Http.model.yml index 2becfec11d62..c5d5edc6f52d 100644 --- a/csharp/ql/lib/ext/System.Net.Http.model.yml +++ b/csharp/ql/lib/ext/System.Net.Http.model.yml @@ -3,6 +3,53 @@ extensions: pack: codeql/csharp-all extensible: sinkModel data: + - ["System.Net.Http", "HttpClient", True, "DeleteAsync", "(System.String)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "DeleteAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "DeleteAsync", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "DeleteAsync", "(System.Uri,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetAsync", "(System.String)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetAsync", "(System.String,System.Net.Http.HttpCompletionOption)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetAsync", "(System.String,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetAsync", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetAsync", "(System.Uri,System.Net.Http.HttpCompletionOption)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetAsync", "(System.Uri,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetAsync", "(System.Uri,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetByteArrayAsync", "(System.String)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetByteArrayAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetByteArrayAsync", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetByteArrayAsync", "(System.Uri,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetStreamAsync", "(System.String)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetStreamAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetStreamAsync", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetStreamAsync", "(System.Uri,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetStringAsync", "(System.String)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetStringAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetStringAsync", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "GetStringAsync", "(System.Uri,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PatchAsync", "(System.String,System.Net.Http.HttpContent)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PatchAsync", "(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PatchAsync", "(System.Uri,System.Net.Http.HttpContent)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PatchAsync", "(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PostAsync", "(System.String,System.Net.Http.HttpContent)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PostAsync", "(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PostAsync", "(System.Uri,System.Net.Http.HttpContent)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PostAsync", "(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PutAsync", "(System.String,System.Net.Http.HttpContent)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PutAsync", "(System.String,System.Net.Http.HttpContent,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PutAsync", "(System.Uri,System.Net.Http.HttpContent)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "PutAsync", "(System.Uri,System.Net.Http.HttpContent,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "Send", "(System.Net.Http.HttpRequestMessage)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "Send", "(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "Send", "(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "Send", "(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "SendAsync", "(System.Net.Http.HttpRequestMessage)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "SendAsync", "(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "SendAsync", "(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "SendAsync", "(System.Net.Http.HttpRequestMessage,System.Net.Http.HttpCompletionOption,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpClient", True, "set_BaseAddress", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpMessageInvoker", False, "Send", "(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net.Http", "HttpMessageInvoker", False, "SendAsync", "(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)", "", "Argument[0]", "ssrf", "manual"] - ["System.Net.Http", "StringContent", False, "StringContent", "", "", "Argument[0]", "js-injection", "manual"] - addsTo: pack: codeql/csharp-all diff --git a/csharp/ql/lib/ext/System.Net.model.yml b/csharp/ql/lib/ext/System.Net.model.yml index 8e225805c938..e212b908d84e 100644 --- a/csharp/ql/lib/ext/System.Net.model.yml +++ b/csharp/ql/lib/ext/System.Net.model.yml @@ -1,4 +1,13 @@ extensions: + - addsTo: + pack: codeql/csharp-all + extensible: sinkModel + data: + - ["System.Net", "WebRequest", False, "Create", "(System.String)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net", "WebRequest", False, "Create", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net", "WebRequest", False, "CreateHttp", "(System.String)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net", "WebRequest", False, "CreateHttp", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] + - ["System.Net", "HttpWebRequest", False, "Create", "(System.Uri)", "", "Argument[0]", "ssrf", "manual"] - addsTo: pack: codeql/csharp-all extensible: summaryModel diff --git a/csharp/ql/lib/ext/generated/Azure.Data.Tables.Models.model.yml b/csharp/ql/lib/ext/generated/Azure.Data.Tables.Models.model.yml new file mode 100644 index 000000000000..01fe7739807e --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Data.Tables.Models.model.yml @@ -0,0 +1,22 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Data.Tables.Models", "TableAccessPolicy", False, "TableAccessPolicy", "(System.Nullable,System.Nullable,System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Models.TableAccessPolicy.StartsOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableAccessPolicy", False, "TableAccessPolicy", "(System.Nullable,System.Nullable,System.String)", "", "Argument[1]", "Argument[this].Property[Azure.Data.Tables.Models.TableAccessPolicy.ExpiresOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableAccessPolicy", False, "TableAccessPolicy", "(System.Nullable,System.Nullable,System.String)", "", "Argument[2]", "Argument[this].Property[Azure.Data.Tables.Models.TableAccessPolicy.Permission]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableAnalyticsLoggingSettings", False, "TableAnalyticsLoggingSettings", "(System.String,System.Boolean,System.Boolean,System.Boolean,Azure.Data.Tables.TableRetentionPolicy)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Models.TableAnalyticsLoggingSettings.Version]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableCorsRule", False, "TableCorsRule", "(System.String,System.String,System.String,System.String,System.Int32)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Models.TableCorsRule.AllowedOrigins]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableCorsRule", False, "TableCorsRule", "(System.String,System.String,System.String,System.String,System.Int32)", "", "Argument[1]", "Argument[this].Property[Azure.Data.Tables.Models.TableCorsRule.AllowedMethods]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableCorsRule", False, "TableCorsRule", "(System.String,System.String,System.String,System.String,System.Int32)", "", "Argument[2]", "Argument[this].Property[Azure.Data.Tables.Models.TableCorsRule.AllowedHeaders]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableCorsRule", False, "TableCorsRule", "(System.String,System.String,System.String,System.String,System.Int32)", "", "Argument[3]", "Argument[this].Property[Azure.Data.Tables.Models.TableCorsRule.ExposedHeaders]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableErrorCode", False, "TableErrorCode", "(System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Data.Tables.Models.TableErrorCode._value]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableErrorCode", False, "ToString", "()", "", "Argument[this].SyntheticField[Azure.Data.Tables.Models.TableErrorCode._value]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableGeoReplicationStatus", False, "TableGeoReplicationStatus", "(System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Data.Tables.Models.TableGeoReplicationStatus._value]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableGeoReplicationStatus", False, "ToString", "()", "", "Argument[this].SyntheticField[Azure.Data.Tables.Models.TableGeoReplicationStatus._value]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableItem", False, "TableItem", "(System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Models.TableItem.Name]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableModelFactory", False, "TableGeoReplicationInfo", "(Azure.Data.Tables.Models.TableGeoReplicationStatus,System.DateTimeOffset)", "", "Argument[1]", "ReturnValue.Property[Azure.Data.Tables.Models.TableGeoReplicationInfo.LastSyncedOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableModelFactory", False, "TableItem", "(System.String,System.String,System.String,System.String)", "", "Argument[0]", "ReturnValue.Property[Azure.Data.Tables.Models.TableItem.Name]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Models", "TableSignedIdentifier", False, "TableSignedIdentifier", "(System.String,Azure.Data.Tables.Models.TableAccessPolicy)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Models.TableSignedIdentifier.Id]", "value", "dfc-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Data.Tables.Sas.model.yml b/csharp/ql/lib/ext/generated/Azure.Data.Tables.Sas.model.yml new file mode 100644 index 000000000000..652f1de93d12 --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Data.Tables.Sas.model.yml @@ -0,0 +1,28 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Data.Tables.Sas", "TableAccountSasBuilder", False, "SetPermissions", "(System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Sas.TableAccountSasBuilder.Permissions]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasBuilder", False, "TableAccountSasBuilder", "(Azure.Data.Tables.Sas.TableAccountSasPermissions,Azure.Data.Tables.Sas.TableAccountSasResourceTypes,System.DateTimeOffset)", "", "Argument[2]", "Argument[this].Property[Azure.Data.Tables.Sas.TableAccountSasBuilder.ExpiresOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasBuilder", False, "TableAccountSasBuilder", "(System.String,Azure.Data.Tables.Sas.TableAccountSasResourceTypes,System.DateTimeOffset)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Sas.TableAccountSasBuilder.Permissions]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasBuilder", False, "TableAccountSasBuilder", "(System.String,Azure.Data.Tables.Sas.TableAccountSasResourceTypes,System.DateTimeOffset)", "", "Argument[2]", "Argument[this].Property[Azure.Data.Tables.Sas.TableAccountSasBuilder.ExpiresOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "ToString", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_ExpiresOn", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_IPRange", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_Identifier", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_Permissions", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_Resource", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_ResourceTypes", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_Signature", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_StartsOn", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableAccountSasQueryParameters", False, "get_Version", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables.Sas", "TableSasBuilder", False, "SetPermissions", "(System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Sas.TableSasBuilder.Permissions]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableSasBuilder", False, "TableSasBuilder", "(System.String,Azure.Data.Tables.Sas.TableSasPermissions,System.DateTimeOffset)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Sas.TableSasBuilder.TableName]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableSasBuilder", False, "TableSasBuilder", "(System.String,Azure.Data.Tables.Sas.TableSasPermissions,System.DateTimeOffset)", "", "Argument[2]", "Argument[this].Property[Azure.Data.Tables.Sas.TableSasBuilder.ExpiresOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableSasBuilder", False, "TableSasBuilder", "(System.String,System.String,System.DateTimeOffset)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Sas.TableSasBuilder.TableName]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableSasBuilder", False, "TableSasBuilder", "(System.String,System.String,System.DateTimeOffset)", "", "Argument[1]", "Argument[this].Property[Azure.Data.Tables.Sas.TableSasBuilder.Permissions]", "taint", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableSasBuilder", False, "TableSasBuilder", "(System.String,System.String,System.DateTimeOffset)", "", "Argument[2]", "Argument[this].Property[Azure.Data.Tables.Sas.TableSasBuilder.ExpiresOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableSasIPRange", False, "TableSasIPRange", "(System.Net.IPAddress,System.Net.IPAddress)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.Sas.TableSasIPRange.Start]", "value", "dfc-generated"] + - ["Azure.Data.Tables.Sas", "TableSasIPRange", False, "TableSasIPRange", "(System.Net.IPAddress,System.Net.IPAddress)", "", "Argument[1]", "Argument[this].Property[Azure.Data.Tables.Sas.TableSasIPRange.End]", "value", "dfc-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Data.Tables.model.yml b/csharp/ql/lib/ext/generated/Azure.Data.Tables.model.yml new file mode 100644 index 000000000000..6bb21745434e --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Data.Tables.model.yml @@ -0,0 +1,37 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Data.Tables", "TableClient", False, "CreateQueryFilter", "(System.FormattableString)", "", "Argument[0].Property[System.FormattableString.Format]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Data.Tables", "TableClient", False, "CreateQueryFilter", "(System.FormattableString)", "", "Argument[0]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.String,System.String,Azure.Data.Tables.TableClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[3]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential)", "", "Argument[2]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", False, "TableClient", "(System.Uri,System.String,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", True, "GetSasBuilder", "(Azure.Data.Tables.Sas.TableSasPermissions,System.DateTimeOffset)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", True, "GetSasBuilder", "(System.String,System.DateTimeOffset)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", True, "Query", "(System.Linq.Expressions.Expression>,System.Nullable,System.Collections.Generic.IEnumerable,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", True, "Query", "(System.String,System.Nullable,System.Collections.Generic.IEnumerable,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", True, "QueryAsync", "(System.Linq.Expressions.Expression>,System.Nullable,System.Collections.Generic.IEnumerable,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", True, "QueryAsync", "(System.String,System.Nullable,System.Collections.Generic.IEnumerable,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableClient", True, "get_AccountName", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", False, "CreateQueryFilter", "(System.FormattableString)", "", "Argument[0].Property[System.FormattableString.Format]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Data.Tables", "TableServiceClient", False, "CreateQueryFilter", "(System.FormattableString)", "", "Argument[0]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.String,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableSharedKeyCredential)", "", "Argument[1]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", False, "TableServiceClient", "(System.Uri,Azure.Data.Tables.TableSharedKeyCredential,Azure.Data.Tables.TableClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "GetSasBuilder", "(Azure.Data.Tables.Sas.TableAccountSasPermissions,Azure.Data.Tables.Sas.TableAccountSasResourceTypes,System.DateTimeOffset)", "", "Argument[2]", "ReturnValue.Property[Azure.Data.Tables.Sas.TableAccountSasBuilder.ExpiresOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "GetSasBuilder", "(System.String,Azure.Data.Tables.Sas.TableAccountSasResourceTypes,System.DateTimeOffset)", "", "Argument[0]", "ReturnValue.Property[Azure.Data.Tables.Sas.TableAccountSasBuilder.Permissions]", "value", "dfc-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "GetSasBuilder", "(System.String,Azure.Data.Tables.Sas.TableAccountSasResourceTypes,System.DateTimeOffset)", "", "Argument[2]", "ReturnValue.Property[Azure.Data.Tables.Sas.TableAccountSasBuilder.ExpiresOn]", "value", "dfc-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "GetTableClient", "(System.String)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "Query", "(System.String,System.Nullable,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "QueryAsync", "(System.String,System.Nullable,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableServiceClient", True, "get_AccountName", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableSharedKeyCredential", False, "TableSharedKeyCredential", "(System.String,System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Data.Tables.TableSharedKeyCredential.AccountName]", "value", "dfc-generated"] + - ["Azure.Data.Tables", "TableUriBuilder", False, "TableUriBuilder", "(System.Uri)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Data.Tables", "TableUriBuilder", False, "ToUri", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Certificates.model.yml b/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Certificates.model.yml new file mode 100644 index 000000000000..c32bbc690121 --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Certificates.model.yml @@ -0,0 +1,20 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", False, "CertificateClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Certificates.CertificateClientOptions)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Security.KeyVault.Certificates.CertificateClient._pipeline].SyntheticField[Azure.Security.KeyVault.KeyVaultPipeline.VaultUri]", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "GetCertificateOperation", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "GetCertificateOperationAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "StartCreateCertificate", "(System.String,Azure.Security.KeyVault.Certificates.CertificatePolicy,System.Nullable,System.Collections.Generic.IDictionary,System.Nullable,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "StartCreateCertificate", "(System.String,Azure.Security.KeyVault.Certificates.CertificatePolicy,System.Nullable,System.Collections.Generic.IDictionary,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "StartCreateCertificateAsync", "(System.String,Azure.Security.KeyVault.Certificates.CertificatePolicy,System.Nullable,System.Collections.Generic.IDictionary,System.Nullable,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "StartDeleteCertificate", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "StartDeleteCertificateAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "StartRecoverDeletedCertificate", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "StartRecoverDeletedCertificateAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificateClient", True, "get_VaultUri", "()", "", "Argument[this].SyntheticField[Azure.Security.KeyVault.Certificates.CertificateClient._pipeline].SyntheticField[Azure.Security.KeyVault.KeyVaultPipeline.VaultUri]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificatePolicy", False, "CertificatePolicy", "(System.String,Azure.Security.KeyVault.Certificates.SubjectAlternativeNames)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificatePolicy", False, "CertificatePolicy", "(System.String,System.String)", "", "Argument[1]", "Argument[this].Property[Azure.Security.KeyVault.Certificates.CertificatePolicy.Subject]", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Certificates", "CertificatePolicy", False, "CertificatePolicy", "(System.String,System.String,Azure.Security.KeyVault.Certificates.SubjectAlternativeNames)", "", "Argument[1]", "Argument[this].Property[Azure.Security.KeyVault.Certificates.CertificatePolicy.Subject]", "value", "dfc-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Keys.model.yml b/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Keys.model.yml new file mode 100644 index 000000000000..324ab4d6486e --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Keys.model.yml @@ -0,0 +1,13 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Security.KeyVault.Keys", "KeyClient", False, "KeyClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Keys.KeyClientOptions)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Security.KeyVault.Keys.KeyClient._pipeline].SyntheticField[Azure.Security.KeyVault.KeyVaultPipeline.VaultUri]", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", True, "GetCryptographyClient", "(System.String,System.String)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", True, "StartDeleteKey", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", True, "StartDeleteKeyAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", True, "StartRecoverDeletedKey", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", True, "StartRecoverDeletedKeyAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Keys", "KeyClient", True, "get_VaultUri", "()", "", "Argument[this].SyntheticField[Azure.Security.KeyVault.Keys.KeyClient._pipeline].SyntheticField[Azure.Security.KeyVault.KeyVaultPipeline.VaultUri]", "ReturnValue", "value", "dfc-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Secrets.model.yml b/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Secrets.model.yml new file mode 100644 index 000000000000..4d73ba1fb49f --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Secrets.model.yml @@ -0,0 +1,15 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Security.KeyVault.Secrets", "SecretClient", False, "SecretClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Security.KeyVault.Secrets.SecretClientOptions)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Security.KeyVault.Secrets.SecretClient._pipeline].SyntheticField[Azure.Security.KeyVault.KeyVaultPipeline.VaultUri]", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", True, "StartDeleteSecret", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", True, "StartDeleteSecretAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", True, "StartRecoverDeletedSecret", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", True, "StartRecoverDeletedSecretAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Secrets", "SecretClient", True, "get_VaultUri", "()", "", "Argument[this].SyntheticField[Azure.Security.KeyVault.Secrets.SecretClient._pipeline].SyntheticField[Azure.Security.KeyVault.KeyVaultPipeline.VaultUri]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Secrets", "SecretProperties", False, "SecretProperties", "(System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Security.KeyVault.Secrets.SecretProperties.Name]", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Secrets", "SecretProperties", False, "SecretProperties", "(System.Uri)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Security.KeyVault.Secrets", "SecretProperties", False, "get_Tags", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Storage.Models.model.yml b/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Storage.Models.model.yml new file mode 100644 index 000000000000..65122a74b938 --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Security.KeyVault.Storage.Models.model.yml @@ -0,0 +1,10 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Security.KeyVault.Storage.Models", "DeletionRecoveryLevel", False, "DeletionRecoveryLevel", "(System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Security.KeyVault.Storage.Models.DeletionRecoveryLevel._value]", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Storage.Models", "DeletionRecoveryLevel", False, "ToString", "()", "", "Argument[this].SyntheticField[Azure.Security.KeyVault.Storage.Models.DeletionRecoveryLevel._value]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Storage.Models", "SasTokenType", False, "SasTokenType", "(System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Security.KeyVault.Storage.Models.SasTokenType._value]", "value", "dfc-generated"] + - ["Azure.Security.KeyVault.Storage.Models", "SasTokenType", False, "ToString", "()", "", "Argument[this].SyntheticField[Azure.Security.KeyVault.Storage.Models.SasTokenType._value]", "ReturnValue", "value", "dfc-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.ChangeFeed.model.yml b/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.ChangeFeed.model.yml new file mode 100644 index 000000000000..88a17cd065e7 --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.ChangeFeed.model.yml @@ -0,0 +1,20 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.String,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[3]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[3]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[2]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedClient", False, "BlobChangeFeedClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[3]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedEvent", False, "ToString", "()", "", "Argument[this].Property[Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEvent.EventTime]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedEvent", False, "ToString", "()", "", "Argument[this].Property[Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEvent.EventType]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedEvent", False, "ToString", "()", "", "Argument[this].Property[Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEvent.Subject]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedEventType", False, "BlobChangeFeedEventType", "(System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType._value]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedEventType", False, "ToString", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType._value]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedExtensions", False, "GetChangeFeedClient", "(Azure.Storage.Blobs.BlobServiceClient,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobChangeFeedExtensions", False, "GetChangeFeedClient", "(Azure.Storage.Blobs.BlobServiceClient,Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobOperationName", False, "BlobOperationName", "(System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Blobs.ChangeFeed.BlobOperationName._value]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.ChangeFeed", "BlobOperationName", False, "ToString", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.ChangeFeed.BlobOperationName._value]", "ReturnValue", "value", "dfc-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.Specialized.model.yml b/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.Specialized.model.yml new file mode 100644 index 000000000000..425dd2970d39 --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.Specialized.model.yml @@ -0,0 +1,53 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "AppendBlobClient", False, "AppendBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobBaseClient._containerName]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.String,System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[2]", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobBaseClient._name]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", False, "BlobBaseClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1].Property[Azure.Storage.StorageSharedKeyCredential.AccountName]", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobBaseClient._accountName]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "DownloadToAsync", "(System.IO.Stream,System.Threading.CancellationToken)", "", "Argument[this]", "Argument[0]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "GetBlobLeaseClientCore", "(System.String)", "", "Argument[this]", "ReturnValue.SyntheticField[Azure.Storage.Blobs.Specialized.BlobLeaseClient._blob]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "GetParentBlobContainerClientCore", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "GetPropertiesAsync", "(Azure.Storage.Blobs.Models.BlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "GetPropertiesAsync", "(Azure.Storage.Blobs.Models.BlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[1]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "SetMetadataAsync", "(System.Collections.Generic.IDictionary,Azure.Storage.Blobs.Models.BlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[0].Element", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "SetMetadataAsync", "(System.Collections.Generic.IDictionary,Azure.Storage.Blobs.Models.BlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[1]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "SetMetadataAsync", "(System.Collections.Generic.IDictionary,Azure.Storage.Blobs.Models.BlobRequestConditions,System.Threading.CancellationToken)", "", "Argument[2]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "WithSnapshotCore", "(System.String)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "WithSnapshotCore", "(System.String)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "WithVersion", "(System.String)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "WithVersion", "(System.String)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "get_AccountName", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobBaseClient._accountName]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "get_BlobContainerName", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobBaseClient._containerName]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "get_Name", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobBaseClient._name]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBaseClient", True, "get_Uri", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBatch", False, "BlobBatch", "(Azure.Storage.Blobs.Specialized.BlobBatchClient)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBatchClient", False, "BlobBatchClient", "(Azure.Storage.Blobs.BlobContainerClient)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBatchClient", False, "BlobBatchClient", "(Azure.Storage.Blobs.BlobServiceClient)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBatchClient", True, "CreateBatch", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobBatchClient", True, "get_Uri", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", False, "BlobLeaseClient", "(Azure.Storage.Blobs.BlobContainerClient,System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobLeaseClient._container]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", False, "BlobLeaseClient", "(Azure.Storage.Blobs.Specialized.BlobBaseClient,System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobLeaseClient._blob]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", True, "get_BlobClient", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobLeaseClient._blob]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlobLeaseClient", True, "get_BlobContainerClient", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.Specialized.BlobLeaseClient._container]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "BlockBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", True, "Upload", "(System.IO.Stream,Azure.Storage.Blobs.Models.BlobHttpHeaders,System.Collections.Generic.IDictionary,Azure.Storage.Blobs.Models.BlobRequestConditions,System.Nullable,System.IProgress,System.Threading.CancellationToken)", "", "Argument[6]", "Argument[0]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", True, "Upload", "(System.IO.Stream,Azure.Storage.Blobs.Models.BlobUploadOptions,System.Threading.CancellationToken)", "", "Argument[2]", "Argument[0]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", True, "UploadAsync", "(System.IO.Stream,Azure.Storage.Blobs.Models.BlobHttpHeaders,System.Collections.Generic.IDictionary,Azure.Storage.Blobs.Models.BlobRequestConditions,System.Nullable,System.IProgress,System.Threading.CancellationToken)", "", "Argument[6]", "Argument[0]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "BlockBlobClient", True, "UploadAsync", "(System.IO.Stream,Azure.Storage.Blobs.Models.BlobUploadOptions,System.Threading.CancellationToken)", "", "Argument[2]", "Argument[0]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "PageBlobClient", False, "PageBlobClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "SpecializedBlobExtensions", False, "GetBlobBatchClient", "(Azure.Storage.Blobs.BlobContainerClient)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs.Specialized", "SpecializedBlobExtensions", False, "GetBlobBatchClient", "(Azure.Storage.Blobs.BlobServiceClient)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.model.yml b/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.model.yml new file mode 100644 index 000000000000..8310cad005a5 --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Storage.Blobs.model.yml @@ -0,0 +1,39 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.String,System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._name]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.AzureSasCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._uri]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Core.TokenCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._uri]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._uri]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._uri]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "BlobContainerClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1].Property[Azure.Storage.StorageSharedKeyCredential.AccountName]", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._accountName]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[0]", "ReturnValue.SyntheticField[Azure.Storage.Blobs.BlobContainerClient._uri]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", True, "get_AccountName", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._accountName]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", True, "get_Name", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._name]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobContainerClient", True, "get_Uri", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobContainerClient._uri]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "BlobServiceClient", "(System.String,Azure.Storage.Blobs.BlobClientOptions)", "", "Argument[1]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipelinePolicy,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[0]", "ReturnValue.SyntheticField[Azure.Storage.Blobs.BlobServiceClient._uri]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipelinePolicy,Azure.Core.Pipeline.HttpPipeline)", "", "Argument[2]", "ReturnValue.SyntheticField[Azure.Storage.Blobs.BlobServiceClient._authenticationPolicy]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipelinePolicy,Azure.Core.Pipeline.HttpPipeline,Azure.Storage.StorageSharedKeyCredential,Azure.AzureSasCredential,Azure.Core.TokenCredential)", "", "Argument[0]", "ReturnValue.SyntheticField[Azure.Storage.Blobs.BlobServiceClient._uri]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "CreateClient", "(System.Uri,Azure.Storage.Blobs.BlobClientOptions,Azure.Core.Pipeline.HttpPipelinePolicy,Azure.Core.Pipeline.HttpPipeline,Azure.Storage.StorageSharedKeyCredential,Azure.AzureSasCredential,Azure.Core.TokenCredential)", "", "Argument[2]", "ReturnValue.SyntheticField[Azure.Storage.Blobs.BlobServiceClient._authenticationPolicy]", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "GetAuthenticationPolicy", "(Azure.Storage.Blobs.BlobServiceClient)", "", "Argument[0].SyntheticField[Azure.Storage.Blobs.BlobServiceClient._authenticationPolicy]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "GetHttpPipeline", "(Azure.Storage.Blobs.BlobServiceClient)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", False, "get_AccountName", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "FindBlobsByTags", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "FindBlobsByTags", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "FindBlobsByTagsAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "FindBlobsByTagsAsync", "(System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "GetBlobContainers", "(Azure.Storage.Blobs.Models.BlobContainerTraits,Azure.Storage.Blobs.Models.BlobContainerStates,System.String,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "GetBlobContainers", "(Azure.Storage.Blobs.Models.BlobContainerTraits,Azure.Storage.Blobs.Models.BlobContainerStates,System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "GetBlobContainers", "(Azure.Storage.Blobs.Models.BlobContainerTraits,System.String,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "GetBlobContainers", "(Azure.Storage.Blobs.Models.BlobContainerTraits,System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "GetBlobContainersAsync", "(Azure.Storage.Blobs.Models.BlobContainerTraits,Azure.Storage.Blobs.Models.BlobContainerStates,System.String,System.Threading.CancellationToken)", "", "Argument[2]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "GetBlobContainersAsync", "(Azure.Storage.Blobs.Models.BlobContainerTraits,Azure.Storage.Blobs.Models.BlobContainerStates,System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "GetBlobContainersAsync", "(Azure.Storage.Blobs.Models.BlobContainerTraits,System.String,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "GetBlobContainersAsync", "(Azure.Storage.Blobs.Models.BlobContainerTraits,System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobServiceClient", True, "get_Uri", "()", "", "Argument[this].SyntheticField[Azure.Storage.Blobs.BlobServiceClient._uri]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Blobs", "BlobUriBuilder", False, "BlobUriBuilder", "(System.Uri,System.Boolean)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Blobs", "BlobUriBuilder", False, "ToUri", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Storage.Queues.Models.model.yml b/csharp/ql/lib/ext/generated/Azure.Storage.Queues.Models.model.yml new file mode 100644 index 000000000000..7d70200fab6c --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Storage.Queues.Models.model.yml @@ -0,0 +1,40 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Queues.Models", "QueueAudience", False, "QueueAudience", "(System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Queues.Models.QueueAudience._value]", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueueAudience", False, "ToString", "()", "", "Argument[this].SyntheticField[Azure.Storage.Queues.Models.QueueAudience._value]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueueErrorCode", False, "QueueErrorCode", "(System.String)", "", "Argument[0]", "Argument[this].SyntheticField[Azure.Storage.Queues.Models.QueueErrorCode._value]", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueueErrorCode", False, "ToString", "()", "", "Argument[this].SyntheticField[Azure.Storage.Queues.Models.QueueErrorCode._value]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "PeekedMessage", "(System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "PeekedMessage", "(System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable)", "", "Argument[1]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "PeekedMessage", "(System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable)", "", "Argument[3]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "PeekedMessage", "(System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable)", "", "Argument[4]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "PeekedMessage", "(System.String,System.String,System.Int64,System.Nullable,System.Nullable)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "PeekedMessage", "(System.String,System.String,System.Int64,System.Nullable,System.Nullable)", "", "Argument[3]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "PeekedMessage", "(System.String,System.String,System.Int64,System.Nullable,System.Nullable)", "", "Argument[4]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueGeoReplication", "(Azure.Storage.Queues.Models.QueueGeoReplicationStatus,System.Nullable)", "", "Argument[1]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueItem", "(System.String,System.Collections.Generic.IDictionary)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueItem", "(System.String,System.Collections.Generic.IDictionary)", "", "Argument[1]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[1]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[2]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[4]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[5]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.BinaryData,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[6]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.String,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.String,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[1]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.String,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[4]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.String,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[5]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueMessage", "(System.String,System.String,System.String,System.Int64,System.Nullable,System.Nullable,System.Nullable)", "", "Argument[6]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueProperties", "(System.Collections.Generic.IDictionary,System.Int32)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "QueueServiceStatistics", "(Azure.Storage.Queues.Models.QueueGeoReplication)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "SendReceipt", "(System.String,System.DateTimeOffset,System.DateTimeOffset,System.String,System.DateTimeOffset)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "SendReceipt", "(System.String,System.DateTimeOffset,System.DateTimeOffset,System.String,System.DateTimeOffset)", "", "Argument[1]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "SendReceipt", "(System.String,System.DateTimeOffset,System.DateTimeOffset,System.String,System.DateTimeOffset)", "", "Argument[2]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "SendReceipt", "(System.String,System.DateTimeOffset,System.DateTimeOffset,System.String,System.DateTimeOffset)", "", "Argument[3]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "SendReceipt", "(System.String,System.DateTimeOffset,System.DateTimeOffset,System.String,System.DateTimeOffset)", "", "Argument[4]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "UpdateReceipt", "(System.String,System.DateTimeOffset)", "", "Argument[0]", "ReturnValue.Element", "value", "dfc-generated"] + - ["Azure.Storage.Queues.Models", "QueuesModelFactory", False, "UpdateReceipt", "(System.String,System.DateTimeOffset)", "", "Argument[1]", "ReturnValue.Element", "value", "dfc-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Storage.Queues.model.yml b/csharp/ql/lib/ext/generated/Azure.Storage.Queues.model.yml new file mode 100644 index 000000000000..4e36fc7f6788 --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Storage.Queues.model.yml @@ -0,0 +1,22 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.String,System.String,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[1]", "Argument[this].SyntheticField[Azure.Storage.Queues.QueueClient._name]", "value", "dfc-generated"] + - ["Azure.Storage.Queues", "QueueClient", False, "QueueClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[1].Property[Azure.Storage.StorageSharedKeyCredential.AccountName]", "Argument[this].SyntheticField[Azure.Storage.Queues.QueueClient._accountName]", "value", "dfc-generated"] + - ["Azure.Storage.Queues", "QueueClient", True, "GetParentQueueServiceClientCore", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueClient", True, "get_AccountName", "()", "", "Argument[this].SyntheticField[Azure.Storage.Queues.QueueClient._accountName]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Queues", "QueueClient", True, "get_MessagesUri", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueClient", True, "get_Name", "()", "", "Argument[this].SyntheticField[Azure.Storage.Queues.QueueClient._name]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Queues", "QueueClient", True, "get_Uri", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueServiceClient", False, "QueueServiceClient", "(System.Uri,Azure.Storage.StorageSharedKeyCredential,Azure.Storage.Queues.QueueClientOptions)", "", "Argument[1].Property[Azure.Storage.StorageSharedKeyCredential.AccountName]", "Argument[this].SyntheticField[Azure.Storage.Queues.QueueServiceClient._accountName]", "value", "dfc-generated"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "GetQueues", "(Azure.Storage.Queues.Models.QueueTraits,System.String,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "GetQueues", "(Azure.Storage.Queues.Models.QueueTraits,System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "GetQueuesAsync", "(Azure.Storage.Queues.Models.QueueTraits,System.String,System.Threading.CancellationToken)", "", "Argument[1]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "GetQueuesAsync", "(Azure.Storage.Queues.Models.QueueTraits,System.String,System.Threading.CancellationToken)", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "get_AccountName", "()", "", "Argument[this].SyntheticField[Azure.Storage.Queues.QueueServiceClient._accountName]", "ReturnValue", "value", "dfc-generated"] + - ["Azure.Storage.Queues", "QueueServiceClient", True, "get_Uri", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueUriBuilder", False, "QueueUriBuilder", "(System.Uri)", "", "Argument[0]", "Argument[this]", "taint", "df-generated"] + - ["Azure.Storage.Queues", "QueueUriBuilder", False, "ToUri", "()", "", "Argument[this]", "ReturnValue", "taint", "df-generated"] diff --git a/csharp/ql/lib/ext/generated/Azure.Storage.model.yml b/csharp/ql/lib/ext/generated/Azure.Storage.model.yml new file mode 100644 index 000000000000..fdad050c8be3 --- /dev/null +++ b/csharp/ql/lib/ext/generated/Azure.Storage.model.yml @@ -0,0 +1,13 @@ +# THIS FILE IS AN AUTO-GENERATED MODELS AS DATA FILE. DO NOT EDIT. +extensions: + - addsTo: + pack: codeql/csharp-all + extensible: summaryModel + data: + - ["Azure.Storage", "BlobTestExtensions", False, "ToBlobHttpHeaders", "(Azure.Storage.Test.Shared.HttpHeaderParameters)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage", "BlobTestExtensions", False, "ToBlobRequestConditions", "(Azure.RequestConditions)", "", "Argument[0]", "ReturnValue", "taint", "df-generated"] + - ["Azure.Storage", "SampleTest", False, "Randomize", "(System.String)", "", "Argument[0]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage", "StorageSharedKeyCredential", False, "StorageSharedKeyCredential", "(System.String,System.String)", "", "Argument[0]", "Argument[this].Property[Azure.Storage.StorageSharedKeyCredential.AccountName]", "value", "dfc-generated"] + - ["Azure.Storage", "TestExtensions", False, "FirstAsync", "(System.Collections.Generic.IAsyncEnumerable)", "", "Argument[0].Element", "ReturnValue.Property[System.Threading.Tasks.Task`1.Result]", "value", "dfc-generated"] + - ["Azure.Storage", "TestExtensions", False, "ToHttp", "(System.Uri)", "", "Argument[0]", "ReturnValue", "taint", "dfc-generated"] + - ["Azure.Storage", "TestExtensions", False, "ToListAsync", "(System.Collections.Generic.IAsyncEnumerable)", "", "Argument[0].Element", "ReturnValue.Property[System.Threading.Tasks.Task`1.Result].Element", "value", "dfc-generated"] diff --git a/csharp/ql/src/experimental/CWE-918/RequestForgery2.ql b/csharp/ql/src/experimental/CWE-918/RequestForgery2.ql new file mode 100644 index 000000000000..39226a60cf1d --- /dev/null +++ b/csharp/ql/src/experimental/CWE-918/RequestForgery2.ql @@ -0,0 +1,40 @@ +/** + * @name Server Side Request Forgery (SSRF) + * @description Making web requests based on unvalidated user-input may cause server to communicate with malicious servers. + * Variation: standard sources, generic sinks + * @kind path-problem + * @problem.severity error + * @precision high + * @id cs/ssrf + * @tags security + * external/cwe/cwe-918 + */ + +import csharp +import SsrfBarrierHost +import RequestForgeryFlow::PathGraph +import semmle.code.csharp.dataflow.internal.ExternalFlow + +/** + * Holds when source is a `RemoteFlowSource` + */ +class RequestForgerySource extends Source { + RequestForgerySource() { this instanceof RemoteFlowSource } +} + +class GeneralHttpClientSink extends Sink { + GeneralHttpClientSink() { sinkNode(this, "ssrf") } +} + +from RequestForgeryFlow::PathNode source, RequestForgeryFlow::PathNode sink, string className +where + RequestForgeryFlow::flowPath(source, sink) and + ( + isSinkAnArgumentForAClassCallable(sink, className) + or + not isSinkAnArgumentForAClassCallable(sink, _) and + className = "(Sink was not detected as an argument for a callable)" + ) +select sink.getNode(), source, sink, + "Potential server side request forgery due to $@ flowing to a constructor or method from class $@.", + source.getNode(), "a user-provided value", className, className diff --git a/csharp/ql/src/experimental/CWE-918/RequestForgeryAzure.ql b/csharp/ql/src/experimental/CWE-918/RequestForgeryAzure.ql new file mode 100644 index 000000000000..f0c056f86411 --- /dev/null +++ b/csharp/ql/src/experimental/CWE-918/RequestForgeryAzure.ql @@ -0,0 +1,54 @@ +/** + * @name Server-side request forgery for Azure + * @description Making a network request with user-controlled data in the URL allows for request forgery attacks. + * @kind path-problem + * @problem.severity error + * @precision high + * @id cs/request-forgery-azure + * @tags security + * experimental + * external/cwe/cwe-918 + */ + +import csharp +import SsrfBarrierAzure +import RequestForgeryFlow::PathGraph +import semmle.code.csharp.dataflow.internal.ExternalFlow + +/** + * Holds when source is a `RemoteFlowSource` + * and not from `IConfiguration` or `Ioptions` + * and not a `StringLiteral` + */ +class RequestForgerySource extends Source { + RequestForgerySource() { + this instanceof RemoteFlowSource and + // Not interested in string literals + not isStrictlyAStringLiteral(this.asExpr()) and + // if not Ioptions = critical severity. if Ioptions = a lower severity + not isNodeUsingIconfigurationOrIOption(this) + } +} + +class AzureStorageClientSink extends Sink { + AzureStorageClientSink() { + sinkNode(this, "azure-ssrf") + or + sinkNode(this, "azure-ssrf-key-vault") + or + sinkNode(this, "azure-ssrf-storage") + } +} + +from RequestForgeryFlow::PathNode source, RequestForgeryFlow::PathNode sink, string className +where + RequestForgeryFlow::flowPath(source, sink) and + ( + isSinkAnArgumentForAClassCallable(sink, className) + or + not isSinkAnArgumentForAClassCallable(sink, _) and + className = "(Sink was not detected as an argument for a callable)" + ) +select sink.getNode(), source, sink, + "Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@.", + source.getNode(), "a user-provided value", className, className diff --git a/csharp/ql/src/experimental/CWE-918/RequestForgeryWithAuthorizationHeader.ql b/csharp/ql/src/experimental/CWE-918/RequestForgeryWithAuthorizationHeader.ql new file mode 100644 index 000000000000..361a2c86a53c --- /dev/null +++ b/csharp/ql/src/experimental/CWE-918/RequestForgeryWithAuthorizationHeader.ql @@ -0,0 +1,132 @@ +/** + * @name Server-side request forgery with Authorization header + * @description Making a network request with user-controlled data in the URL allows for request forgery attacks. + * @kind path-problem + * @problem.severity error + * @precision high + * @id cs/request-forgery-with-authorization-header + * @tags security + * experimental + * external/cwe/cwe-918 + */ + +import csharp +import SsrfBarrierHost +import RequestForgeryFlow::PathGraph +import semmle.code.csharp.dataflow.internal.ExternalFlow + +/** + * Holds when source is a `RemoteFlowSource` + */ +class RequestForgerySource extends Source { + RequestForgerySource() { this instanceof RemoteFlowSource } +} + +class GeneralHttpClientSink extends Sink { + GeneralHttpClientSink() { sinkNode(this, "ssrf") } +} + +predicate isRequestVariable(Variable v) { + v.getType().hasFullyQualifiedName("System.Net.Http", "HttpRequestMessage") + or + v.getType().hasFullyQualifiedName("System.Net", "HttpWebRequest") + or + v.getType().hasFullyQualifiedName("System.Net", "WebRequest") +} + +VariableAccess getRequestForSink(Sink sink) { + exists(Expr e, VariableAccess va | e = sink.asExpr() and isRequestVariable(va.getTarget()) | + TaintTracking::localTaint(DataFlow::exprNode(e), DataFlow::exprNode(va)) and + result = va + ) +} + +/** + * Holds when sink is for a request that also has an `Authorization` header set + */ +predicate hasPotentialTokenLeak(Sink sink) { + // Authorization header is set using + // a simple key-value assignment expression where the key is a string with a + // case-insensitive text "Authorization". + // + // Example: + // + // req.Headers["Authorization"] = token; + // req.Headers["authorization"] = token; + // req.Headers["aUtHoRiZaTiOn"] = token; + exists(IndexerAccess reqHeadersMap, PropertyAccess pa | + getRequestForSink(sink) = pa.getQualifier() and + reqHeadersMap.getQualifier() = pa and + pa.getProperty().getName() = "Headers" and + reqHeadersMap.getAnIndex().(StringLiteral).getValue().toLowerCase() = "authorization" + ) + or + // Authorization header is set using + // the function call Headers.Add(key, value) where the key is a string with a + // case-insensitive text "Authorization". + // + // Example: + // + // req.Headers.Add("Authorization", token); + // req.Headers.Add("authorization", token); + // req.Headers.Add("aUtHoRiZaTiOn", token); + exists(MethodCall reqHeadersAdd, PropertyAccess pa | + getRequestForSink(sink) = pa.getQualifier() and + reqHeadersAdd.getTarget().getName() = "Add" and + reqHeadersAdd.getQualifier() = pa and + pa.getProperty().getName() = "Headers" and + reqHeadersAdd.getArgument(0).getValue().toLowerCase() = "authorization" + ) + or + // Authorization header is set using + // the function call Headers.Add(key, value) where the key is a constant with + // a case-insensitive text "Authorization". + // + // Example: + // + // req.Headers.Add(AuthorizationHeaderName, token); + // req.Headers.Add(Constants.AuthHeaderName, token); + exists(MethodCall reqHeadersAdd, PropertyAccess pa, MemberConstantAccess mca | + getRequestForSink(sink) = pa.getQualifier() and + reqHeadersAdd.getTarget().getName() = "Add" and + reqHeadersAdd.getQualifier() = pa and + pa.getProperty().getName() = "Headers" and + reqHeadersAdd.getArgument(0) = mca and + // Let's hope the word "auth" is somewhere in the constant's name. + mca.getTarget().getName().regexpMatch(".*(?i)auth.*") + ) + or + // Authorization header is set using + // a simple key-value assignment expression where the key is a constant with + // a case-insensitive text "Authorization". + // + // Example: + // + // req.Headers[AuthorizationHeaderName] = token; + // req.Headers[Constants.AuthHeaderName] = token; + // + // Not supported: + // + // req.Headers[sink.Config["AuthHeader"]] = token; + exists(IndexerAccess reqHeadersMap, PropertyAccess pa, MemberConstantAccess mca | + getRequestForSink(sink) = pa.getQualifier() and + reqHeadersMap.getQualifier() = pa and + pa.getProperty().getName() = "Headers" and + reqHeadersMap.getAnIndex() = mca and + mca.getTarget().getName().regexpMatch(".*(?i)auth.*") + ) +} + +from RequestForgeryFlow::PathNode source, RequestForgeryFlow::PathNode sink, string className +where + RequestForgeryFlow::flowPath(source, sink) and + ( + isSinkAnArgumentForAClassCallable(sink, className) + or + not isSinkAnArgumentForAClassCallable(sink, _) and + className = "(Sink was not detected as an argument for a callable)" + ) and + hasPotentialTokenLeak(sink.getNode()) +select sink.getNode(), source, sink, + "Potential server side request forgery due to $@ flowing to a constructor or method from class $@.", + source.getNode(), "a user-provided value", className, className diff --git a/csharp/ql/src/experimental/CWE-918/SsrfBarrierAzure.qll b/csharp/ql/src/experimental/CWE-918/SsrfBarrierAzure.qll new file mode 100644 index 000000000000..6577d8047075 --- /dev/null +++ b/csharp/ql/src/experimental/CWE-918/SsrfBarrierAzure.qll @@ -0,0 +1,298 @@ +import csharp +import SsrfBarrierHost + +/** + * Holds for call of `Microsoft.Azure.Storage.NameValidator` validation methods + * Example: `NameValidator.ValidateBlobName(blobName)` + */ +class NameValidatorBarrier extends Barrier { + NameValidatorBarrier() { + exists(MethodCall mc, Method m, string s | + this.asExpr() = mc.getAnArgument() and + m = mc.getTarget() and + m.hasFullyQualifiedName("Microsoft.Azure.Storage.NameValidator", s) and + s in ["ValidateBlobName", "ValidateContainerName", "ValidateQueueName"] + ) + } +} + +/** + * Holds if we detect Scheme and Host validation https://aka.ms/ssrf/sdl + */ +private class RequestForgeryBarrier extends Barrier { + RequestForgeryBarrier() { doesNodeFlowToSchemaAndHostSanitizer(this.asExpr()) } +} + +/** + * Holds if the `node` is a property read on a `Uri` object + * + * Example: `myUri.Host` + */ +private predicate isUriHostNode(DataFlow::Node node) { + exists(Property p, PropertyRead pr | + pr = node.asExpr() and + p.hasFullyQualifiedName("System.Uri", "Host") and + p.getAnAccess() = pr + ) +} + +/** + * Holds if the `Uri` variable `v` has beeen checked (`co`) for the schema to validate HTTPS + * + * Example: `if (myUri.Scheme == Uri.UriSchemeHttps) { ... }` + */ +private predicate uriVariableHasBeenCheckedForUriSchemeHttps( + Variable v, DataFlow::Node node, ComparisonOperation co +) { + exists(Field ec, Property p, PropertyRead pr, Expr e | + ec.hasFullyQualifiedName("System.Uri", "UriSchemeHttps") and + p.hasFullyQualifiedName("System.Uri", "Scheme") and + p.getAnAccess() = pr and + co.getAnOperand() = pr and + co.getAnOperand() = ec.getAnAccess() and + v.getAnAccess() = pr.getQualifier() and + v.getType() instanceof SystemUriClass and + e.getType() instanceof SystemUriClass and + e = co.getAChild*() and + e = node.asExpr() + ) +} + +/** + * Holds if the `Uri` variable `v` is used in a verification against a list of allowed domains using `EndsWith` + * + * Example: + * `Uri myUri = new Uri("http://www.subdomain.something.com/"); + * List hostList = new List { "something.com", ".something.com"}; + * if (myUri.Host.EndsWith(hostList[0])) { ... }` + */ +private predicate uriVariableHostHasBeenUsedInASelectionStmt( + Variable v, DataFlow::Node node, DataFlow::Node source +) { + exists(PropertyRead pr, SelectionStmt ifstmt, Expr e | + e = node.asExpr() and + pr = source.asExpr() and + ifstmt.getCondition().getAChild*() = node.asExpr() and + DataFlow::localFlow(source, node) and + isUriHostNode(source) and + v.getAnAccess() = pr.getQualifier() + ) and + exists(MethodCall call | + call.getQualifier() = node.asExpr() and + call.getTarget().hasName("EndsWith") + ) +} + +/** + * Holds if the string literal starts with `.` and + * it is not an `InterpolatedStringExpr` element + * + * Example: `".something.com";` + */ +private predicate isLiteralStartingWithDotAndNotInterpolated(Literal l) { + l.getValue().length() > 2 and + l.getValue().regexpMatch("^\\.[^.\\/\\s].*") and + not l.getParent() instanceof InterpolatedStringInsertExpr +} + +/** + * holds if the `source` is a literal and not an interpolated string + * + * Examples: + * `String s = ".something.com";` + * or + * `String s = ""; + * s = new String(".something.com"); // literal is child of ObjectCreation + * if (myUri.Host.EndsWith(s)) { ... }` // source is a VariableAccess of that object + */ +private predicate isAzureDomainNode(DataFlow::Node source) { + isLiteralStartingWithDotAndNotInterpolated(source.asExpr()) + or + exists(Variable v, ObjectCreation oc, AssignExpr ae, Literal l | + source.asExpr() = v.getAnAccess() and + ae.getLValue() = v.getAnAccess() and + ae.getRValue() = oc and + oc.getAChild*() = l and + isLiteralStartingWithDotAndNotInterpolated(l) + ) +} + +/** + * Holds if a non-interpolated string literal flows to expression `e` + */ +private predicate flowsFromAzureDomainString(Expr e) { + exists(DataFlow::Node source, DataFlow::Node sink | + e = sink.asExpr() and + isAzureDomainNode(source) and + DataFlow::localFlow(source, sink) + ) +} + +/** + * Holds if `true` is set to `EnableTenantDiscovery` property + * + * Example: `BlobClientOptions blobClientOptions = new BlobClientOptions(); + * blobClientOptions.EnableTenantDiscovery = true;` + */ +predicate existsTrueFlowsToEnableTenantDiscoveryProperty() { + exists(BoolLiteral bl, PropertyWrite pw, AssignExpr ae | + bl.getBoolValue() = true and + ae.getRValue() = bl and + ae.getLValue() = pw and + pw.getProperty().hasName("EnableTenantDiscovery") + ) +} + +/** + * Helper to detect the Scheme and Host sanitizer + * + * TODO: example + */ +predicate isSchemaAndHostSanitizerHelper(DataFlow::Node node, Variable v) { + exists( + SelectionStmt slStmt, DataFlow::Node sink, DataFlow::Node source, DataFlow::Node node2, + DataFlow::Node node3, MethodCall tryGetValCall, Method tryGetVal, VariableAccess nodeDictParam, + Variable v2 + | + uriVariableHostHasBeenUsedInASelectionStmt(v, sink, source) and + slStmt.getAChild*() = sink.asExpr() and + slStmt.getAChild*() = node2.asExpr() and + tryGetVal.hasName("TryGetValue") and + tryGetVal.getACall() = tryGetValCall and + tryGetValCall.getQualifier() = node3.asExpr() and + flowsFromAzureDomainString(node3.asExpr()) and + nodeDictParam = tryGetValCall.getArgumentForName("value") and + v2.getAnAccess() = nodeDictParam and + exists(MethodCall call | + call.getQualifier() = node.asExpr() and + call.getTarget().hasName("EndsWith") and + v2.getAnAccess() = call.getAnArgument() + ) + ) +} + +/** + * Holds if we detect the Scheme and Host sanitizer + * + * TODO: example + */ +predicate isSchemaAndHostSanitizer(DataFlow::Node node, Variable v) { + isSchemaAndHostSanitizerHelper(node, v) and + exists(DataFlow::Node node_httpsValidation | + uriVariableHasBeenCheckedForUriSchemeHttps(v, node_httpsValidation, _) + | + node_httpsValidation.getControlFlowNode().getASuccessor*() = node.getControlFlowNode() or + node_httpsValidation.getControlFlowNode().getAPredecessor*() = node.getControlFlowNode() + ) and + not existsTrueFlowsToEnableTenantDiscoveryProperty() +} + +/** + * Dataflow that is used to detect the Scheme and Host sanitizer https://aka.ms/ssrf/sdl + */ +private module SchemaAndHostSanitizerFlowConfig implements DataFlow::ConfigSig { + predicate isSource(DataFlow::Node source) { any() } + + predicate isSink(DataFlow::Node sink) { isSchemaAndHostSanitizer(sink, _) } + + predicate isAdditionalFlowStep(DataFlow::Node node2, DataFlow::Node node1) { + exists(PropertyCall pc | node1.asExpr() = pc | + pc.getProperty().hasName("Host") and + ( + exists(AssignExpr ae | + ae.getRValue().getAChild*() = pc and + ae.getLValue().getAChild*() = node2.asExpr() + ) + or + exists(LocalVariableDeclAndInitExpr lvd | + lvd.getRValue().getAChild*() = pc and + lvd.getAChild*().(Expr).getAControlFlowNode() = node2.getControlFlowNode() + ) + ) + ) + or + requestForgeryStep(node2, node1) + or + uriCreationStep(node2, node1) + } +} + +module SchemaAndHostSanitizerFlow = DataFlow::Global; + +/** + * Holds when the `UriClass` is created or set + * + * Example: `new Uri("https://something.com");` + */ +predicate uriCreationStep(DataFlow::Node pred, DataFlow::Node succ) { + // propagate to a URI when its host is assigned to + exists(SystemUriClass uriClass, ObjectCreation oc, DataFlow::Node node | + uriClass.getAConstructor().getACall() = oc and + succ.asExpr() = oc and + node.asExpr() = oc.getArgumentForName("uriString") and + DataFlow::localFlow(pred, node) + ) +} + +/** + * Holds if we cannot detect a flow to the Scheme and Host sanitizer + */ +predicate doesNodeFlowToSchemaAndHostSanitizer(Expr nodeExpr) { + exists(SchemaAndHostSanitizerFlow::PathNode node | node.getNode().asExpr() = nodeExpr | + SchemaAndHostSanitizerFlow::flowPath(node, _) + ) +} + +/** + * Holds if the Node is using `IOption` or other well-known configuration file + * + * Examples: + * Property such as `something.Configuration` + * Parameter of type `IOption` or `IConfiguration` + * In the dataflow, includes `ConnectionStringSecret` property from `options.Value.ConnectionStringSecret` + * Access dictionary key `config["vaultUrl"]` + */ +predicate isNodeUsingIconfigurationOrIOption(DataFlow::Node source) { + // property access + exists(PropertyRead fopRead | fopRead = source.asExpr() | + fopRead + .getTarget() + .getType() + .(Class) + .getABaseType*() + .hasFullyQualifiedName("Microsoft.Extensions.Configuration", "IConfiguration") + ) + or + // parameter, including API parameters + exists(Parameter p | source.asParameter() = p | + p.getType().(Generic).getUnboundDeclaration().getUndecoratedName() = "IOptions" and + p.getType() + .(ValueOrRefType) + .getNamespace() + .hasFullyQualifiedName("Microsoft.Extensions", "Options") + or + p.getType().hasFullyQualifiedName("Microsoft.Extensions.Configuration", "IConfiguration") + ) + or + // access dictionary key + exists(IndexerCall ic, Variable v, VariableAccess va | + source.asExpr() = ic and + not exists(Parameter p | p.getAnAccess() = va) and // prevent duplicate results with parameters + ic.getQualifier() = va and + v.getAnAccess() = va and + ( + v.getType() + .(Class) + .getABaseType*() + .hasFullyQualifiedName("Microsoft.Extensions.Configuration", "IConfiguration") + or + v.getType().hasFullyQualifiedName("Microsoft.Extensions.Configuration", "IConfiguration") + or + v.getType().(Generic).getUnboundDeclaration().getUndecoratedName() = "IOptions" and + v.getType() + .(ValueOrRefType) + .getNamespace() + .hasFullyQualifiedName("Microsoft.Extensions", "Options") + ) + ) +} diff --git a/csharp/ql/src/experimental/CWE-918/SsrfBarrierHost.qll b/csharp/ql/src/experimental/CWE-918/SsrfBarrierHost.qll new file mode 100644 index 000000000000..fcabd097b67a --- /dev/null +++ b/csharp/ql/src/experimental/CWE-918/SsrfBarrierHost.qll @@ -0,0 +1,222 @@ +import SsrfBaseFlow +import experimental.code.csharp.String_Concatenation.ConcatenateStringSantizer + +/** + * Holds for `HttpMethod` argument in `System.Net.Http.HttpRequestMessage` constructor + */ +private class RequestMessageConstructorBarrier extends Barrier { + RequestMessageConstructorBarrier() { + exists(ObjectCreation oc | + oc.getType().hasFullyQualifiedName("System.Net.Http", "HttpRequestMessage") + | + oc.getArgumentForName("method") = this.asExpr() + or + // property assignment to `HttpRequestMessage.RequestUri` overrides the RequestUri from HttpRequestMessage constructor, would have its own alert + exists(PropertyAccess pa, Assignment a | + a.getLValue() = pa and + pa.getTarget().hasFullyQualifiedName("System.Net.Http.HttpRequestMessage", "RequestUri") and + DataFlow::localExprFlow(oc, pa.getQualifier()) and + this.asExpr() = oc.getAnArgument() + ) + ) + } +} + +/** + * Holds for parameter read or write of `WebRequest`, `HttpWebRequest`, and `HttpRequestMessage` other than + * reading `RequestUri`, `Address`, `Content`, `CookieContainer`, `Headers`, `Host`, `Referer`, and `ServicePoint` + * writing `RequestUri`, `Address`, `Host`, `ServicePoint` + * For example: + * `request.Content = body;` will hold + * `request.RequestUri` will not hold + */ +private class RequestMessagePropertyBarrier extends Barrier { + RequestMessagePropertyBarrier() { + // Read access other than these properties are out of scope for the SSRF queries + exists(Property p, string s | + p = this.asExpr().(PropertyAccess).getTarget() and + ( + p.hasFullyQualifiedName("System.Net.WebRequest", s) or + p.hasFullyQualifiedName("System.Net.HttpWebRequest", s) or + p.hasFullyQualifiedName("System.Net.Http.HttpRequestMessage", s) + ) and + not s in [ + "Address", "Content", "CookieContainer", "Headers", "Host", "Referer", "RequestUri", + "ServicePoint" + ] + ) + or + // Assignment to properties other than these are out of scope for the SSRF queries + exists(PropertyAccess pa, Property p, AssignExpr ae, string s | + p = pa.getTarget() and + ( + p.hasFullyQualifiedName("System.Net.WebRequest", s) or + p.hasFullyQualifiedName("System.Net.HttpWebRequest", s) or + p.hasFullyQualifiedName("System.Net.Http.HttpRequestMessage", s) + ) and + ae.getLValue() = pa and + ae.getRValue() = this.asExpr() and + not s in ["Address", "Host", "RequestUri", "ServicePoint"] + ) + } +} + +/** + * Holds for `path` or `extraValue` arguments in `System.UriBuilder` constructor + * `extraValue` can be either a fragement `#a` or a query `?a=b` + * + * Holds for `System.UriBuilder` constructor when `System.UriBuilder.Host` property is set + */ +private class UriBuilderConstructorBarrier extends Barrier { + UriBuilderConstructorBarrier() { + exists(ObjectCreation oc | oc.getType().hasFullyQualifiedName("System", "UriBuilder") | + oc.getArgumentForName("path") = this.asExpr() + or + oc.getArgumentForName("extraValue") = this.asExpr() + or + // property assignment to `UriBuilder.Host` overrides the host from UriBuilder constructor, would have its own alert + exists(PropertyAccess pa, Assignment a | + a.getLValue() = pa and + pa.getTarget().hasFullyQualifiedName("System.UriBuilder", "Host") and + DataFlow::localExprFlow(oc, pa.getQualifier()) and + this.asExpr() = oc.getAnArgument() + ) + ) + } +} + +/** + * Holds for parameter read or write of `System.UriBuilder` other than + * `Host` and `Uri` + * For example: + * `uriBuilder.Path = node;` will hold + * `string url2 = $"https://something.com/{uriBuilder.Path}"` will hold + * `uriBuilder.Host = node;` will not hold + * `string url2 = $"https://{uriBuilder.Host}"` will not hold + */ +private class UriBuilderPropertyBarrier extends Barrier { + UriBuilderPropertyBarrier() { + // Read access to these properties are out of scope for the SSRF queries + exists(Property p, string qname, string s | + p = this.asExpr().(PropertyAccess).getTarget() and + p.hasFullyQualifiedName(qname, s) and + qname = + [ + "Azure.Data.Tables.TableUriBuilder", "Azure.Storage.Blobs.BlobUriBuilder", + "Azure.Storage.Files.DataLake.DataLakeUriBuilder", + "Azure.Storage.Files.Shares.ShareUriBuilder", "Azure.Storage.Queues.QueueUriBuilder", + "System.UriBuilder" + ] and + s = ["Fragment", "MessageId", "Password", "Sas", "Snapshot", "UserName", "VersionId"] // TODO add path, query? + ) + or + // Assignment to properties other than these are out of scope for the SSRF queries + exists(PropertyAccess pa, Property p, AssignExpr ae, string qname, string s | + p = pa.getTarget() and + p.hasFullyQualifiedName(qname, s) and + ae.getLValue() = pa and + ae.getRValue() = this.asExpr() and + qname = + [ + "Azure.Core.RequestUriBuilder", "Azure.Data.Tables.TableUriBuilder", + "Azure.Storage.Blobs.BlobUriBuilder", "Azure.Storage.Files.DataLake.DataLakeUriBuilder", + "Azure.Storage.Files.Shares.ShareUriBuilder", "Azure.Storage.Queues.QueueUriBuilder", + "System.UriBuilder" + ] and + not s = + [ + "AccountName", "BlobName", "BlobContainerName", "FileSystemName", "Host", "QueueName", + "ShareName", "Tablename", "Uri" + ] + ) + } +} + +/** + * Holds for adding queries to `Microsoft.Azure.Storage.Core.UriQueryBuilder` + * For example: + * `uriQueryBuilder.Add("myKey", "myValue");` will hold + * `var myUri = uriQueryBuilder.AddToUri(myUri);` will not hold + */ +private class UriQueryBuilderBarrier extends Barrier { + UriQueryBuilderBarrier() { + // Read access to these properties are out of scope for the SSRF queries + exists(MethodCall c, string s | + c.getTarget().hasFullyQualifiedName("Microsoft.Azure.Storage.Core.UriQueryBuilder", s) and + s = ["Add", "AddRange"] and + this.asExpr() = c.getAnArgument() + ) + } +} + +/** + * Holds for parameter read or write of `System.Uri` other than + * `AbsoluteUri`, `Authority`, `DnsSafeHost`, `Host`, `IdnHost`, `LocalPath`, and `OriginalString` + * For example: + * `Uri uri = new Uri(myUri.PathAndQuery, UriKind.Relative);` will hold + * `Uri uri = new Uri(myUri.Host);` will not hold + */ +private class UriPropertyBarrier extends Barrier { + UriPropertyBarrier() { + // Read access other than these properties are out of scope for the SSRF queries + exists(Property p, string s | + p = this.asExpr().(PropertyAccess).getTarget() and + p.hasFullyQualifiedName("System.Uri", s) and + not s = + [ + "AbsoluteUri", "Authority", "DnsSafeHost", "Host", "IdnHost", "LocalPath", + "OriginalString" + ] + ) + // System.Uri does not have any properties that can be set + } +} + +/** + * Holds when the untrusted input is not the host of a url argument to an API call + */ +private class PathAndQueryBarrier extends Barrier { + PathAndQueryBarrier() { + // NOTE: There may be other type of path injection issues, but the attacker does not control the server on the URL + this.(StringCreationSanitizerSSRF).stringContainsSanitizer() + } +} + +/** + * Holds if the node is being used for string construction in a way that it is used after a "/" character, + * but not "//", or after "?=, or after "#". For example: + * `https://{something}/{node}` will hold + * `"https://something/" + "node"` will hold + * `https://something?a={node}` will hold + * `https://something#{node}` will hold + * `stringBuilder.Append("https://something/").Append(node)` will hold + * `string.Format("https://something/{0}", node)` will hold + * `string.Join("/", new String[]{ "https://something", node })` will hold + * `https://{node}` will not hold + * `"https://" + node` will not hold + * `stringBuilder.Append("https://").Append(node)` will not hold + * `string.Format("https://{0}", node)` will not hold + * `string.Join(null, new String[]{ "https://", node })` will not hold + * + * Holds when the node is an argument of a constructor or method from `String` or `StringBuilder` + * that flows to a `Uri` or `UriBuilder` that flows to `RequestForgerySink`, or when the node is a + * child of `RequestForgerySink`. For example: + * `var url = $"https://something/{node}/"; Uri uri = new Uri(url); (new HttpClient()).GetAsync(uri);` will hold + * `(new HttpClient()).GetAsync(new Uri($"https://something/{node}/"))` will hold + * `logger.Info($"something/{node}")` will not hold + */ +private class StringCreationSanitizerSSRF extends StringCreationSanitizer { + override predicate stringContainsSanitizer() { + super.stringContainsSanitizer() and + exists(string s | s = this.getPredecessorString() and s.length() > 0 | + // We will ignore the SSRF case if the injectable portion is part of the path, query, or fragment + // matches '/' in 'something/' but not in server address 'https://something' + s.matches("%/%") and not s.matches("%://%") + or + // matches 'https://something/' + s.matches("%://%/%") + or + s.regexpMatch(".*[?#&=()].*") + ) + } +} diff --git a/csharp/ql/src/experimental/CWE-918/SsrfBaseFlow.qll b/csharp/ql/src/experimental/CWE-918/SsrfBaseFlow.qll new file mode 100644 index 000000000000..37ccfde7ee9e --- /dev/null +++ b/csharp/ql/src/experimental/CWE-918/SsrfBaseFlow.qll @@ -0,0 +1,190 @@ +import csharp +import semmle.code.csharp.frameworks.System +import semmle.code.csharp.security.dataflow.flowsources.Remote +private import codeql.util.Unit +private import semmle.code.csharp.frameworks.system.Web +private import semmle.code.csharp.frameworks.system.IO +private import semmle.code.csharp.frameworks.system.threading.Tasks +private import semmle.code.csharp.dataflow.internal.ExternalFlow + +/** + * A data flow source for server side request forgery vulnerabilities. + */ +abstract class Source extends DataFlow::Node { } + +/** + * A data flow sink for server side request forgery vulnerabilities. + */ +abstract class Sink extends DataFlow::ExprNode { } + +/** + * A data flow Barrier that blocks the flow of taint for + * server side request forgery vulnerabilities. + */ +abstract class Barrier extends DataFlow::Node { } + +/** + * A unit class for adding additional taint steps that are specific to server-side request forgery (SSRF) attacks. + * + * Extend this class to add additional taint steps to the SSRF query. + */ +class RequestForgeryAdditionalFlowStep extends Unit { + /** + * Holds if the step from `pred` to `succ` should be considered a taint + * step for server-side request forgery. + */ + abstract predicate propagatesTaint(DataFlow::Node pred, DataFlow::Node succ); +} + +/** + * A base data flow configuration for detecting server side request forgery vulnerabilities. + */ +private module RequestForgeryFlowConfig implements DataFlow::ConfigSig { + predicate isSource(DataFlow::Node source) { source instanceof Source } + + predicate isSink(DataFlow::Node sink) { sink instanceof Sink } + + predicate isAdditionalFlowStep(DataFlow::Node pred, DataFlow::Node succ) { + any(RequestForgeryAdditionalFlowStep r).propagatesTaint(pred, succ) + } + + predicate isBarrier(DataFlow::Node node) { node instanceof Barrier } +} + +module RequestForgeryFlow = TaintTracking::Global; + +/** + * Holds for `StringLiteral` when not part of an `InterpolatedStringExpr` + * + * Used in several extensions of Source class + */ +predicate isStrictlyAStringLiteral(Expr e) { + e instanceof StringLiteral and + not ( + e.getParent() instanceof InterpolatedStringExpr or + e.getParent() instanceof InterpolatedStringInsertExpr + ) +} + +/** Call that sets a URI for a request call. */ +abstract class UriForRequestCall extends Call { + Expr getHostArg() { none() } +} + +/** Call for creating a `System.URI` object. */ +class HttpRequestCreation extends UriForRequestCall { + HttpRequestCreation() { + this.getTarget().getDeclaringType() instanceof SystemWebHttpRequestBaseClass and + this instanceof ConstructorInitializer + } + + /** + * Gets the URI-related argument of the newly created System.URI. + */ + override Expr getHostArg() { + result = this.getArgumentForName("uriString") or + result = this.getArgumentForName("url") + } +} + +/** + * Used to propagate the step to a URI when its host is assigned + */ +predicate requestForgeryStep(DataFlow::Node pred, DataFlow::Node succ) { + // propagate to a URI when its host is assigned to + exists(UriForRequestCall c | c.getHostArg() = pred.asExpr() | succ.asExpr() = c) +} + +/** + * Used to propagate the step to a URI when its host is assigned + */ +private class UriHostAdditionalFlowStep extends RequestForgeryAdditionalFlowStep { + override predicate propagatesTaint(DataFlow::Node pred, DataFlow::Node succ) { + requestForgeryStep(pred, succ) + } +} + +/** + * Holds for return statment expression of a chained method call + * to `Task`1` class method call where `.GetAwaiter().GetResult()` are not explicitly called + * + * This holds for predecessor node `s` from `return s` and successor node `ConfigureAwait` call in example: + * + * `await MyMethod(myString).ConfigureAwait(false);` + * + * `private async Task MyMethod(string s) { return s; }` + * + * NOTE: this fixes a false negative in the csharp dataflow library until + * https://github.com/github/codeql-csharp-team/issues/95 is addressed + */ +private class TaskAwaitAdditionalFlowStep extends RequestForgeryAdditionalFlowStep { + override predicate propagatesTaint(DataFlow::Node pred, DataFlow::Node succ) { + exists(MethodCall mc, SystemThreadingTasksTaskTClass c, ReturnStmt rs | + c.getAConstructedGeneric().getAMethod().getACall() = mc and + ( + rs.getEnclosingCallable() = mc.getQualifier().(MethodCall).getTarget() + or + returnStmtGenericMethodCall(mc, rs) + ) + | + pred.asExpr() = rs.getExpr() and + succ.asExpr() = mc + ) + } +} + +/** + * Holds when a generic method call has a return statement. + * + * This holds for `GenericMethod` call and `return s` in example: + * + * `await GenericMethod(s, null);` + * + * `private string GenericMethod(string s, T t) { return s; }` + */ +private predicate returnStmtGenericMethodCall(MethodCall mc, ReturnStmt rs) { + exists(Method rsMethod, MethodCall rsCall | rs.getEnclosingCallable() = rsMethod | + rsMethod.(UnboundGenericMethod).getAConstructedGeneric().getACall() = rsCall and + mc.getQualifier().(MethodCall) = rsCall + ) +} + +/** + * Holds for arguments to class methods or constructors. + */ +predicate isSinkAnArgumentForAClassCallable(RequestForgeryFlow::PathNode sink, string className) { + exists(Call call, Callable calbl, Class clas | + sink.getNode().asExpr() = call.getAnArgument().getAChild*() and + (calbl = clas.getAConstructor() or calbl = clas.getAMethod()) and + call = calbl.getACall() and + className = getFullyQualifiedName(clas) + ) +} + +/** + * Returns the fully qualified name of the given element, with a period `.` between the namespace and the identifier. + */ +pragma[inline] +string getFullyQualifiedName(NamedElement e) { + exists(string a, string b | + e.hasFullyQualifiedName(a, b) and + if a = "" then result = b else result = a + "." + b + ) +} + +/** + * Holds for the `path` parameter of `System.Io.File.Read%` + * There are cases where the RemoteFlow source is used in the file path, then the url is + * read from the file. There may be file path traversal, but not SSRF. + */ +private class FileRead extends Barrier { + FileRead() { + exists(MethodCall mc, Method m, Class c | + mc = m.getACall() and + c.getAMethod() = m and + c instanceof SystemIOFileClass and + m.getName().matches("Read%") and + this.asExpr() = mc.getArgumentForName("path") + ) + } +} diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgery2/RequestForgery2.expected b/csharp/ql/test/experimental/CWE-918/RequestForgery2/RequestForgery2.expected new file mode 100644 index 000000000000..37e5d04f79bc --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgery2/RequestForgery2.expected @@ -0,0 +1,287 @@ +edges +| testAsync.cs:17:68:17:70 | env : String | testAsync.cs:19:56:19:58 | access to parameter env : String | provenance | | +| testAsync.cs:19:17:19:19 | access to local variable uri : String | testAsync.cs:20:36:20:38 | access to local variable uri : String | provenance | | +| testAsync.cs:19:29:19:87 | call to method ConfigureAwait : ConfiguredTaskAwaitable | testAsync.cs:19:17:19:19 | access to local variable uri : String | provenance | | +| testAsync.cs:19:56:19:58 | access to parameter env : String | testAsync.cs:23:60:23:60 | s : String | provenance | | +| testAsync.cs:20:36:20:38 | access to local variable uri : String | testAsync.cs:38:48:38:48 | s : String | provenance | | +| testAsync.cs:23:60:23:60 | s : String | testAsync.cs:24:17:24:25 | access to local variable uriString : String | provenance | | +| testAsync.cs:24:17:24:25 | access to local variable uriString : String | testAsync.cs:25:20:25:28 | access to local variable uriString : String | provenance | | +| testAsync.cs:25:20:25:28 | access to local variable uriString : String | testAsync.cs:19:29:19:87 | call to method ConfigureAwait : ConfiguredTaskAwaitable | provenance | Config | +| testAsync.cs:38:48:38:48 | s : String | testAsync.cs:40:56:40:56 | access to parameter s : String | provenance | | +| testAsync.cs:40:56:40:56 | access to parameter s : String | testAsync.cs:40:48:40:57 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2462 | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:24:56:24:72 | $"..." : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:26:64:26:80 | $"..." : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:28:49:28:65 | $"..." : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:30:49:30:75 | $"..." : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:33:49:33:65 | ... + ... : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:35:49:35:75 | ... + ... : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:39:35:39:37 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:44:54:44:56 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:49:35:49:37 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:54:75:54:77 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:57:79:57:81 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:60:20:60:33 | access to local variable fixFormatFpEnv : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:67:57:67:59 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:71:71:71:73 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:75:31:75:47 | $"..." : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:80:27:80:43 | $"..." : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:85:56:85:72 | $"..." : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:88:32:88:48 | $"..." : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:92:65:92:67 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:95:65:95:67 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:101:24:101:26 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:108:32:108:34 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:113:39:113:41 | access to parameter env : String | provenance | | +| testBad.cs:17:54:17:56 | env : String | testBad.cs:123:17:123:20 | access to local variable uri3 : String | provenance | | +| testBad.cs:24:56:24:72 | $"..." : String | testBad.cs:24:48:24:73 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2462 | +| testBad.cs:26:64:26:80 | $"..." : String | testBad.cs:26:56:26:81 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2462 | +| testBad.cs:28:49:28:65 | $"..." : String | testBad.cs:28:41:28:66 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:30:49:30:75 | $"..." : String | testBad.cs:30:41:30:76 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:33:49:33:65 | ... + ... : String | testBad.cs:33:41:33:66 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:35:49:35:75 | ... + ... : String | testBad.cs:35:41:35:76 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:39:13:39:26 | [post] access to local variable stringBuilder1 : StringBuilder | testBad.cs:41:49:41:62 | access to local variable stringBuilder1 : StringBuilder | provenance | | +| testBad.cs:39:35:39:37 | access to parameter env : String | testBad.cs:39:13:39:26 | [post] access to local variable stringBuilder1 : StringBuilder | provenance | MaD:2553 | +| testBad.cs:41:49:41:62 | access to local variable stringBuilder1 : StringBuilder | testBad.cs:41:49:41:73 | call to method ToString : String | provenance | MaD:2645 | +| testBad.cs:41:49:41:73 | call to method ToString : String | testBad.cs:41:41:41:74 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:44:13:44:45 | [post] call to method Append : StringBuilder | testBad.cs:45:49:45:62 | access to local variable stringBuilder2 : StringBuilder | provenance | MaD:2554 | +| testBad.cs:44:54:44:56 | access to parameter env : String | testBad.cs:44:13:44:45 | [post] call to method Append : StringBuilder | provenance | MaD:2553 | +| testBad.cs:45:49:45:62 | access to local variable stringBuilder2 : StringBuilder | testBad.cs:45:49:45:73 | call to method ToString : String | provenance | MaD:2645 | +| testBad.cs:45:49:45:73 | call to method ToString : String | testBad.cs:45:41:45:74 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:49:13:49:26 | [post] access to local variable stringBuilder3 : StringBuilder | testBad.cs:51:49:51:62 | access to local variable stringBuilder3 : StringBuilder | provenance | | +| testBad.cs:49:35:49:37 | access to parameter env : String | testBad.cs:49:13:49:26 | [post] access to local variable stringBuilder3 : StringBuilder | provenance | MaD:2553 | +| testBad.cs:51:49:51:62 | access to local variable stringBuilder3 : StringBuilder | testBad.cs:51:49:51:73 | call to method ToString : String | provenance | MaD:2645 | +| testBad.cs:51:49:51:73 | call to method ToString : String | testBad.cs:51:41:51:74 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:54:49:54:78 | call to method Concat : String | testBad.cs:54:41:54:79 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:54:75:54:77 | access to parameter env : String | testBad.cs:54:49:54:78 | call to method Concat : String | provenance | MaD:3346 | +| testBad.cs:57:49:57:82 | call to method Format : String | testBad.cs:57:41:57:83 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:57:79:57:81 | access to parameter env : String | testBad.cs:57:49:57:82 | call to method Format : String | provenance | MaD:3376 | +| testBad.cs:60:20:60:33 | access to local variable fixFormatFpEnv : String | testBad.cs:62:83:62:96 | access to local variable fixFormatFpEnv : String | provenance | | +| testBad.cs:62:20:62:20 | access to local variable s : String | testBad.cs:63:41:63:41 | access to local variable s | provenance | Sink:MaD:2404 | +| testBad.cs:62:24:62:116 | call to method Format : String | testBad.cs:62:20:62:20 | access to local variable s : String | provenance | | +| testBad.cs:62:83:62:96 | access to local variable fixFormatFpEnv : String | testBad.cs:62:24:62:116 | call to method Format : String | provenance | MaD:3361 | +| testBad.cs:67:13:67:26 | [post] access to local variable stringBuilder4 : StringBuilder | testBad.cs:68:49:68:62 | access to local variable stringBuilder4 : StringBuilder | provenance | | +| testBad.cs:67:57:67:59 | access to parameter env : String | testBad.cs:67:13:67:26 | [post] access to local variable stringBuilder4 : StringBuilder | provenance | MaD:2593 | +| testBad.cs:68:49:68:62 | access to local variable stringBuilder4 : StringBuilder | testBad.cs:68:49:68:73 | call to method ToString : String | provenance | MaD:2645 | +| testBad.cs:68:49:68:73 | call to method ToString : String | testBad.cs:68:41:68:74 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:71:17:71:26 | access to local variable stringJoin : String | testBad.cs:72:49:72:58 | access to local variable stringJoin : String | provenance | | +| testBad.cs:71:30:71:75 | call to method Join : String | testBad.cs:71:17:71:26 | access to local variable stringJoin : String | provenance | | +| testBad.cs:71:46:71:74 | array creation of type String[] : null [element] : String | testBad.cs:71:30:71:75 | call to method Join : String | provenance | MaD:3409 | +| testBad.cs:71:58:71:74 | { ..., ... } : null [element] : String | testBad.cs:71:46:71:74 | array creation of type String[] : null [element] : String | provenance | | +| testBad.cs:71:71:71:73 | access to parameter env : String | testBad.cs:71:58:71:74 | { ..., ... } : null [element] : String | provenance | | +| testBad.cs:72:49:72:58 | access to local variable stringJoin : String | testBad.cs:72:41:72:59 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| testBad.cs:75:17:75:19 | access to local variable uri : Uri | testBad.cs:76:41:76:43 | access to local variable uri | provenance | Sink:MaD:2408 | +| testBad.cs:75:23:75:48 | object creation of type Uri : Uri | testBad.cs:75:17:75:19 | access to local variable uri : Uri | provenance | | +| testBad.cs:75:31:75:47 | $"..." : String | testBad.cs:75:23:75:48 | object creation of type Uri : Uri | provenance | MaD:3700 | +| testBad.cs:80:27:80:43 | $"..." : String | testBad.cs:80:68:80:73 | access to local variable outUri : Uri | provenance | MaD:3695 | +| testBad.cs:80:68:80:73 | access to local variable outUri : Uri | testBad.cs:81:66:81:71 | access to local variable outUri : Uri | provenance | | +| testBad.cs:81:17:81:23 | access to local variable request : HttpRequestMessage | testBad.cs:82:42:82:48 | access to local variable request | provenance | Sink:MaD:2440 | +| testBad.cs:81:27:81:84 | object creation of type HttpRequestMessage : HttpRequestMessage | testBad.cs:81:17:81:23 | access to local variable request : HttpRequestMessage | provenance | | +| testBad.cs:81:66:81:71 | access to local variable outUri : Uri | testBad.cs:81:66:81:83 | access to property AbsoluteUri : String | provenance | MaD:3708 | +| testBad.cs:81:66:81:83 | access to property AbsoluteUri : String | testBad.cs:81:27:81:84 | object creation of type HttpRequestMessage : HttpRequestMessage | provenance | MaD:2449 | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Fragment] : String | testBad.cs:85:41:85:77 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Host] : String | testBad.cs:85:41:85:77 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Path] : String | testBad.cs:85:41:85:77 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Port] : Int32 | testBad.cs:85:41:85:77 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Query] : String | testBad.cs:85:41:85:77 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Scheme] : String | testBad.cs:85:41:85:77 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:85:56:85:72 | $"..." : String | testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Fragment] : String | provenance | MaD:3715 | +| testBad.cs:85:56:85:72 | $"..." : String | testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Host] : String | provenance | MaD:3715 | +| testBad.cs:85:56:85:72 | $"..." : String | testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Path] : String | provenance | MaD:3715 | +| testBad.cs:85:56:85:72 | $"..." : String | testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Port] : Int32 | provenance | MaD:3715 | +| testBad.cs:85:56:85:72 | $"..." : String | testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Query] : String | provenance | MaD:3715 | +| testBad.cs:85:56:85:72 | $"..." : String | testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Scheme] : String | provenance | MaD:3715 | +| testBad.cs:88:17:88:20 | access to local variable uri2 : Uri | testBad.cs:89:56:89:59 | access to local variable uri2 : Uri | provenance | | +| testBad.cs:88:24:88:49 | object creation of type Uri : Uri | testBad.cs:88:17:88:20 | access to local variable uri2 : Uri | provenance | | +| testBad.cs:88:32:88:48 | $"..." : String | testBad.cs:88:24:88:49 | object creation of type Uri : Uri | provenance | MaD:3700 | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Fragment] : String | testBad.cs:89:41:89:64 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Host] : String | testBad.cs:89:41:89:64 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Path] : String | testBad.cs:89:41:89:64 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Port] : Int32 | testBad.cs:89:41:89:64 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Query] : String | testBad.cs:89:41:89:64 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Scheme] : String | testBad.cs:89:41:89:64 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:89:56:89:59 | access to local variable uri2 : Uri | testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Fragment] : String | provenance | MaD:3716 | +| testBad.cs:89:56:89:59 | access to local variable uri2 : Uri | testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Host] : String | provenance | MaD:3716 | +| testBad.cs:89:56:89:59 | access to local variable uri2 : Uri | testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Path] : String | provenance | MaD:3716 | +| testBad.cs:89:56:89:59 | access to local variable uri2 : Uri | testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Port] : Int32 | provenance | MaD:3716 | +| testBad.cs:89:56:89:59 | access to local variable uri2 : Uri | testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Query] : String | provenance | MaD:3716 | +| testBad.cs:89:56:89:59 | access to local variable uri2 : Uri | testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Scheme] : String | provenance | MaD:3716 | +| testBad.cs:92:41:92:68 | object creation of type UriBuilder : UriBuilder [property Host] : String | testBad.cs:92:41:92:72 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:92:65:92:67 | access to parameter env : String | testBad.cs:92:41:92:68 | object creation of type UriBuilder : UriBuilder [property Host] : String | provenance | MaD:3718 | +| testBad.cs:95:41:95:73 | object creation of type UriBuilder : UriBuilder [property Host] : String | testBad.cs:95:41:95:77 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:95:65:95:67 | access to parameter env : String | testBad.cs:95:41:95:73 | object creation of type UriBuilder : UriBuilder [property Host] : String | provenance | MaD:3720 | +| testBad.cs:98:17:98:26 | access to local variable uriBuilder : UriBuilder [property Host] : String | testBad.cs:104:41:104:50 | access to local variable uriBuilder : UriBuilder [property Host] : String | provenance | | +| testBad.cs:99:13:103:13 | { ..., ... } : UriBuilder [property Host] : String | testBad.cs:98:17:98:26 | access to local variable uriBuilder : UriBuilder [property Host] : String | provenance | | +| testBad.cs:101:24:101:26 | access to parameter env : String | testBad.cs:99:13:103:13 | { ..., ... } : UriBuilder [property Host] : String | provenance | | +| testBad.cs:104:41:104:50 | access to local variable uriBuilder : UriBuilder [property Host] : String | testBad.cs:104:41:104:54 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:108:13:108:23 | [post] access to local variable uriBuilder2 : UriBuilder [property Host] : String | testBad.cs:109:41:109:51 | access to local variable uriBuilder2 : UriBuilder [property Host] : String | provenance | | +| testBad.cs:108:32:108:34 | access to parameter env : String | testBad.cs:108:13:108:23 | [post] access to local variable uriBuilder2 : UriBuilder [property Host] : String | provenance | | +| testBad.cs:109:41:109:51 | access to local variable uriBuilder2 : UriBuilder [property Host] : String | testBad.cs:109:41:109:55 | access to property Uri | provenance | MaD:3731 Sink:MaD:2408 | +| testBad.cs:113:17:113:27 | access to local variable relativeUri : Uri | testBad.cs:114:52:114:62 | access to local variable relativeUri : Uri | provenance | | +| testBad.cs:113:31:113:42 | object creation of type Uri : Uri | testBad.cs:113:17:113:27 | access to local variable relativeUri : Uri | provenance | | +| testBad.cs:113:39:113:41 | access to parameter env : String | testBad.cs:113:31:113:42 | object creation of type Uri : Uri | provenance | MaD:3700 | +| testBad.cs:114:17:114:27 | access to local variable combinedUri : Uri | testBad.cs:115:41:115:51 | access to local variable combinedUri | provenance | Sink:MaD:2408 | +| testBad.cs:114:17:114:27 | access to local variable combinedUri : Uri | testBad.cs:117:62:117:72 | access to local variable combinedUri : Uri | provenance | | +| testBad.cs:114:31:114:63 | object creation of type Uri : Uri | testBad.cs:114:17:114:27 | access to local variable combinedUri : Uri | provenance | | +| testBad.cs:114:52:114:62 | access to local variable relativeUri : Uri | testBad.cs:114:31:114:63 | object creation of type Uri : Uri | provenance | MaD:55950 | +| testBad.cs:117:62:117:72 | access to local variable combinedUri : Uri | testBad.cs:117:41:117:73 | object creation of type Uri | provenance | MaD:55950 Sink:MaD:2408 | +| testBad.cs:123:17:123:20 | access to local variable uri3 : String | testBad.cs:124:67:124:70 | access to local variable uri3 : String | provenance | | +| testBad.cs:124:17:124:24 | access to local variable request2 : HttpRequestMessage | testBad.cs:130:28:130:35 | access to local variable request2 : HttpRequestMessage | provenance | | +| testBad.cs:124:28:124:71 | object creation of type HttpRequestMessage : HttpRequestMessage | testBad.cs:124:17:124:24 | access to local variable request2 : HttpRequestMessage | provenance | | +| testBad.cs:124:67:124:70 | access to local variable uri3 : String | testBad.cs:124:28:124:71 | object creation of type HttpRequestMessage : HttpRequestMessage | provenance | MaD:2449 | +| testBad.cs:130:28:130:35 | access to local variable request2 : HttpRequestMessage | testBad.cs:144:50:144:56 | request : HttpRequestMessage | provenance | | +| testBad.cs:144:50:144:56 | request : HttpRequestMessage | testBad.cs:146:42:146:48 | access to parameter request | provenance | Sink:MaD:2440 | +| testBad.cs:144:50:144:56 | request : HttpRequestMessage | testBad.cs:146:42:146:48 | access to parameter request | provenance | Sink:MaD:2440 | +nodes +| testAsync.cs:17:68:17:70 | env : String | semmle.label | env : String | +| testAsync.cs:19:17:19:19 | access to local variable uri : String | semmle.label | access to local variable uri : String | +| testAsync.cs:19:29:19:87 | call to method ConfigureAwait : ConfiguredTaskAwaitable | semmle.label | call to method ConfigureAwait : ConfiguredTaskAwaitable | +| testAsync.cs:19:56:19:58 | access to parameter env : String | semmle.label | access to parameter env : String | +| testAsync.cs:20:36:20:38 | access to local variable uri : String | semmle.label | access to local variable uri : String | +| testAsync.cs:23:60:23:60 | s : String | semmle.label | s : String | +| testAsync.cs:24:17:24:25 | access to local variable uriString : String | semmle.label | access to local variable uriString : String | +| testAsync.cs:25:20:25:28 | access to local variable uriString : String | semmle.label | access to local variable uriString : String | +| testAsync.cs:38:48:38:48 | s : String | semmle.label | s : String | +| testAsync.cs:40:48:40:57 | object creation of type Uri | semmle.label | object creation of type Uri | +| testAsync.cs:40:56:40:56 | access to parameter s : String | semmle.label | access to parameter s : String | +| testBad.cs:17:54:17:56 | env : String | semmle.label | env : String | +| testBad.cs:24:48:24:73 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:24:56:24:72 | $"..." : String | semmle.label | $"..." : String | +| testBad.cs:26:56:26:81 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:26:64:26:80 | $"..." : String | semmle.label | $"..." : String | +| testBad.cs:28:41:28:66 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:28:49:28:65 | $"..." : String | semmle.label | $"..." : String | +| testBad.cs:30:41:30:76 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:30:49:30:75 | $"..." : String | semmle.label | $"..." : String | +| testBad.cs:33:41:33:66 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:33:49:33:65 | ... + ... : String | semmle.label | ... + ... : String | +| testBad.cs:35:41:35:76 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:35:49:35:75 | ... + ... : String | semmle.label | ... + ... : String | +| testBad.cs:39:13:39:26 | [post] access to local variable stringBuilder1 : StringBuilder | semmle.label | [post] access to local variable stringBuilder1 : StringBuilder | +| testBad.cs:39:35:39:37 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:41:41:41:74 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:41:49:41:62 | access to local variable stringBuilder1 : StringBuilder | semmle.label | access to local variable stringBuilder1 : StringBuilder | +| testBad.cs:41:49:41:73 | call to method ToString : String | semmle.label | call to method ToString : String | +| testBad.cs:44:13:44:45 | [post] call to method Append : StringBuilder | semmle.label | [post] call to method Append : StringBuilder | +| testBad.cs:44:54:44:56 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:45:41:45:74 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:45:49:45:62 | access to local variable stringBuilder2 : StringBuilder | semmle.label | access to local variable stringBuilder2 : StringBuilder | +| testBad.cs:45:49:45:73 | call to method ToString : String | semmle.label | call to method ToString : String | +| testBad.cs:49:13:49:26 | [post] access to local variable stringBuilder3 : StringBuilder | semmle.label | [post] access to local variable stringBuilder3 : StringBuilder | +| testBad.cs:49:35:49:37 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:51:41:51:74 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:51:49:51:62 | access to local variable stringBuilder3 : StringBuilder | semmle.label | access to local variable stringBuilder3 : StringBuilder | +| testBad.cs:51:49:51:73 | call to method ToString : String | semmle.label | call to method ToString : String | +| testBad.cs:54:41:54:79 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:54:49:54:78 | call to method Concat : String | semmle.label | call to method Concat : String | +| testBad.cs:54:75:54:77 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:57:41:57:83 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:57:49:57:82 | call to method Format : String | semmle.label | call to method Format : String | +| testBad.cs:57:79:57:81 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:60:20:60:33 | access to local variable fixFormatFpEnv : String | semmle.label | access to local variable fixFormatFpEnv : String | +| testBad.cs:62:20:62:20 | access to local variable s : String | semmle.label | access to local variable s : String | +| testBad.cs:62:24:62:116 | call to method Format : String | semmle.label | call to method Format : String | +| testBad.cs:62:83:62:96 | access to local variable fixFormatFpEnv : String | semmle.label | access to local variable fixFormatFpEnv : String | +| testBad.cs:63:41:63:41 | access to local variable s | semmle.label | access to local variable s | +| testBad.cs:67:13:67:26 | [post] access to local variable stringBuilder4 : StringBuilder | semmle.label | [post] access to local variable stringBuilder4 : StringBuilder | +| testBad.cs:67:57:67:59 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:68:41:68:74 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:68:49:68:62 | access to local variable stringBuilder4 : StringBuilder | semmle.label | access to local variable stringBuilder4 : StringBuilder | +| testBad.cs:68:49:68:73 | call to method ToString : String | semmle.label | call to method ToString : String | +| testBad.cs:71:17:71:26 | access to local variable stringJoin : String | semmle.label | access to local variable stringJoin : String | +| testBad.cs:71:30:71:75 | call to method Join : String | semmle.label | call to method Join : String | +| testBad.cs:71:46:71:74 | array creation of type String[] : null [element] : String | semmle.label | array creation of type String[] : null [element] : String | +| testBad.cs:71:58:71:74 | { ..., ... } : null [element] : String | semmle.label | { ..., ... } : null [element] : String | +| testBad.cs:71:71:71:73 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:72:41:72:59 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:72:49:72:58 | access to local variable stringJoin : String | semmle.label | access to local variable stringJoin : String | +| testBad.cs:75:17:75:19 | access to local variable uri : Uri | semmle.label | access to local variable uri : Uri | +| testBad.cs:75:23:75:48 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| testBad.cs:75:31:75:47 | $"..." : String | semmle.label | $"..." : String | +| testBad.cs:76:41:76:43 | access to local variable uri | semmle.label | access to local variable uri | +| testBad.cs:80:27:80:43 | $"..." : String | semmle.label | $"..." : String | +| testBad.cs:80:68:80:73 | access to local variable outUri : Uri | semmle.label | access to local variable outUri : Uri | +| testBad.cs:81:17:81:23 | access to local variable request : HttpRequestMessage | semmle.label | access to local variable request : HttpRequestMessage | +| testBad.cs:81:27:81:84 | object creation of type HttpRequestMessage : HttpRequestMessage | semmle.label | object creation of type HttpRequestMessage : HttpRequestMessage | +| testBad.cs:81:66:81:71 | access to local variable outUri : Uri | semmle.label | access to local variable outUri : Uri | +| testBad.cs:81:66:81:83 | access to property AbsoluteUri : String | semmle.label | access to property AbsoluteUri : String | +| testBad.cs:82:42:82:48 | access to local variable request | semmle.label | access to local variable request | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Fragment] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Fragment] : String | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Host] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Host] : String | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Path] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Path] : String | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Port] : Int32 | semmle.label | object creation of type UriBuilder : UriBuilder [property Port] : Int32 | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Query] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Query] : String | +| testBad.cs:85:41:85:73 | object creation of type UriBuilder : UriBuilder [property Scheme] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Scheme] : String | +| testBad.cs:85:41:85:77 | access to property Uri | semmle.label | access to property Uri | +| testBad.cs:85:56:85:72 | $"..." : String | semmle.label | $"..." : String | +| testBad.cs:88:17:88:20 | access to local variable uri2 : Uri | semmle.label | access to local variable uri2 : Uri | +| testBad.cs:88:24:88:49 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| testBad.cs:88:32:88:48 | $"..." : String | semmle.label | $"..." : String | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Fragment] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Fragment] : String | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Host] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Host] : String | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Path] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Path] : String | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Port] : Int32 | semmle.label | object creation of type UriBuilder : UriBuilder [property Port] : Int32 | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Query] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Query] : String | +| testBad.cs:89:41:89:60 | object creation of type UriBuilder : UriBuilder [property Scheme] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Scheme] : String | +| testBad.cs:89:41:89:64 | access to property Uri | semmle.label | access to property Uri | +| testBad.cs:89:56:89:59 | access to local variable uri2 : Uri | semmle.label | access to local variable uri2 : Uri | +| testBad.cs:92:41:92:68 | object creation of type UriBuilder : UriBuilder [property Host] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Host] : String | +| testBad.cs:92:41:92:72 | access to property Uri | semmle.label | access to property Uri | +| testBad.cs:92:65:92:67 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:95:41:95:73 | object creation of type UriBuilder : UriBuilder [property Host] : String | semmle.label | object creation of type UriBuilder : UriBuilder [property Host] : String | +| testBad.cs:95:41:95:77 | access to property Uri | semmle.label | access to property Uri | +| testBad.cs:95:65:95:67 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:98:17:98:26 | access to local variable uriBuilder : UriBuilder [property Host] : String | semmle.label | access to local variable uriBuilder : UriBuilder [property Host] : String | +| testBad.cs:99:13:103:13 | { ..., ... } : UriBuilder [property Host] : String | semmle.label | { ..., ... } : UriBuilder [property Host] : String | +| testBad.cs:101:24:101:26 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:104:41:104:50 | access to local variable uriBuilder : UriBuilder [property Host] : String | semmle.label | access to local variable uriBuilder : UriBuilder [property Host] : String | +| testBad.cs:104:41:104:54 | access to property Uri | semmle.label | access to property Uri | +| testBad.cs:108:13:108:23 | [post] access to local variable uriBuilder2 : UriBuilder [property Host] : String | semmle.label | [post] access to local variable uriBuilder2 : UriBuilder [property Host] : String | +| testBad.cs:108:32:108:34 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:109:41:109:51 | access to local variable uriBuilder2 : UriBuilder [property Host] : String | semmle.label | access to local variable uriBuilder2 : UriBuilder [property Host] : String | +| testBad.cs:109:41:109:55 | access to property Uri | semmle.label | access to property Uri | +| testBad.cs:113:17:113:27 | access to local variable relativeUri : Uri | semmle.label | access to local variable relativeUri : Uri | +| testBad.cs:113:31:113:42 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| testBad.cs:113:39:113:41 | access to parameter env : String | semmle.label | access to parameter env : String | +| testBad.cs:114:17:114:27 | access to local variable combinedUri : Uri | semmle.label | access to local variable combinedUri : Uri | +| testBad.cs:114:31:114:63 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| testBad.cs:114:52:114:62 | access to local variable relativeUri : Uri | semmle.label | access to local variable relativeUri : Uri | +| testBad.cs:115:41:115:51 | access to local variable combinedUri | semmle.label | access to local variable combinedUri | +| testBad.cs:117:41:117:73 | object creation of type Uri | semmle.label | object creation of type Uri | +| testBad.cs:117:62:117:72 | access to local variable combinedUri : Uri | semmle.label | access to local variable combinedUri : Uri | +| testBad.cs:123:17:123:20 | access to local variable uri3 : String | semmle.label | access to local variable uri3 : String | +| testBad.cs:124:17:124:24 | access to local variable request2 : HttpRequestMessage | semmle.label | access to local variable request2 : HttpRequestMessage | +| testBad.cs:124:28:124:71 | object creation of type HttpRequestMessage : HttpRequestMessage | semmle.label | object creation of type HttpRequestMessage : HttpRequestMessage | +| testBad.cs:124:67:124:70 | access to local variable uri3 : String | semmle.label | access to local variable uri3 : String | +| testBad.cs:130:28:130:35 | access to local variable request2 : HttpRequestMessage | semmle.label | access to local variable request2 : HttpRequestMessage | +| testBad.cs:144:50:144:56 | request : HttpRequestMessage | semmle.label | request : HttpRequestMessage | +| testBad.cs:144:50:144:56 | request : HttpRequestMessage | semmle.label | request : HttpRequestMessage | +| testBad.cs:146:42:146:48 | access to parameter request | semmle.label | access to parameter request | +subpaths +#select +| testAsync.cs:40:48:40:57 | object creation of type Uri | testAsync.cs:17:68:17:70 | env : String | testAsync.cs:40:48:40:57 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testAsync.cs:17:68:17:70 | env | a user-provided value | System.Net.WebRequest | System.Net.WebRequest | +| testBad.cs:24:48:24:73 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:24:48:24:73 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.WebRequest | System.Net.WebRequest | +| testBad.cs:26:56:26:81 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:26:56:26:81 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.WebRequest | System.Net.WebRequest | +| testBad.cs:28:41:28:66 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:28:41:28:66 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:30:41:30:76 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:30:41:30:76 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:33:41:33:66 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:33:41:33:66 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:35:41:35:76 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:35:41:35:76 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:41:41:41:74 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:41:41:41:74 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:45:41:45:74 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:45:41:45:74 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:51:41:51:74 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:51:41:51:74 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:54:41:54:79 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:54:41:54:79 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:57:41:57:83 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:57:41:57:83 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:63:41:63:41 | access to local variable s | testBad.cs:17:54:17:56 | env : String | testBad.cs:63:41:63:41 | access to local variable s | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:68:41:68:74 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:68:41:68:74 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:72:41:72:59 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:72:41:72:59 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:76:41:76:43 | access to local variable uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:76:41:76:43 | access to local variable uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:82:42:82:48 | access to local variable request | testBad.cs:17:54:17:56 | env : String | testBad.cs:82:42:82:48 | access to local variable request | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:85:41:85:77 | access to property Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:85:41:85:77 | access to property Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:89:41:89:64 | access to property Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:89:41:89:64 | access to property Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:92:41:92:72 | access to property Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:92:41:92:72 | access to property Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:95:41:95:77 | access to property Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:95:41:95:77 | access to property Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:104:41:104:54 | access to property Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:104:41:104:54 | access to property Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:109:41:109:55 | access to property Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:109:41:109:55 | access to property Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:115:41:115:51 | access to local variable combinedUri | testBad.cs:17:54:17:56 | env : String | testBad.cs:115:41:115:51 | access to local variable combinedUri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:117:41:117:73 | object creation of type Uri | testBad.cs:17:54:17:56 | env : String | testBad.cs:117:41:117:73 | object creation of type Uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:146:42:146:48 | access to parameter request | testBad.cs:17:54:17:56 | env : String | testBad.cs:146:42:146:48 | access to parameter request | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:17:54:17:56 | env | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | +| testBad.cs:146:42:146:48 | access to parameter request | testBad.cs:144:50:144:56 | request : HttpRequestMessage | testBad.cs:146:42:146:48 | access to parameter request | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | testBad.cs:144:50:144:56 | request | a user-provided value | System.Net.Http.HttpClient | System.Net.Http.HttpClient | diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgery2/RequestForgery2.qlref b/csharp/ql/test/experimental/CWE-918/RequestForgery2/RequestForgery2.qlref new file mode 100644 index 000000000000..11091ab94763 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgery2/RequestForgery2.qlref @@ -0,0 +1 @@ +experimental/CWE-918/RequestForgery2.ql \ No newline at end of file diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgery2/options b/csharp/ql/test/experimental/CWE-918/RequestForgery2/options new file mode 100644 index 000000000000..3c26654ac564 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgery2/options @@ -0,0 +1,5 @@ +semmle-extractor-options: /nostdlib /noconfig +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/System.Runtime.InteropServices\4.3.0\System.Runtime.InteropServices.csproj +semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs \ No newline at end of file diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgery2/stubs.cs b/csharp/ql/test/experimental/CWE-918/RequestForgery2/stubs.cs new file mode 100644 index 000000000000..7477223fefff --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgery2/stubs.cs @@ -0,0 +1,10 @@ +using Microsoft.VisualStudio.Services.WebApi; +using System; + +namespace Microsoft.VisualStudio.Services.WebApi +{ + public class VssConnection + { + public VssConnection(Uri baseUrl) { } + } +} diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgery2/testAsync.cs b/csharp/ql/test/experimental/CWE-918/RequestForgery2/testAsync.cs new file mode 100644 index 000000000000..864cbfe474f6 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgery2/testAsync.cs @@ -0,0 +1,62 @@ +using Microsoft.AspNetCore.Mvc; +using System; +using System.Net; +using System.Net.Http; +using System.Threading.Tasks; + +namespace TestAsync +{ + public class MyClass + { + public string Id { get; set; } + public MyClass() { } + } + + public class AsyncController : Controller + { + public async Task Index(string region = "", string env = "") + { + var uri = await this.UriHostString(env, null).ConfigureAwait(false); + return await this.Sink(uri).ConfigureAwait(false); + } + + private async Task UriHostString(string s, T t) { + var uriString = $"https://{s}/"; + return uriString; + } + + private async Task UriPathString(string s, T t) { + var uriString = $"https://something/{s}/"; + return uriString; + } + + private async Task UriQueryString(MyClass env, T t) { + var uriString = "https://something/api/" + "env?id=" + env.Id; + return uriString; + } + + private async Task Sink(string s) { + // BAD: a request parameter is incorporated without validation into a Http request + var webrequest = WebRequest.Create(new Uri(s)); + + return s; + } + + /////////////////////////// + // out of scope for SSRF query, may be a path injection bug, but we will need to handle separately to avoid FPs + + public async Task PathSanitized(string env = "") + { + var uri = await this.UriPathString(env, null).ConfigureAwait(false); + return await this.Sink(uri).ConfigureAwait(false); + } + + public async Task QuerySanitized(string env = "") + { + MyClass myClass = new MyClass(); + myClass.Id = env; + var uri = await this.UriQueryString(myClass, null).ConfigureAwait(false); + return await this.Sink(uri).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgery2/testBad.cs b/csharp/ql/test/experimental/CWE-918/RequestForgery2/testBad.cs new file mode 100644 index 000000000000..1417c021ec3a --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgery2/testBad.cs @@ -0,0 +1,149 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.VisualStudio.Services.WebApi; +using System; +using System.Globalization; +using System.Net; +using System.Net.Http; +using System.Text; +using System.Threading.Tasks; + +namespace Test +{ + public class BadController : Controller + { + private const string _urlTemplate = "https://{0}"; + private const string _formatString = _urlTemplate + "/{1}-v2"; + + public void Index(string region = "", string env = "") + { + Console.Write($"something/{region}/{env}"); + + // BAD: a request parameter is incorporated without validation into a Http request + + // Concatentation via InterpolatedString + var webrequest = WebRequest.Create(new Uri($"https://{env}/")); + + var httpWebrequest = HttpWebRequest.Create(new Uri($"https://{env}/")); + + (new HttpClient()).GetAsync(new Uri($"https://{env}/")); + + (new HttpClient()).GetAsync(new Uri($"https://something-{env}/")); + + // Concatentation via AddExpr + (new HttpClient()).GetAsync(new Uri(@"https://" + env)); + + (new HttpClient()).GetAsync(new Uri(@"https://something-" + env)); + + // Concatentation via String Builder + StringBuilder stringBuilder1 = new StringBuilder("https://"); + stringBuilder1.Append(env); + stringBuilder1.Append("/home/sites"); + (new HttpClient()).GetAsync(new Uri(stringBuilder1.ToString())); + + StringBuilder stringBuilder2 = new StringBuilder(); + stringBuilder2.Append("https://").Append(env).Append("/home/sites"); + (new HttpClient()).GetAsync(new Uri(stringBuilder2.ToString())); + + StringBuilder stringBuilder3 = new StringBuilder(); + stringBuilder3.Append("https://"); + stringBuilder3.Append(env); + stringBuilder3.Append("/home/sites"); + (new HttpClient()).GetAsync(new Uri(stringBuilder3.ToString())); + + // Concatentation via String.Concat + (new HttpClient()).GetAsync(new Uri(string.Concat("https://", env))); + + // Concatentation via String.Format + (new HttpClient()).GetAsync(new Uri(string.Format("https://{0}/", env))); + + // Complex concatentation via String.Format + string fixFormatFpEnv = env; + string fixFormatFpRegion = region; + string s = string.Format(CultureInfo.InvariantCulture, _formatString, fixFormatFpEnv, fixFormatFpRegion); + (new HttpClient()).GetAsync(s); + + // Concatentation via StringBuilder.AppendFormat + StringBuilder stringBuilder4 = new StringBuilder(); + stringBuilder4.AppendFormat("https://{0}/", env); + (new HttpClient()).GetAsync(new Uri(stringBuilder4.ToString())); + + // Concatentation via String.Join + var stringJoin = string.Join("", new String[]{"https://", env}); + (new HttpClient()).GetAsync(new Uri(stringJoin)); + + // Uri variable + var uri = new Uri($"https://{env}/"); + (new HttpClient()).GetAsync(uri); + + // Uri TryCreate + Uri outUri; + Uri.TryCreate($"https://{env}/", UriKind.Absolute, out outUri); + var request = new HttpRequestMessage(HttpMethod.Get, outUri.AbsoluteUri); + (new HttpClient()).SendAsync(request); + + // UriBuilder via string + (new HttpClient()).GetAsync(new UriBuilder($"https://{env}/").Uri); + + // UriBuilder via Uri variable + var uri2 = new Uri($"https://{env}/"); + (new HttpClient()).GetAsync(new UriBuilder(uri2).Uri); + + // UriBuilder via parameters + (new HttpClient()).GetAsync(new UriBuilder("https", env).Uri); + + // UriBuilder via parameters, including port + (new HttpClient()).GetAsync(new UriBuilder("https", env, 443).Uri); + + // UriBuilder via MemberInitializer + var uriBuilder = new UriBuilder + { + Scheme = "https", + Host = env, + Port = 443, + }; + (new HttpClient()).GetAsync(uriBuilder.Uri); + + // UriBuilder constructor overwritten + var uriBuilder2 = new UriBuilder(region); + uriBuilder2.Host = env; // Host should be flagged + (new HttpClient()).GetAsync(uriBuilder2.Uri); + + // RelativeUri parameter behaves in unexpected ways + var absoluteUri = new Uri($"https://something.com/"); + var relativeUri = new Uri(env); + var combinedUri = new Uri(absoluteUri, relativeUri); // Second arg is relative + (new HttpClient()).GetAsync(combinedUri); + + (new HttpClient()).GetAsync(new Uri(absoluteUri, combinedUri)); // Second arg is absolute + + // Visual Studio Sink + var client = new VssConnection(new Uri($"https://{env}/")); // TODO finish MaD for VssConnection + + // Custom HttpClient + var uri3 = $"https://{env}/"; + var request2 = new HttpRequestMessage(HttpMethod.Get, uri3); + var target = new IPAddress(new byte[] { 127, 0, 0, 1 }); + // HttpRequestMessage is flagged + this.Send("message", 443, request2, target); // TODO add back sink for custom extension + + // HttpClient wrapper + this.SendAsync(request2); + + // HttpRequestMessage property assignment + var request3 = new HttpRequestMessage(); + request3.RequestUri = new Uri($"https://{env}/"); + (new HttpClient()).SendAsync(request3); // TODO add to query instead of local MaD + } + + public void Send(string message, int servicePort, + HttpRequestMessage request, IPAddress target) + { + var s = message + servicePort + request.RequestUri.PathAndQuery + target.AddressFamily.ToString(); + } + + public void SendAsync(HttpRequestMessage request) + { + (new HttpClient()).SendAsync(request); + } + } +} diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgery2/testGood.cs b/csharp/ql/test/experimental/CWE-918/RequestForgery2/testGood.cs new file mode 100644 index 000000000000..ad189cbe586e --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgery2/testGood.cs @@ -0,0 +1,375 @@ +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; +using System; +using System.Globalization; +using System.IO; +using System.Net; +using System.Net.Http; +using System.Net.Sockets; +using System.Text; +using System.Threading; +using System.Threading.Tasks; +using System.Web; + +namespace Test +{ + public class GoodController : Controller + { + private ILogger logger; + private const string _urlTemplate = "api/{0}"; + private const string _formatString = _urlTemplate + "/v2"; + + /////////////////////////// + // out of scope for SSRF query, may be a path injection bug, but we will need to handle separately to avoid FPs + + // Concatentation via InterpolatedString + public void IpsPathEndsInSlash(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri($"https://something/{env}/")); + } + + public void IpsPathDoesNotEndInSlash(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri($"https://something/something-{env}")); + } + + public void IpsPathInAnyChild(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri($"https://something/{region}-{env}")); + } + + public void IpsQuery(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri($"https://something?q={env}")); + } + + public void IpsQuery2(string region = "", string env = "") + { + const string host = "https://something?q=a"; + (new HttpClient()).GetAsync(new Uri($"{host}&{env}=b")); + } + + public void IpsEquals(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri($"something={env}")); + } + + public void IpsFragment(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri($"https://something#{env}")); + } + + public void IpsParenthesis(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri($"https://something.com/a({env})")); + } + + public void IpsNonLocalVariable(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri($"{AppConstants.BaseUrl}{env}")); + } + + // Concatentation via AddExpr + public void AddPathEndsInSlash(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri(@"https://something/" + env)); + } + + public void AddPathDoesNotEndInSlash(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri(@"https://something/something-" + env)); + } + + public void AddPathInAnyChild(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri(@"https://something/" + region + "-" + env)); + } + + public void AddQuery(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri(@"something?q=" + env)); + } + + // Concatentation via InterpolatedString and AddExpr + public void IpsAndAdd1(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri(@"https://something/" + $"{region}-{env}")); + } + + public void IpsAndAdd2(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri(@"https://something" + $"/{region}/" + env) ); + } + + public void IpsAndAdd3(string region = "", string env = "") + { + const string host = "something"; + (new HttpClient()).GetAsync(new Uri($"https://{host}/" + env)); + } + + public void IpsAndAdd4(string region = "", string env = "") + { + const string host = "something"; + (new HttpClient()).GetAsync(new Uri($"https://" + $"{host}/" + $"{region}/{env}")); + } + + // Local constant is not a remote source + public void LocalConstant(string region = "", string env = "") + { + const string host = "https://something/"; + (new HttpClient()).GetAsync(new Uri($"{host}{env}")); + } + + // Concatentation via String Builder + public void StringBuilderAppend1(string region = "", string env = "") + { + StringBuilder stringBuilder = new StringBuilder(); + stringBuilder.Append("https://something/"); + stringBuilder.Append(env); + (new HttpClient()).GetAsync(new Uri(stringBuilder.ToString())); + } + + public void StringBuilderAppend2(string region = "", string env = "") + { + StringBuilder stringBuilder = new StringBuilder("https://something/"); + stringBuilder.Append(env); + (new HttpClient()).GetAsync(new Uri(stringBuilder.ToString())); + } + + public void StringBuilderAppend3(string region = "", string env = "") + { + StringBuilder stringBuilder = new StringBuilder(); + stringBuilder.Append("https://something/").Append(env).Append(region); + (new HttpClient()).GetAsync(new Uri(stringBuilder.ToString())); + } + + // Concatentation via String.Concat + public void StringConcatenate(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new Uri(string.Concat("https://something/", region, "&q=", env))); + } + + public void FalseNegativeFix(string region = "", string env = "") + { + var unused = $"https://something/{region}/"; // region should not be listed as sanitized + Uri uri = NonLocal.GetUri(env); + + (new HttpClient()).GetAsync(uri); + } + + public void ExtendedClass(string region = "", string env = "") + { + Uri uri = new Uri("https://something/"); + MyUri myUri = new MyUri(uri); + + (new HttpClient()).GetAsync((Uri)myUri); + } + + // Concatentation via String.Format + public void StringFormat(string region = "", string env = "") + { + const string host = "something"; + (new HttpClient()).GetAsync(new Uri(string.Format(CultureInfo.InvariantCulture, "https://{0}/{1}/{2}", host, region, env))); + } + + public void StringFormat2(string region = "", string env = "") + { + const string host = "something"; + const string one = "something"; + const string two = "something"; + (new HttpClient()).GetAsync(new Uri(string.Format("https://{0}.vault.azure.com{1}{2}_node/{3}", host, one, two, env))); + } + + // Complex concatentation via String.Format + public void StringFormat3(string region = "", string env = "") + { + string fixFormatFpEnv = env; + string fixFormatFpRegion = region; + string s = string.Format(_formatString, fixFormatFpEnv + fixFormatFpRegion); + (new HttpClient()).GetAsync(s); + } + + // String.Format arguments + public void StringFormat4(string region = "") + { + string s = string.Format("{0}{1}{2}", "something", "/", region); + (new HttpClient()).GetAsync(s); + } + + // string.Format + public void StringFormat5(Guid guid) + { + string s = string.Format(@"something/{0}", guid); + (new HttpClient()).GetAsync(s); + } + + // Concatentation via StringBuilder.AppendFormat + public void StringBuilderAppendFormat(string region = "", string env = "") + { + const string host = "something"; + StringBuilder stringBuilder = new StringBuilder(); + stringBuilder.AppendFormat("https://{0}/{1}", host, env); + + (new HttpClient()).GetAsync(new Uri(stringBuilder.ToString())); + } + + // Concatentation via String.Join + public void StringJoin1(string region = "", string env = "") + { + var stringJoin = string.Join("/", new String[]{ "https://something/", region, env }); + (new HttpClient()).GetAsync(new Uri(stringJoin)); + } + + public void StringJoin2(string region = "", string env = "") + { + char c = '/'; + var stringJoin = string.Join(c, new String[]{ "https://something/", region, env }); + (new HttpClient()).GetAsync(new Uri(stringJoin)); + } + + public void StringJoin3(string region = "", string env = "") + { + String[] stringArray = { "https://something/", region, "&q=", env }; + var stringJoin = string.Join("", stringArray); + (new HttpClient()).GetAsync(new Uri(stringJoin)); + } + + // Concatentation via UriBuilder + public void UriBuilder(string region = "", string env = "") + { + (new HttpClient()).GetAsync(new UriBuilder("https", "something", 443, region, env).Uri); + } + + public void UriBuilderPathAndQuery(string region = "", string env = "") + { + var uriBuilder = new UriBuilder + { + Scheme = "https", + Host = "something", + Port = 443, + Path = region, // Path not a relevant sink for the SSRF queries + Query = env, // Query not a relevant sink for the SSRF queries + }; + (new HttpClient()).GetAsync(uriBuilder.Uri); + } + + public void UriBuilderPath(string region = "", string env = "") + { + var uriBuilder = new UriBuilder("https", region, 443, "something", env); + + // Path not a relevant sink for the SSRF queries + (new HttpClient()).GetAsync(new Uri($"https://something/{uriBuilder.Path}")); + } + + public void UriBuilderOverwrite(string region = "") + { + var uriBuilder = new UriBuilder(region); + uriBuilder.Host = "something"; // Host from constructor overwritten + + (new HttpClient()).GetAsync(uriBuilder.Uri); + } + + public void UriPathAndQuery(string region = "", string env = "") + { + var uriBuilder = new UriBuilder("https", region, 443, "something", env); + + // PathAndQuery not a relevant sink for the SSRF queries + Uri uri = new Uri(uriBuilder.Uri.PathAndQuery, UriKind.Relative); + + (new HttpClient()).GetAsync(uri); + } + + public void RequestMessageContent(IRequest request) + { + string uri = "https://something.com/"; + + var message = new HttpRequestMessage(HttpMethod.Get, uri); + // RequestMessage content not a relavent sink for the SSRF queries + message.Content = new StreamContent(request.InputStream); + + (new HttpClient()).SendAsync(message); + } + + public void RequestMessageMethod(HttpMethod method) + { + string uri = "https://something.com/"; + + // Arguments other than Uri are not flagged + var message = new HttpRequestMessage(method, uri); + (new HttpClient()).SendAsync(message); + } + + public void RequestMessageOverwriteLocal(string region) + { + var request = new HttpRequestMessage(HttpMethod.Get, region); + request.RequestUri = new Uri("https://something.com/"); // Uri from constructor overritten + (new HttpClient()).SendAsync(request); + } + + public void CustomHttpClientOtherArgument(IPAddress target) + { + string uri = "https://something.com/"; + var request = new HttpRequestMessage(HttpMethod.Get, uri); + // Arguments other than HttpRequestMessage are not flagged + this.SendAsync("message", 443, request, target); + } + + public void SendAsync(string message, int servicePort, + HttpRequestMessage request, IPAddress target) + { + var s = message + servicePort + request.RequestUri.PathAndQuery + target.AddressFamily.ToString(); + } + + // untrusted input used to open file + public void FileRead(string env) + { + // url is read from file, is not from remote source + // this should be flagged for file path traversal, but is not SSRF + string url = System.IO.File.ReadAllText($"{env}.txt"); + (new HttpClient()).GetAsync(new Uri(url)); + } + } + + public class NonLocal + { + public static Uri GetUri(string env = "") + { + var uriString = $"https://something/{env}/"; + return new Uri(uriString); + } + } + + public class MyUri : Uri + { + public MyUri(Uri uri) + : base(uri.AbsolutePath) { } + } + + public interface IRequest : IDisposable + { + Stream InputStream { get; } + } + + public class RequestWrapper : IRequest + { + private readonly Microsoft.AspNetCore.Http.HttpRequest request; + + internal RequestWrapper(Microsoft.AspNetCore.Http.HttpRequest request) + { + this.request = request; + } + + public Stream InputStream => this.request.Body; + + public void Dispose() + { + // No disposal needed. + } + } + + public static class AppConstants + { + public const string BaseUrl = "https://something/"; + } +} diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/RequestForgeryAzure.expected b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/RequestForgeryAzure.expected new file mode 100644 index 000000000000..9258d286081b --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/RequestForgeryAzure.expected @@ -0,0 +1,255 @@ +edges +| test-keyVault.cs:15:54:15:56 | env : String | test-keyVault.cs:18:48:18:64 | $"..." : String | provenance | | +| test-keyVault.cs:15:54:15:56 | env : String | test-keyVault.cs:20:52:20:68 | $"..." : String | provenance | | +| test-keyVault.cs:18:48:18:64 | $"..." : String | test-keyVault.cs:18:40:18:65 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:85 | +| test-keyVault.cs:20:52:20:68 | $"..." : String | test-keyVault.cs:20:44:20:69 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:93 | +| test-storage.cs:18:34:18:39 | region : String | test-storage.cs:25:63:25:68 | access to parameter region | provenance | Sink:MaD:265 | +| test-storage.cs:18:34:18:39 | region : String | test-storage.cs:27:72:27:91 | $"..." : String | provenance | | +| test-storage.cs:18:34:18:39 | region : String | test-storage.cs:45:63:45:68 | access to parameter region | provenance | Sink:MaD:341 | +| test-storage.cs:18:34:18:39 | region : String | test-storage.cs:47:75:47:94 | $"..." : String | provenance | | +| test-storage.cs:18:54:18:56 | env : String | test-storage.cs:21:58:21:74 | $"..." : String | provenance | | +| test-storage.cs:18:54:18:56 | env : String | test-storage.cs:23:57:23:73 | $"..." : String | provenance | | +| test-storage.cs:18:54:18:56 | env : String | test-storage.cs:25:71:25:73 | access to parameter env | provenance | Sink:MaD:266 | +| test-storage.cs:18:54:18:56 | env : String | test-storage.cs:31:60:31:76 | $"..." : String | provenance | | +| test-storage.cs:18:54:18:56 | env : String | test-storage.cs:45:44:45:60 | $"..." | provenance | Sink:MaD:340 | +| test-storage.cs:21:58:21:74 | $"..." : String | test-storage.cs:21:50:21:75 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:280 | +| test-storage.cs:23:57:23:73 | $"..." : String | test-storage.cs:23:49:23:74 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:284 | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | test-storage.cs:28:69:28:82 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | test-storage.cs:28:103:28:116 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | provenance | | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property AccountName] : String | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property BlobName] : String | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Host] : String | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Port] : Int32 | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Query] : String | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Scheme] : String | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Snapshot] : String | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | provenance | | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property VersionId] : String | test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | provenance | | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property AccountName] : String | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property BlobName] : String | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Host] : String | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Port] : Int32 | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Query] : String | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Scheme] : String | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Snapshot] : String | provenance | MaD:336 | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property VersionId] : String | provenance | MaD:336 | +| test-storage.cs:27:72:27:91 | $"..." : String | test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | provenance | MaD:3700 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | test-storage.cs:28:42:28:66 | call to method ToString | provenance | MaD:338 Sink:MaD:264 | +| test-storage.cs:28:69:28:82 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | test-storage.cs:28:69:28:100 | access to property BlobContainerName | provenance | Sink:MaD:265 | +| test-storage.cs:28:103:28:116 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | test-storage.cs:28:103:28:125 | access to property BlobName | provenance | Sink:MaD:266 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | test-storage.cs:29:49:29:70 | call to method ToUri | provenance | MaD:339 Sink:MaD:284 | +| test-storage.cs:31:60:31:76 | $"..." : String | test-storage.cs:31:52:31:77 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:105 | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | test-storage.cs:49:72:49:86 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | provenance | | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | provenance | | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property AccountName] : String | test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | provenance | | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Host] : String | test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | provenance | | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property MessageId] : String | test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | provenance | | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Port] : Int32 | test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | provenance | | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Query] : String | test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | provenance | | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property QueueName] : String | test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | provenance | | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | provenance | | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Scheme] : String | test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | provenance | | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property AccountName] : String | provenance | MaD:374 | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Host] : String | provenance | MaD:374 | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property MessageId] : String | provenance | MaD:374 | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Port] : Int32 | provenance | MaD:374 | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Query] : String | provenance | MaD:374 | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property QueueName] : String | provenance | MaD:374 | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | provenance | MaD:374 | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Scheme] : String | provenance | MaD:374 | +| test-storage.cs:47:75:47:94 | $"..." : String | test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | provenance | MaD:3700 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | test-storage.cs:48:44:48:66 | call to method ToUri | provenance | MaD:376 Sink:MaD:342 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | test-storage.cs:48:44:48:66 | call to method ToUri | provenance | MaD:376 Sink:MaD:342 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | test-storage.cs:48:44:48:66 | call to method ToUri | provenance | MaD:376 Sink:MaD:342 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | test-storage.cs:48:44:48:66 | call to method ToUri | provenance | MaD:376 Sink:MaD:342 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | test-storage.cs:48:44:48:66 | call to method ToUri | provenance | MaD:376 Sink:MaD:342 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | test-storage.cs:48:44:48:66 | call to method ToUri | provenance | MaD:376 Sink:MaD:342 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | test-storage.cs:48:44:48:66 | call to method ToUri | provenance | MaD:376 Sink:MaD:342 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | test-storage.cs:48:44:48:66 | call to method ToUri | provenance | MaD:376 Sink:MaD:342 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | test-storage.cs:49:44:49:69 | call to method ToString | provenance | MaD:375 Sink:MaD:340 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | test-storage.cs:49:44:49:69 | call to method ToString | provenance | MaD:375 Sink:MaD:340 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | test-storage.cs:49:44:49:69 | call to method ToString | provenance | MaD:375 Sink:MaD:340 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | test-storage.cs:49:44:49:69 | call to method ToString | provenance | MaD:375 Sink:MaD:340 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | test-storage.cs:49:44:49:69 | call to method ToString | provenance | MaD:375 Sink:MaD:340 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | test-storage.cs:49:44:49:69 | call to method ToString | provenance | MaD:375 Sink:MaD:340 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | test-storage.cs:49:44:49:69 | call to method ToString | provenance | MaD:375 Sink:MaD:340 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | test-storage.cs:49:44:49:69 | call to method ToString | provenance | MaD:375 Sink:MaD:340 | +| test-storage.cs:49:72:49:86 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | test-storage.cs:49:72:49:96 | access to property QueueName | provenance | Sink:MaD:341 | +nodes +| test-keyVault.cs:15:54:15:56 | env : String | semmle.label | env : String | +| test-keyVault.cs:18:40:18:65 | object creation of type Uri | semmle.label | object creation of type Uri | +| test-keyVault.cs:18:48:18:64 | $"..." : String | semmle.label | $"..." : String | +| test-keyVault.cs:20:44:20:69 | object creation of type Uri | semmle.label | object creation of type Uri | +| test-keyVault.cs:20:52:20:68 | $"..." : String | semmle.label | $"..." : String | +| test-storage.cs:18:34:18:39 | region : String | semmle.label | region : String | +| test-storage.cs:18:54:18:56 | env : String | semmle.label | env : String | +| test-storage.cs:21:50:21:75 | object creation of type Uri | semmle.label | object creation of type Uri | +| test-storage.cs:21:58:21:74 | $"..." : String | semmle.label | $"..." : String | +| test-storage.cs:23:49:23:74 | object creation of type Uri | semmle.label | object creation of type Uri | +| test-storage.cs:23:57:23:73 | $"..." : String | semmle.label | $"..." : String | +| test-storage.cs:25:63:25:68 | access to parameter region | semmle.label | access to parameter region | +| test-storage.cs:25:71:25:73 | access to parameter env | semmle.label | access to parameter env | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | +| test-storage.cs:27:28:27:41 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property AccountName] : String | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property AccountName] : String | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property BlobName] : String | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property BlobName] : String | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Host] : String | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property Host] : String | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Port] : Int32 | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property Port] : Int32 | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Query] : String | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property Query] : String | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Scheme] : String | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property Scheme] : String | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property Snapshot] : String | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property Snapshot] : String | +| test-storage.cs:27:45:27:93 | object creation of type BlobUriBuilder : BlobUriBuilder [property VersionId] : String | semmle.label | object creation of type BlobUriBuilder : BlobUriBuilder [property VersionId] : String | +| test-storage.cs:27:64:27:92 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| test-storage.cs:27:72:27:91 | $"..." : String | semmle.label | $"..." : String | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | +| test-storage.cs:28:42:28:55 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | +| test-storage.cs:28:42:28:66 | call to method ToString | semmle.label | call to method ToString | +| test-storage.cs:28:69:28:82 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | +| test-storage.cs:28:69:28:100 | access to property BlobContainerName | semmle.label | access to property BlobContainerName | +| test-storage.cs:28:103:28:116 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | +| test-storage.cs:28:103:28:125 | access to property BlobName | semmle.label | access to property BlobName | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property AccountName] : String | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property BlobContainerName] : String | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property BlobName] : String | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Host] : String | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Port] : Int32 | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Query] : String | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Sas] : BlobSasQueryParameters | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Scheme] : String | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property Snapshot] : String | +| test-storage.cs:29:49:29:62 | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | semmle.label | access to local variable blobUriBuilder : BlobUriBuilder [property VersionId] : String | +| test-storage.cs:29:49:29:70 | call to method ToUri | semmle.label | call to method ToUri | +| test-storage.cs:31:52:31:77 | object creation of type Uri | semmle.label | object creation of type Uri | +| test-storage.cs:31:60:31:76 | $"..." : String | semmle.label | $"..." : String | +| test-storage.cs:45:44:45:60 | $"..." | semmle.label | $"..." | +| test-storage.cs:45:63:45:68 | access to parameter region | semmle.label | access to parameter region | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | +| test-storage.cs:47:29:47:43 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property AccountName] : String | semmle.label | object creation of type QueueUriBuilder : QueueUriBuilder [property AccountName] : String | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Host] : String | semmle.label | object creation of type QueueUriBuilder : QueueUriBuilder [property Host] : String | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property MessageId] : String | semmle.label | object creation of type QueueUriBuilder : QueueUriBuilder [property MessageId] : String | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Port] : Int32 | semmle.label | object creation of type QueueUriBuilder : QueueUriBuilder [property Port] : Int32 | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Query] : String | semmle.label | object creation of type QueueUriBuilder : QueueUriBuilder [property Query] : String | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property QueueName] : String | semmle.label | object creation of type QueueUriBuilder : QueueUriBuilder [property QueueName] : String | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | semmle.label | object creation of type QueueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | +| test-storage.cs:47:47:47:96 | object creation of type QueueUriBuilder : QueueUriBuilder [property Scheme] : String | semmle.label | object creation of type QueueUriBuilder : QueueUriBuilder [property Scheme] : String | +| test-storage.cs:47:67:47:95 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| test-storage.cs:47:75:47:94 | $"..." : String | semmle.label | $"..." : String | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | +| test-storage.cs:48:44:48:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | +| test-storage.cs:48:44:48:66 | call to method ToUri | semmle.label | call to method ToUri | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property AccountName] : String | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Host] : String | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property MessageId] : String | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Port] : Int32 | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Query] : String | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Sas] : SasQueryParameters | +| test-storage.cs:49:44:49:58 | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property Scheme] : String | +| test-storage.cs:49:44:49:69 | call to method ToString | semmle.label | call to method ToString | +| test-storage.cs:49:72:49:86 | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | semmle.label | access to local variable queueUriBuilder : QueueUriBuilder [property QueueName] : String | +| test-storage.cs:49:72:49:96 | access to property QueueName | semmle.label | access to property QueueName | +subpaths +#select +| test-keyVault.cs:18:40:18:65 | object creation of type Uri | test-keyVault.cs:15:54:15:56 | env : String | test-keyVault.cs:18:40:18:65 | object creation of type Uri | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-keyVault.cs:15:54:15:56 | env | a user-provided value | Azure.Security.KeyVault.Keys.KeyClient | Azure.Security.KeyVault.Keys.KeyClient | +| test-keyVault.cs:20:44:20:69 | object creation of type Uri | test-keyVault.cs:15:54:15:56 | env : String | test-keyVault.cs:20:44:20:69 | object creation of type Uri | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-keyVault.cs:15:54:15:56 | env | a user-provided value | Azure.Security.KeyVault.Secrets.SecretClient | Azure.Security.KeyVault.Secrets.SecretClient | +| test-storage.cs:21:50:21:75 | object creation of type Uri | test-storage.cs:18:54:18:56 | env : String | test-storage.cs:21:50:21:75 | object creation of type Uri | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:54:18:56 | env | a user-provided value | Azure.Storage.Blobs.BlobContainerClient | Azure.Storage.Blobs.BlobContainerClient | +| test-storage.cs:23:49:23:74 | object creation of type Uri | test-storage.cs:18:54:18:56 | env : String | test-storage.cs:23:49:23:74 | object creation of type Uri | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:54:18:56 | env | a user-provided value | Azure.Storage.Blobs.BlobServiceClient | Azure.Storage.Blobs.BlobServiceClient | +| test-storage.cs:25:63:25:68 | access to parameter region | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:25:63:25:68 | access to parameter region | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Blobs.BlobClient | Azure.Storage.Blobs.BlobClient | +| test-storage.cs:25:71:25:73 | access to parameter env | test-storage.cs:18:54:18:56 | env : String | test-storage.cs:25:71:25:73 | access to parameter env | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:54:18:56 | env | a user-provided value | Azure.Storage.Blobs.BlobClient | Azure.Storage.Blobs.BlobClient | +| test-storage.cs:28:42:28:66 | call to method ToString | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:28:42:28:66 | call to method ToString | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Blobs.BlobClient | Azure.Storage.Blobs.BlobClient | +| test-storage.cs:28:69:28:100 | access to property BlobContainerName | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:28:69:28:100 | access to property BlobContainerName | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Blobs.BlobClient | Azure.Storage.Blobs.BlobClient | +| test-storage.cs:28:103:28:125 | access to property BlobName | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:28:103:28:125 | access to property BlobName | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Blobs.BlobClient | Azure.Storage.Blobs.BlobClient | +| test-storage.cs:29:49:29:70 | call to method ToUri | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:29:49:29:70 | call to method ToUri | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Blobs.BlobServiceClient | Azure.Storage.Blobs.BlobServiceClient | +| test-storage.cs:31:52:31:77 | object creation of type Uri | test-storage.cs:18:54:18:56 | env : String | test-storage.cs:31:52:31:77 | object creation of type Uri | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:54:18:56 | env | a user-provided value | Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClient | Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClient | +| test-storage.cs:45:44:45:60 | $"..." | test-storage.cs:18:54:18:56 | env : String | test-storage.cs:45:44:45:60 | $"..." | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:54:18:56 | env | a user-provided value | Azure.Storage.Queues.QueueClient | Azure.Storage.Queues.QueueClient | +| test-storage.cs:45:63:45:68 | access to parameter region | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:45:63:45:68 | access to parameter region | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Queues.QueueClient | Azure.Storage.Queues.QueueClient | +| test-storage.cs:48:44:48:66 | call to method ToUri | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:48:44:48:66 | call to method ToUri | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Queues.QueueClient | Azure.Storage.Queues.QueueClient | +| test-storage.cs:49:44:49:69 | call to method ToString | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:49:44:49:69 | call to method ToString | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Queues.QueueClient | Azure.Storage.Queues.QueueClient | +| test-storage.cs:49:72:49:96 | access to property QueueName | test-storage.cs:18:34:18:39 | region : String | test-storage.cs:49:72:49:96 | access to property QueueName | Potential server side request forgery using Azure Storage SDKs - data from an untrusted source $@ flows to an Azure Storage related constructor or method from class $@. | test-storage.cs:18:34:18:39 | region | a user-provided value | Azure.Storage.Queues.QueueClient | Azure.Storage.Queues.QueueClient | diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/RequestForgeryAzure.qlref b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/RequestForgeryAzure.qlref new file mode 100644 index 000000000000..c5dfaf1f22c8 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/RequestForgeryAzure.qlref @@ -0,0 +1 @@ +experimental/CWE-918/RequestForgeryAzure.ql \ No newline at end of file diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/options b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/options new file mode 100644 index 000000000000..d1355fbe6e31 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/options @@ -0,0 +1,21 @@ +semmle-extractor-options: /nostdlib /noconfig +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/System.Runtime.InteropServices/4.3.0/System.Runtime.InteropServices.csproj +semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Core/1.35.0/Azure.Core.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Identity/1.10.4/Azure.Identity.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Security.KeyVault.Secrets/4.5.0/Azure.Security.KeyVault.Secrets.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Storage.Blobs/12.19.1/Azure.Storage.Blobs.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Storage.Blobs.ChangeFeed/12.0.0-preview.54/Azure.Storage.Blobs.ChangeFeed.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Storage.Common/12.18.1/Azure.Storage.Common.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Storage.Files.DataLake/12.22.0/Azure.Storage.Files.DataLake.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Storage.Files.Shares/12.22.0/Azure.Storage.Files.Shares.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Azure.Storage.Queues/12.22.0/Azure.Storage.Queues.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Microsoft.Azure.Storage.Blobs/11.2.3/Microsoft.Azure.Storage.Blob.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/Microsoft.Azure.Storage.Common/11.2.3/Microsoft.Azure.Storage.Common.cs +semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Memory.Data/1.0.2/System.Memory.Data.cs + + + + diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/stubs.cs b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/stubs.cs new file mode 100644 index 000000000000..6a901d311a71 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/stubs.cs @@ -0,0 +1,59 @@ +using Azure.Core; +using Azure.Data.AppConfiguration; +using Azure.MyNamespace; +using Azure.Security.KeyVault.Keys; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Azure.Storage; +using Microsoft.Extensions.Logging; +using System; + +namespace Azure.Data.AppConfiguration +{ + public class ConfigurationClient + { + public ConfigurationClient (Uri endpoint, TokenCredential credential) { } + } +} + +namespace Azure.Security.KeyVault.Keys +{ + public class KeyClient + { + public KeyClient(Uri vaultUri, TokenCredential credential) { } + } +} + +namespace Azure.MyNamespace +{ + public class MyClient + { + public MyClient (Uri uri, TokenCredential credential) { } + public MyClient (Uri uri, string something, TokenCredential credential) { } + public MyClient (string connectionstring, MyClientOptions options) { } + public MyClient (string connectionstring, string something, MyClientOptions options) { } + + } + + public class MyClientOptions + { + public MyClientOptions () { } + } +} + +namespace Microsoft.Azure.TestSink +{ + public class DocumentClientWrapper + { + public DocumentClientWrapper() {} + public void CreateDocumentQuery(Uri documentCollectionUri, string sqlExpression){ } + public void CreateDocumentQuery(Uri documentCollectionUri, SqlQuerySpec sqlQuerySpec){ } + } + + public class SqlQuerySpec + { + private string _spec; + public SqlQuerySpec(string spec) { + _spec = spec; + } + } +} diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/test-keyVault.cs b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/test-keyVault.cs new file mode 100644 index 000000000000..cc41e297ec62 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/test-keyVault.cs @@ -0,0 +1,107 @@ +using Azure.Core; +using Azure.Identity; +using Azure.Security.KeyVault.Keys; +using Azure.Security.KeyVault.Secrets; +using Azure.Storage.Blobs; +using Microsoft.AspNetCore.Mvc; +using System; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace TestKeyVault +{ + public class HomeController : Controller + { + public void Index(string region = "", string env = "") + { + // BAD: a request parameter is incorporated without validation into a Http request + var client = new KeyClient(new Uri($"https://{env}/"), new AzureCliCredential()); + + var client2 = new SecretClient(new Uri($"https://{env}/"), new AzureCliCredential()); + KeyVaultSecret kvSecret = client2.GetSecret("someString"); + + // RequestUriBuilder via MemberInitializer + var requestUriBuilder = new RequestUriBuilder + { + Scheme = "https", + Host = env, + Port = 443, + }; + var client3 = new KeyClient(requestUriBuilder.ToUri(), new AzureCliCredential()); // TODO finish MaD for KeyClient + } + + ////// Test examples for SsrfBarrierAzure.qll ////// + + public void IsUriHostNode(string env = "") + { + Uri myUri = new Uri($"https://{env}/"); + String host = myUri.Host; // PropertyRead of "System.Uri.Host" + } + + public void UriVariableHasBeenCheckedForUriSchemeHttps(string env = "") + { + Uri myUri = new Uri($"https://{env}/"); + + if (myUri.Scheme == Uri.UriSchemeHttps) // Validate scheme is HTTPS TODO + { + Console.WriteLine("Uri scheme is https"); + } + } + + public void UriVariableHostHasBeenUsedInASelectionStmt(string env = "") + { + Uri myUri = new Uri($"https://{env}/"); + List hostList = new List { ".something.com"}; + + if (myUri.Host.EndsWith(hostList[0])) // Validate host ends with + { + Console.WriteLine("Uri host ends with .something.com"); + } + } + + public void IsLiteralStartingWithDotAndNotInterpolated(string region = "", string env = "") + { + String a = ".something.com"; // Literal starting with dot, matches Uri pattern + String b = "../something.com"; + String c = ". something.com"; + String d = "node" + ". "; + String e = $"{env}{region}" + ". something.com"; + Uri uri = new Uri("../something.com"); + } + + public void IsAkvDomainsNode(string env = "") + { + String a = ".something.com"; // Literal starting with dot + Console.WriteLine(a); + + String s = ""; + s = new String(".something.com"); // literal is child of ObjectCreation + + Uri myUri = new Uri($"https://{env}/"); + if (myUri.Host.EndsWith(s)) // source is a VariableAccess of that object + { + Console.WriteLine("Uri host ends with .something.com"); + } + } + + public void ExistsTrueFlowsToEnableTenantDiscoveryProperty() + { + BlobClientOptions blobClientOptions = new BlobClientOptions(); + blobClientOptions.EnableTenantDiscovery = true; // EnableTenantDiscovery set to true + } + + /////////////////////////// + // out of scope for SSRF query, may be a path injection bug, but we will need to handle separately to avoid FPs + + public void AzureKeyClientGood(string region = "", string env = "") + { + var client = new KeyClient(new Uri($"https://something/{env}/"), new AzureCliCredential()); + } + + public void AzureSecretClientGood(string region = "", string env = "") + { + var client = new SecretClient(new Uri($"https://something/{env}/"), new AzureCliCredential()); + KeyVaultSecret kvSecret = client.GetSecret("someString"); + } + } +} \ No newline at end of file diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/test-storage.cs b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/test-storage.cs new file mode 100644 index 000000000000..394239d8c86f --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryAzure/test-storage.cs @@ -0,0 +1,90 @@ +using Azure.Identity; +using Azure.Storage.Blobs; +using Azure.Storage.Blobs.ChangeFeed; +using Azure.Storage.Files.DataLake; +using Azure.Storage.Files.Shares; +using Azure.Storage.Queues; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Azure.Storage; +using Microsoft.Azure.Storage.Blob; +using Microsoft.Azure.Storage.Core; +using System; +using System.Threading.Tasks; + +namespace TestStorage +{ + public class HomeController : Controller + { + public void Index(string region = "", string env = "") + { + // BAD: a request parameter is incorporated without validation into a Http request + var client = new BlobContainerClient(new Uri($"https://{env}/")); + + var client2 = new BlobServiceClient(new Uri($"https://{env}/")); + + var client3 = new BlobClient("https://something", region, env); + + BlobUriBuilder blobUriBuilder = new BlobUriBuilder(new Uri($"https://{region}/")); + var client4 = new BlobClient(blobUriBuilder.ToString(), blobUriBuilder.BlobContainerName, blobUriBuilder.BlobName); + var client5 = new BlobServiceClient(blobUriBuilder.ToUri()); + + var client6 = new BlobChangeFeedClient(new Uri($"https://{env}/")); + + var client7 = new DataLakeDirectoryClient(new Uri($"https://{env}/")); // TODO MaD + + DataLakeUriBuilder dataLakeUriBuilder = new DataLakeUriBuilder(new Uri($"https://{region}/")); + var client8 = new DataLakeDirectoryClient(dataLakeUriBuilder.ToUri()); // TODO MaD + var client9 = new DataLakeDirectoryClient(dataLakeUriBuilder.ToString(), dataLakeUriBuilder.FileSystemName, dataLakeUriBuilder.DirectoryOrFilePath); // TODO MaD + + var client10 = new ShareClient($"https://{env}/", region); // TODO MaD + + ShareUriBuilder shareUriBuilder = new ShareUriBuilder(new Uri($"https://{region}/")); + var client11 = new ShareFileClient(shareUriBuilder.ToUri()); // TODO MaD + var client12 = new ShareFileClient(shareUriBuilder.ToString(), shareUriBuilder.ShareName, shareUriBuilder.DirectoryOrFilePath); // TODO MaD + + var client13 = new QueueClient($"https://{env}/", region); + + QueueUriBuilder queueUriBuilder = new QueueUriBuilder(new Uri($"https://{region}/")); + var client14 = new QueueClient(queueUriBuilder.ToUri()); + var client15 = new QueueClient(queueUriBuilder.ToString(), queueUriBuilder.QueueName); + + // deprecated client in Microsoft.Azure.Storage + var client16 = new CloudStorageAccount(new Microsoft.Azure.Storage.Auth.StorageCredentials(), region, env, true); // TODO MaD + + // deprecated client in Microsoft.Azure.Storage.Blobs + var client17 = new CloudBlobClient(new Uri($"https://{env}/")); // TODO MaD + + // deprecated client in Microsoft.Azure.Storage.Blobs + StorageUri storageUri = new StorageUri(new Uri($"https://{region}/"), new Uri($"https://{env}/")); + var client18 = new CloudBlobClient(storageUri, new Microsoft.Azure.Storage.Auth.StorageCredentials()); // TODO MaD + + UriQueryBuilder uriQueryBuilder = new UriQueryBuilder(); + uriQueryBuilder.Add("a", region); // Setting Uri query should not be flagged + var uri = new Uri($"https://{env}/"); + var uri2 = uriQueryBuilder.AddToUri(uri); + var client19 = new CloudAppendBlob(uri2); // TODO MaD + } + + /////////////////////////// + // out of scope for SSRF query, may be a path injection bug, but we will need to handle separately to avoid FPs + public void AzureBlobContainerGood(string region = "", string env = "") + { + var client = new BlobContainerClient(new Uri($"https://something/{env}/")); + } + + public void AzureBlobNameValidatorGood(string region = "", string env = "") + { + try + { + NameValidator.ValidateContainerName(region); + NameValidator.ValidateBlobName(env); + } + catch(FormatException e) + { + throw new Exception("The ContainerName or BlobName is invalid format."); + } + + var client = new BlobClient("https://something", region, env); + } + } +} \ No newline at end of file diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/RequestForgeryWithAuthorizationHeader.expected b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/RequestForgeryWithAuthorizationHeader.expected new file mode 100644 index 000000000000..7125cd4d2387 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/RequestForgeryWithAuthorizationHeader.expected @@ -0,0 +1,57 @@ +edges +| test.cs:16:34:16:42 | subdomain : String | test.cs:18:56:18:100 | $"..." : String | provenance | | +| test.cs:16:34:16:42 | subdomain : String | test.cs:20:64:20:108 | $"..." : String | provenance | | +| test.cs:16:34:16:42 | subdomain : String | test.cs:22:49:22:93 | $"..." : String | provenance | | +| test.cs:18:56:18:100 | $"..." : String | test.cs:18:48:18:101 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2462 | +| test.cs:20:64:20:108 | $"..." : String | test.cs:20:56:20:109 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2462 | +| test.cs:22:49:22:93 | $"..." : String | test.cs:22:41:22:94 | object creation of type Uri | provenance | MaD:3700 Sink:MaD:2408 | +| test.cs:38:59:38:67 | subdomain : String | test.cs:41:31:41:75 | $"..." : String | provenance | | +| test.cs:41:17:41:19 | access to local variable uri : Uri | test.cs:43:72:43:74 | access to local variable uri | provenance | Sink:MaD:2462 | +| test.cs:41:23:41:76 | object creation of type Uri : Uri | test.cs:41:17:41:19 | access to local variable uri : Uri | provenance | | +| test.cs:41:31:41:75 | $"..." : String | test.cs:41:23:41:76 | object creation of type Uri : Uri | provenance | MaD:3700 | +| test.cs:79:59:79:67 | subdomain : String | test.cs:82:31:82:75 | $"..." : String | provenance | | +| test.cs:82:17:82:19 | access to local variable uri : Uri | test.cs:84:72:84:74 | access to local variable uri | provenance | Sink:MaD:2462 | +| test.cs:82:23:82:76 | object creation of type Uri : Uri | test.cs:82:17:82:19 | access to local variable uri : Uri | provenance | | +| test.cs:82:31:82:75 | $"..." : String | test.cs:82:23:82:76 | object creation of type Uri : Uri | provenance | MaD:3700 | +| test.cs:161:59:161:67 | subdomain : String | test.cs:164:31:164:75 | $"..." : String | provenance | | +| test.cs:164:17:164:19 | access to local variable uri : Uri | test.cs:166:72:166:74 | access to local variable uri | provenance | Sink:MaD:2462 | +| test.cs:164:23:164:76 | object creation of type Uri : Uri | test.cs:164:17:164:19 | access to local variable uri : Uri | provenance | | +| test.cs:164:31:164:75 | $"..." : String | test.cs:164:23:164:76 | object creation of type Uri : Uri | provenance | MaD:3700 | +| test.cs:207:59:207:67 | subdomain : String | test.cs:214:31:214:75 | $"..." : String | provenance | | +| test.cs:214:17:214:19 | access to local variable uri : Uri | test.cs:216:72:216:74 | access to local variable uri | provenance | Sink:MaD:2462 | +| test.cs:214:23:214:76 | object creation of type Uri : Uri | test.cs:214:17:214:19 | access to local variable uri : Uri | provenance | | +| test.cs:214:31:214:75 | $"..." : String | test.cs:214:23:214:76 | object creation of type Uri : Uri | provenance | MaD:3700 | +nodes +| test.cs:16:34:16:42 | subdomain : String | semmle.label | subdomain : String | +| test.cs:18:48:18:101 | object creation of type Uri | semmle.label | object creation of type Uri | +| test.cs:18:56:18:100 | $"..." : String | semmle.label | $"..." : String | +| test.cs:20:56:20:109 | object creation of type Uri | semmle.label | object creation of type Uri | +| test.cs:20:64:20:108 | $"..." : String | semmle.label | $"..." : String | +| test.cs:22:41:22:94 | object creation of type Uri | semmle.label | object creation of type Uri | +| test.cs:22:49:22:93 | $"..." : String | semmle.label | $"..." : String | +| test.cs:38:59:38:67 | subdomain : String | semmle.label | subdomain : String | +| test.cs:41:17:41:19 | access to local variable uri : Uri | semmle.label | access to local variable uri : Uri | +| test.cs:41:23:41:76 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| test.cs:41:31:41:75 | $"..." : String | semmle.label | $"..." : String | +| test.cs:43:72:43:74 | access to local variable uri | semmle.label | access to local variable uri | +| test.cs:79:59:79:67 | subdomain : String | semmle.label | subdomain : String | +| test.cs:82:17:82:19 | access to local variable uri : Uri | semmle.label | access to local variable uri : Uri | +| test.cs:82:23:82:76 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| test.cs:82:31:82:75 | $"..." : String | semmle.label | $"..." : String | +| test.cs:84:72:84:74 | access to local variable uri | semmle.label | access to local variable uri | +| test.cs:161:59:161:67 | subdomain : String | semmle.label | subdomain : String | +| test.cs:164:17:164:19 | access to local variable uri : Uri | semmle.label | access to local variable uri : Uri | +| test.cs:164:23:164:76 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| test.cs:164:31:164:75 | $"..." : String | semmle.label | $"..." : String | +| test.cs:166:72:166:74 | access to local variable uri | semmle.label | access to local variable uri | +| test.cs:207:59:207:67 | subdomain : String | semmle.label | subdomain : String | +| test.cs:214:17:214:19 | access to local variable uri : Uri | semmle.label | access to local variable uri : Uri | +| test.cs:214:23:214:76 | object creation of type Uri : Uri | semmle.label | object creation of type Uri : Uri | +| test.cs:214:31:214:75 | $"..." : String | semmle.label | $"..." : String | +| test.cs:216:72:216:74 | access to local variable uri | semmle.label | access to local variable uri | +subpaths +#select +| test.cs:43:72:43:74 | access to local variable uri | test.cs:38:59:38:67 | subdomain : String | test.cs:43:72:43:74 | access to local variable uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | test.cs:38:59:38:67 | subdomain | a user-provided value | System.Net.WebRequest | System.Net.WebRequest | +| test.cs:84:72:84:74 | access to local variable uri | test.cs:79:59:79:67 | subdomain : String | test.cs:84:72:84:74 | access to local variable uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | test.cs:79:59:79:67 | subdomain | a user-provided value | System.Net.WebRequest | System.Net.WebRequest | +| test.cs:166:72:166:74 | access to local variable uri | test.cs:161:59:161:67 | subdomain : String | test.cs:166:72:166:74 | access to local variable uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | test.cs:161:59:161:67 | subdomain | a user-provided value | System.Net.WebRequest | System.Net.WebRequest | +| test.cs:216:72:216:74 | access to local variable uri | test.cs:207:59:207:67 | subdomain : String | test.cs:216:72:216:74 | access to local variable uri | Potential server side request forgery due to $@ flowing to a constructor or method from class $@. | test.cs:207:59:207:67 | subdomain | a user-provided value | System.Net.WebRequest | System.Net.WebRequest | diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/RequestForgeryWithAuthorizationHeader.qlref b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/RequestForgeryWithAuthorizationHeader.qlref new file mode 100644 index 000000000000..ca8324c7395e --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/RequestForgeryWithAuthorizationHeader.qlref @@ -0,0 +1 @@ +experimental/CWE-918/RequestForgeryWithAuthorizationHeader.ql diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/options b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/options new file mode 100644 index 000000000000..35bb6a3f88da --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/options @@ -0,0 +1,6 @@ +semmle-extractor-options: /nostdlib /noconfig +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.NETCore.App/Microsoft.NETCore.App.csproj +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.csproj +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/System.Runtime.InteropServices\4.3.0\System.Runtime.InteropServices.csproj +semmle-extractor-options: --load-sources-from-project:${testdir}/../../../resources/stubs/Newtonsoft.Json/13.0.3/Newtonsoft.Json.csproj +semmle-extractor-options: ${testdir}/../../../resources/stubs/System.Web.cs diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/stubs.cs b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/stubs.cs new file mode 100644 index 000000000000..7477223fefff --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/stubs.cs @@ -0,0 +1,10 @@ +using Microsoft.VisualStudio.Services.WebApi; +using System; + +namespace Microsoft.VisualStudio.Services.WebApi +{ + public class VssConnection + { + public VssConnection(Uri baseUrl) { } + } +} diff --git a/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/test.cs b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/test.cs new file mode 100644 index 000000000000..bad99676d7e6 --- /dev/null +++ b/csharp/ql/test/experimental/CWE-918/RequestForgeryWithAuthorizationHeader/test.cs @@ -0,0 +1,239 @@ +using Microsoft.AspNetCore.Mvc; +using Newtonsoft.Json.Linq; +using System; +using System.IO; +using System.Net; +using System.Net.Http; +using System.Text; +using System.Threading.Tasks; + +namespace Test +{ + +// These should not be flagged since no authorization header is set + public class TestController : Controller + { + public void Index(string subdomain) + { + var webrequest = WebRequest.Create(new Uri($"http://{subdomain}.contoso.com/api/getdata")); + + var httpWebrequest = HttpWebRequest.Create(new Uri($"http://{subdomain}.contoso.com/api/getdata")); + + (new HttpClient()).GetAsync(new Uri($"http://{subdomain}.contoso.com/api/getdata")); + } + } + +// NOTES: test cases where the authorization header is set using +// a simple key-value assignment expression where the key is a string with a +// case-insensitive text "Authorization". +// +// Example: +// +// req.Headers["Authorization"] = token; +// req.Headers["authorization"] = token; +// req.Headers["aUtHoRiZaTiOn"] = token; + + public class Test1Controller : Controller + { + public async Task DownloadDataFrom(string subdomain) + { + string result = string.Empty; + var uri = new Uri($"http://{subdomain}.contoso.com/api/getdata"); + + HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(uri); + + req.Method = "GET"; + req.ContentType = "application/json"; + req.Headers["Authorization"] = "Bearer FAKE_TOKEN"; + + using (WebResponse res = req.GetResponse()) + { + if (res != null) + { + using (Stream stream = res.GetResponseStream()) + { + using (StreamReader reader = new StreamReader(stream, Encoding.UTF8)) + { + result = reader.ReadToEnd(); + } + } + } + } + + return result; + } + } + +// NOTES: test cases where the authorization header is set using +// the function call Headers.Add(key, value) where the key is a string with a +// case-insensitive text "Authorization". +// +// Example: +// +// req.Headers.Add("Authorization", token); +// req.Headers.Add("authorization", token); +// req.Headers.Add("aUtHoRiZaTiOn", token); + + public class Test2Controller : Controller + { + public async Task DownloadDataFrom(string subdomain) + { + string result = string.Empty; + var uri = new Uri($"http://{subdomain}.contoso.com/api/getdata"); + + HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(uri); + + req.Method = "GET"; + req.ContentType = "application/json"; + req.Headers.Add("Authorization", "Bearer FAKE_TOKEN"); + + using (WebResponse res = req.GetResponse()) + { + if (res != null) + { + using (Stream stream = res.GetResponseStream()) + { + using (StreamReader reader = new StreamReader(stream, Encoding.UTF8)) + { + result = reader.ReadToEnd(); + } + } + } + } + + return result; + } + } + +// NOTES: test cases where the authorization header is set using +// the function call Headers.Add(key, value) where the key is a constant with +// a case-insensitive text "Authorization". +// +// Example: +// +// req.Headers.Add(AuthorizationHeaderName, token); +// req.Headers.Add(Constants.AuthHeaderName, token); + + public class Test3Controller : Controller + { + [HttpPost] + [Route("testRoute")] + public async Task Create([FromBody] JObject requestObj) + { + string hostServerName = requestObj["hostServerName"].ToString(); + string apiVersion = requestObj["apiVersion"].ToString(); + string tenantId = requestObj["tenantId"].ToString(); + HttpWebRequest req = WebRequest.CreateHttp( + string.Format( + "CultureInfo.CurrentCulture", + "https://{0}/{1}/something?api-version={2}", + hostServerName, + tenantId, + apiVersion)); // TODO fix + + req.Method = "GET"; + req.Accept = "application/json"; + req.Headers.Add(HttpRequestHeader.Authorization, "Bearer FAKE_TOKEN"); + req.AllowAutoRedirect = false; + + using (HttpWebResponse response = req.GetResponse() as HttpWebResponse) + { + } + return StatusCode(201); // System.Net.HttpStatusCode.Created + } + } + +// NOTES: test cases where the authorization header is set using +// a simple key-value assignment expression where the key is a constant with +// a case-insensitive text "Authorization". +// +// Example: +// +// req.Headers[AuthorizationHeaderName] = token; +// req.Headers[Constants.AuthHeaderName] = token; +// +// Not supported: +// +// req.Headers[this.Config["AuthHeader"]] = token; + + public class Test4Controller : Controller + { + public async Task DownloadDataFrom(string subdomain) + { + string result = string.Empty; + var uri = new Uri($"http://{subdomain}.contoso.com/api/getdata"); + + HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(uri); + + req.Method = "GET"; + req.ContentType = "application/json"; + req.Headers[Constants.AuthHeaderName] = "Bearer FAKE_TOKEN"; + + using (WebResponse res = req.GetResponse()) + { + if (res != null) + { + using (Stream stream = res.GetResponseStream()) + { + using (StreamReader reader = new StreamReader(stream, Encoding.UTF8)) + { + result = reader.ReadToEnd(); + } + } + } + } + + return result; + } + + public static class Constants + { + public const string AuthHeaderName = "Authorization"; + } + } + +// NOTES: test cases where the authorization header is set using +// an explicit setter inherited from the headers collection. In this case, the +// name of the property must match "Authorization". +// +// Example: +// +// req.Headers.Authorization = token; + + public class Test5Controller : Controller + { + // private static readonly HttpClient Client = new HttpClient(); + + public async Task DownloadDataFrom(string subdomain) + { + // TODO fix + // var req = new HttpRequestMessage(HttpMethod.Get, "https://" + subdomain + ".contoso.com/api/getdata"); + // req.Headers.Authorization = new AuthenticationHeaderValue("Bearer", "FAKE_TOKEN"); + // return await Client.SendAsync(req); + string result = string.Empty; + var uri = new Uri($"http://{subdomain}.contoso.com/api/getdata"); + + HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(uri); + + req.Method = "GET"; + req.ContentType = "application/json"; + req.Headers["Authorization"] = "Bearer FAKE_TOKEN"; + + using (WebResponse res = req.GetResponse()) + { + if (res != null) + { + using (Stream stream = res.GetResponseStream()) + { + using (StreamReader reader = new StreamReader(stream, Encoding.UTF8)) + { + result = reader.ReadToEnd(); + } + } + } + } + + return result; + } + } +} diff --git a/csharp/ql/test/library-tests/experimental/String Concatenation/ConcatenateString.expected b/csharp/ql/test/library-tests/experimental/String Concatenation/ConcatenateString.expected new file mode 100644 index 000000000000..01b3b1d66125 --- /dev/null +++ b/csharp/ql/test/library-tests/experimental/String Concatenation/ConcatenateString.expected @@ -0,0 +1,80 @@ +| Concatenation.cs:11:36:11:48 | ... + ... | 11 | field_init3 | +| Concatenation.cs:26:21:26:30 | ... + ... | 26 | var_init3 | +| Concatenation.cs:32:24:32:29 | $"..." | 32 | a/b | +| Concatenation.cs:33:17:33:38 | $"..." | 33 | field_init/field_assigned_from_constructor | +| Concatenation.cs:34:17:34:38 | $"..." | 34 | field_init/ | +| Concatenation.cs:35:17:35:38 | $"..." | 35 | field_init/field_assigned_from_constructor | +| Concatenation.cs:36:17:36:36 | $"..." | 36 | /param_default | +| Concatenation.cs:37:17:37:32 | $"..." | 37 | var_init/var_assigned | +| Concatenation.cs:38:17:38:32 | $"..." | 38 | var_init/ | +| Concatenation.cs:39:17:39:52 | $"..." | 39 | property_init/property_assigned_from_method | +| Concatenation.cs:40:17:40:52 | $"..." | 40 | property_init/ | +| Concatenation.cs:41:17:41:52 | $"..." | 41 | property_init/property_assigned_from_constructor | +| Concatenation.cs:45:24:45:38 | ... + ... | 45 | a/b | +| Concatenation.cs:46:17:46:39 | ... + ... | 46 | field_init/field_assigned_from_constructor | +| Concatenation.cs:47:17:47:39 | ... + ... | 47 | field_init/ | +| Concatenation.cs:48:17:48:39 | ... + ... | 48 | field_init/field_assigned_from_constructor | +| Concatenation.cs:49:17:49:37 | ... + ... | 49 | /param_default | +| Concatenation.cs:50:17:50:33 | ... + ... | 50 | var_init/var_assigned | +| Concatenation.cs:51:17:51:33 | ... + ... | 51 | var_init/ | +| Concatenation.cs:52:17:52:53 | ... + ... | 52 | property_init/property_assigned_from_method | +| Concatenation.cs:53:17:53:53 | ... + ... | 53 | property_init/ | +| Concatenation.cs:54:17:54:53 | ... + ... | 54 | property_init/property_assigned_from_constructor | +| Concatenation.cs:58:30:58:67 | ... + ... | 58 | field_init/field_assigned_from_constructor/ | +| Concatenation.cs:61:27:61:60 | call to method Format | 61 | a/b | +| Concatenation.cs:62:20:62:61 | call to method Format | 62 | field_init/field_assigned_from_constructor | +| Concatenation.cs:63:20:63:61 | call to method Format | 63 | field_init/ | +| Concatenation.cs:64:20:64:61 | call to method Format | 64 | field_init/field_assigned_from_constructor | +| Concatenation.cs:65:20:65:59 | call to method Format | 65 | /param_default | +| Concatenation.cs:66:20:66:55 | call to method Format | 66 | var_init/var_assigned | +| Concatenation.cs:67:20:67:55 | call to method Format | 67 | var_init/ | +| Concatenation.cs:68:20:68:75 | call to method Format | 68 | property_init/property_assigned_from_method | +| Concatenation.cs:69:20:69:75 | call to method Format | 69 | property_init/ | +| Concatenation.cs:70:20:70:75 | call to method Format | 70 | property_init/property_assigned_from_constructor | +| Concatenation.cs:71:20:71:81 | call to method Format | 71 | a/b | +| Concatenation.cs:76:26:76:42 | ... + ... | 76 | {0}/{1} | +| Concatenation.cs:77:26:77:46 | $"..." | 77 | {0}/{1} | +| Concatenation.cs:78:20:78:63 | call to method Format | 78 | var_init/var_assigned | +| Concatenation.cs:79:20:79:67 | call to method Format | 79 | var_init/var_assigned | +| Concatenation.cs:80:20:80:55 | call to method Format | 80 | | +| Concatenation.cs:81:20:81:55 | call to method Format | 81 | | +| Concatenation.cs:84:38:84:59 | object creation of type StringBuilder | 84 | a/b | +| Concatenation.cs:89:38:89:56 | object creation of type StringBuilder | 89 | field_init/field_assigned_from_constructor | +| Concatenation.cs:95:38:95:56 | object creation of type StringBuilder | 95 | field_init/field_assigned_from_constructor | +| Concatenation.cs:99:38:99:56 | object creation of type StringBuilder | 99 | field_init/field_assigned_from_constructor/n | +| Concatenation.cs:103:38:103:56 | object creation of type StringBuilder | 103 | field_init/field_assigned_from_constructor | +| Concatenation.cs:107:39:107:57 | object creation of type StringBuilder | 107 | field_init/field_assigned_from_constructor | +| Concatenation.cs:117:27:117:53 | call to method Concat | 117 | a/b | +| Concatenation.cs:118:20:118:54 | call to method Concat | 118 | field_init/field_assigned_from_constructor | +| Concatenation.cs:119:20:119:54 | call to method Concat | 119 | field_init/ | +| Concatenation.cs:120:20:120:54 | call to method Concat | 120 | field_init/override_field_assigned_from_method | +| Concatenation.cs:121:20:121:52 | call to method Concat | 121 | /param_default | +| Concatenation.cs:122:20:122:48 | call to method Concat | 122 | var_init/override_var_assigned | +| Concatenation.cs:123:20:123:48 | call to method Concat | 123 | var_init/ | +| Concatenation.cs:124:20:124:68 | call to method Concat | 124 | property_init/override_property_assigned_from_method | +| Concatenation.cs:125:20:125:68 | call to method Concat | 125 | property_init/ | +| Concatenation.cs:126:20:126:68 | call to method Concat | 126 | property_init/override_property_assigned_from_constructor | +| Concatenation.cs:127:20:127:61 | call to method Concat | 127 | a/b | +| Concatenation.cs:128:20:128:41 | call to method Concat | 128 | a/b | +| Concatenation.cs:129:20:129:38 | call to method Concat | 129 | a/b | +| Concatenation.cs:132:27:132:70 | call to method Join | 132 | a/b | +| Concatenation.cs:133:20:133:67 | call to method Join | 133 | field_init/field_assigned_from_constructor | +| Concatenation.cs:134:20:134:67 | call to method Join | 134 | field_init/ | +| Concatenation.cs:135:20:135:67 | call to method Join | 135 | field_init/override_field_assigned_from_method | +| Concatenation.cs:136:20:136:65 | call to method Join | 136 | /param_default | +| Concatenation.cs:137:20:137:61 | call to method Join | 137 | var_init/override_var_assigned | +| Concatenation.cs:138:20:138:61 | call to method Join | 138 | var_init/ | +| Concatenation.cs:139:20:139:81 | call to method Join | 139 | property_init/override_property_assigned_from_method | +| Concatenation.cs:140:20:140:81 | call to method Join | 140 | property_init/ | +| Concatenation.cs:141:20:141:81 | call to method Join | 141 | property_init/override_property_assigned_from_constructor | +| Concatenation.cs:142:20:142:43 | call to method Join | 142 | a/b | +| Concatenation.cs:143:20:143:40 | call to method Join | 143 | a/b | +| Concatenation.cs:150:27:150:935 | call to method Concat | 150 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut eLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut e | +| Concatenation.cs:153:32:153:119 | $"..." | 153 | exceeds elements limitation | +| Concatenation.cs:154:25:154:122 | ... + ... | 154 | exceeds elements limitation | +| Concatenation.cs:155:25:155:200 | call to method Format | 155 | exceeds elements limitation | +| Concatenation.cs:156:25:156:122 | call to method Concat | 156 | exceeds elements limitation | +| Concatenation.cs:157:25:157:138 | call to method Join | 157 | exceeds elements limitation | +| Concatenation.cs:159:38:159:56 | object creation of type StringBuilder | 159 | exceeds elements limitation | +| Concatenation.cs:162:38:162:56 | object creation of type StringBuilder | 162 | exceeds elements limitation | +| Concatenation.cs:192:32:192:46 | $"..." | 192 | property_init3 | diff --git a/csharp/ql/test/library-tests/experimental/String Concatenation/ConcatenateString.ql b/csharp/ql/test/library-tests/experimental/String Concatenation/ConcatenateString.ql new file mode 100644 index 000000000000..4da7b74389a5 --- /dev/null +++ b/csharp/ql/test/library-tests/experimental/String Concatenation/ConcatenateString.ql @@ -0,0 +1,7 @@ +import csharp +import experimental.code.csharp.String_Concatenation.ConcatenateString + +from DataFlow::Node node +where node.asExpr().fromSource() +select node, node.asExpr().getLocation().getStartLine(), + node.(ConcatenatedStringValue).getAConcatenatedString() diff --git a/csharp/ql/test/library-tests/experimental/String Concatenation/Concatenation.cs b/csharp/ql/test/library-tests/experimental/String Concatenation/Concatenation.cs new file mode 100644 index 000000000000..a4e94cfaf350 --- /dev/null +++ b/csharp/ql/test/library-tests/experimental/String Concatenation/Concatenation.cs @@ -0,0 +1,205 @@ +using System; +using System.Globalization; +using System.Text; + +namespace Test +{ + public class MyClass + { + private const string _field1 = "field_init"; + private readonly string _field2; // assigned in constructor + private const string _field3 = _field1 + "3"; // field_init3 + private readonly String[] _field4; + private string _field5; // assigned in constructor, overridden in method + + public MyClass() + { + _field2 = "field_assigned_from_constructor"; + _field4 = new String[]{"a", "/", "b"}; + _field5 = "field_assigned_from_constructor"; + } + + public void MyMethod(string param1, string param2 = "param_default") { + string var1 = "var_init"; + string var2; + var2 = "var_assigned"; + string var3 = var1 + "3"; // var_init3 + var var4 = new String[]{"a", "/", "b"}; + var var5 = new ClassWithProperty(); + var5.Property2 = "property_assigned_from_method"; + + // Concatentation via InterpolatedString + string testIps = $"a/b"; // a/b + testIps = $"{_field1}/{_field2}"; // field_init/field_assigned_from_constructor + testIps = $"{_field1}/{_field3}"; // field_init/field_init3 TODO + testIps = $"{_field1}/{_field5}"; // field_init/field_assigned_from_constructor + testIps = $"{param1}/{param2}"; // /param_default + testIps = $"{var1}/{var2}"; // var_init/var_assigned + testIps = $"{var1}/{var3}"; // var_init/var_init3 TODO + testIps = $"{var5.Property1}/{var5.Property2}"; // property_init/property_assigned_from_method + testIps = $"{var5.Property1}/{var5.Property3}"; // property_init/property_init3 TODO + testIps = $"{var5.Property1}/{var5.Property5}"; // property_init/property_assigned_from_constructor + // testIps = $"{field}/{var5.Property5}"; // property_init5/property_init5 TODO preview feature for C# 13 + + // Concatentation via AddExpr + string testAdd = "a" + "/" + "b"; // a/b + testAdd = _field1 + "/" + _field2; // field_init/field_assigned_from_constructor + testAdd = _field1 + "/" + _field3; // field_init/field_init3 TODO + testAdd = _field1 + "/" + _field5; // field_init/field_assigned_from_constructor + testAdd = param1 + "/" + param2; // /param_default + testAdd = var1 + "/" + var2; // var_init/var_assigned + testAdd = var1 + "/" + var3; // var_init/var_init3 TODO + testAdd = var5.Property1 + "/" + var5.Property2; // property_init/property_assigned_from_method + testAdd = var5.Property1 + "/" + var5.Property3; // property_init/property_init3 TODO + testAdd = var5.Property1 + "/" + var5.Property5; // property_init/property_assigned_from_constructor + + + // Concatenation via InterpolatedString and AddExpr + string testIpsAndAdd = $"{_field1}/{_field2}" + "/" + _field3; // field_init/field_assigned_from_constructor/field_init3 TODO + + // Concatentation via StringFormat + string testFormat = string.Format("{0}/{1}", "a", "b"); // a/b + testFormat = string.Format("{0}/{1}", _field1, _field2); // field_init/field_assigned_from_constructor + testFormat = string.Format("{0}/{1}", _field1, _field3); // field_init/field_init3 TODO + testFormat = string.Format("{0}/{1}", _field1, _field5); // field_init/field_assigned_from_constructor + testFormat = string.Format("{0}/{1}", param1, param2); // /param_default + testFormat = string.Format("{0}/{1}", var1, var2); // var_init/var_assigned + testFormat = string.Format("{0}/{1}", var1, var3); // var_init/var_init3 TODO + testFormat = string.Format("{0}/{1}", var5.Property1, var5.Property2); // property_init/property_assigned_from_method + testFormat = string.Format("{0}/{1}", var5.Property1, var5.Property3); // property_init/property_init3 TODO + testFormat = string.Format("{0}/{1}", var5.Property1, var5.Property5); // property_init/property_assigned_from_constructor + testFormat = string.Format(CultureInfo.CurrentCulture, "{0}/{1}", "a", "b"); // a/b + + // Complex concatentation via StringFormat + string format1 = "{0}"; + string format2 = "/{1}"; + string formatAdd = format1 + format2; // {0}/{1} + string formatIps = $"{format1}{format2}"; // {0}/{1} + testFormat = string.Format(format1 + format2, var1, var2); // var_init/var_assigned + testFormat = string.Format($"{format1}{format2}", var1, var2); // var_init/var_assigned + testFormat = string.Format(formatAdd, var1, var2); // var_init/var_assigned TODO + testFormat = string.Format(formatIps, var1, var2); // var_init/var_assigned TODO + + // Concatentation via StringBuilder - with constructor value + StringBuilder stringBuilder1 = new StringBuilder("a"); // a/b + stringBuilder1.Append("/"); + stringBuilder1.Append("b"); + + // Concatentation via StringBuilder - without constructor value + StringBuilder stringBuilder2 = new StringBuilder(); // field_init/field_assigned_from_constructor + stringBuilder2.Append(_field1); + stringBuilder2.Append("/"); + stringBuilder2.Append(_field2); + + // Concatentation via StringBuilder - append chain + StringBuilder stringBuilder3 = new StringBuilder(); // field_init/field_assigned_from_constructor + stringBuilder3.Append(_field1).Append("/").Append(_field2); + + // Concatentation via StringBuilder - appendLine + StringBuilder stringBuilder4 = new StringBuilder(); // field_init/field_assigned_from_constructor/n + stringBuilder4.Append(_field1).Append("/").AppendLine(_field2); + + // Concatentation via StringBuilder - appendFormat + StringBuilder stringBuilder5 = new StringBuilder(); // field_init/field_assigned_from_constructor + stringBuilder5.AppendFormat("{0}/{1}", _field1, _field2); + + // Concatentation via StringBuilder - appendJoin + StringBuilder stringBuilder6 = new StringBuilder(); // field_init/field_assigned_from_constructor + stringBuilder6.AppendJoin("/", new String[]{_field1, _field2}); + + // override initial values, check the new values are used and no cartesian product + var2 = "override_var_assigned"; + _field5 = "override_field_assigned_from_method"; + var5.Property2 = "override_property_assigned_from_method"; + var5.Property5 = "override_property_assigned_from_constructor"; + + // Concatentation via String.Concat + string testConcat = string.Concat("a","/", "b"); // a/b + testConcat = string.Concat(_field1,"/", _field2); // field_init/field_assigned_from_constructor + testConcat = string.Concat(_field1,"/", _field3); // field_init/field_init3 TODO + testConcat = string.Concat(_field1,"/", _field5); // field_init/override_field_assigned_from_method + testConcat = string.Concat(param1,"/", param2); // /param_default + testConcat = string.Concat(var1,"/", var2); // var_init/override_var_assigned + testConcat = string.Concat(var1,"/", var3); // var_init/var_init3 TODO + testConcat = string.Concat(var5.Property1,"/", var5.Property2); // property_init/override_property_assigned_from_method + testConcat = string.Concat(var5.Property1,"/", var5.Property3); // property_init/property_init3 TODO + testConcat = string.Concat(var5.Property1,"/", var5.Property5); // property_init/override_property_assigned_from_constructor + testConcat = string.Concat(new String[]{"a", "/", "b"}); // a/b + testConcat = string.Concat(_field4); // a/b + testConcat = string.Concat(var4); // a/b + + // Concatentation via String.Join + string stringJoin = string.Join("", new String[]{"a", "/", "b"}); // a/b + stringJoin = string.Join("/", new String[]{_field1, _field2}); // field_init/field_assigned_from_constructor + stringJoin = string.Join("/", new String[]{_field1, _field3}); // field_init/field_init3 TODO + stringJoin = string.Join("/", new String[]{_field1, _field5}); // field_init/override_field_assigned_from_method + stringJoin = string.Join("/", new String[]{param1, param2}); // /param_default + stringJoin = string.Join("/", new String[]{var1, var2}); // var_init/override_var_assigned + stringJoin = string.Join("/", new String[]{var1, var3}); // var_init/var_init3 TODO + stringJoin = string.Join("/", new String[]{var5.Property1, var5.Property2}); // property_init/override_property_assigned_from_method + stringJoin = string.Join("/", new String[]{var5.Property1, var5.Property3}); // property_init/property_init3 TODO + stringJoin = string.Join("/", new String[]{var5.Property1, var5.Property5}); // property_init/override_property_assigned_from_constructor + stringJoin = string.Join("", _field4); // a/b + stringJoin = string.Join("", var4); // a/b + + // Verify no cartesian product with PropertyAccess + var unused = new ClassWithProperty(); + unused.Property2 = "unused_property_assigned"; + + // Test limitations on string length (currently 120 char per element) + string testLength = string.Concat("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum"); + + // Test limitations on number of elements (currently 15) + string testNumElements = $"{_field1}/{_field2}/{_field3}/{param1}/{param2}/{var1}/{var2}/{var3}/{var5.Property1}"; // includes IPS children, not just inserts + testNumElements = "a" + "b" + "c" + "d" + "e" + "f" + "g" + "h" + "i" + "j" + "k" + "l" +"m" + "n" + "o" + "p" + "q"; + testNumElements = string.Format("{0}/{1}/{2}/{3}/{4}/{5}/{6}/{7}/{8}/{9}/{10}/{11}/{12}/{13}/{14}/{15}/{16}", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q"); // based on number of inserts + testNumElements = string.Concat("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l" +"m", "n", "o", "p", "q"); + testNumElements = string.Join("", new String[]{"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l" +"m", "n", "o", "p", "q"}); + + StringBuilder stringBuilder7 = new StringBuilder(); + stringBuilder7.Append("a").Append("b").Append("c").Append("d").Append("e").Append("f").Append("g").Append("h").Append("i").Append("j").Append("k").Append("l").Append("m").Append("n").AppendFormat("{0}", "o").AppendJoin("", new String[]{"p"}).AppendLine("q"); + + StringBuilder stringBuilder8 = new StringBuilder(); + stringBuilder8.Append("a"); + stringBuilder8.Append("b"); + stringBuilder8.Append("c"); + stringBuilder8.Append("d"); + stringBuilder8.Append("e"); + stringBuilder8.Append("f"); + stringBuilder8.Append("g"); + stringBuilder8.Append("h"); + stringBuilder8.Append("i"); + stringBuilder8.Append("j"); + stringBuilder8.Append("k"); + stringBuilder8.Append("l"); + stringBuilder8.Append("m"); + stringBuilder8.Append("n"); + stringBuilder8.AppendFormat("{0}", "o"); + stringBuilder8.AppendJoin("", new String[]{"p"}); + stringBuilder8.AppendLine("q"); + + // verify assignment after access is not used + var2 = "var_assigned_unused"; + _field5 = "field_assigned_from_method_unused"; + var5.Property2 = "property_assigned_from_method_unused"; + } + } + + public class ClassWithProperty + { + public string Property1 { get; set; } = "property_init"; + public string Property2 { get; set; } // assigned in method + public string Property3 => $"{Property1}3"; // property_init3 + // TODO: currently preview feature for C# 13 + // public string? Property4 + // { + // get; + // set => field = "property_init4"; + // } + public string Property5 { get; set; } // assigned in constructor + + public ClassWithProperty() { + Property5 = "property_assigned_from_constructor"; + } + } +} \ No newline at end of file diff --git a/csharp/ql/test/resources/stubs/Azure.Core/1.35.0/Azure.Core.cs b/csharp/ql/test/resources/stubs/Azure.Core/1.35.0/Azure.Core.cs new file mode 100644 index 000000000000..95717f2814f0 --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Core/1.35.0/Azure.Core.cs @@ -0,0 +1,1083 @@ +// This file contains auto-generated code. +// Generated from `Azure.Core, Version=1.35.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8`. +namespace Azure +{ + public abstract class AsyncPageable : System.Collections.Generic.IAsyncEnumerable + { + public abstract System.Collections.Generic.IAsyncEnumerable> AsPages(string continuationToken = default(string), int? pageSizeHint = default(int?)); + protected virtual System.Threading.CancellationToken CancellationToken { get => throw null; } + protected AsyncPageable() => throw null; + protected AsyncPageable(System.Threading.CancellationToken cancellationToken) => throw null; + public override bool Equals(object obj) => throw null; + public static Azure.AsyncPageable FromPages(System.Collections.Generic.IEnumerable> pages) => throw null; + public virtual System.Collections.Generic.IAsyncEnumerator GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override int GetHashCode() => throw null; + public override string ToString() => throw null; + } + public static partial class AzureCoreExtensions + { + public static dynamic ToDynamicFromJson(this System.BinaryData utf8Json) => throw null; + public static dynamic ToDynamicFromJson(this System.BinaryData utf8Json, Azure.Core.Serialization.JsonPropertyNames propertyNameFormat, string dateTimeFormat = default(string)) => throw null; + public static T ToObject(this System.BinaryData data, Azure.Core.Serialization.ObjectSerializer serializer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.ValueTask ToObjectAsync(this System.BinaryData data, Azure.Core.Serialization.ObjectSerializer serializer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static object ToObjectFromJson(this System.BinaryData data) => throw null; + } + public class AzureKeyCredential + { + public AzureKeyCredential(string key) => throw null; + public string Key { get => throw null; } + public void Update(string key) => throw null; + } + public class AzureNamedKeyCredential + { + public AzureNamedKeyCredential(string name, string key) => throw null; + public void Deconstruct(out string name, out string key) => throw null; + public string Name { get => throw null; } + public void Update(string name, string key) => throw null; + } + public class AzureSasCredential + { + public AzureSasCredential(string signature) => throw null; + public string Signature { get => throw null; } + public void Update(string signature) => throw null; + } + namespace Core + { + public struct AccessToken + { + public AccessToken(string accessToken, System.DateTimeOffset expiresOn) => throw null; + public override bool Equals(object obj) => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; } + public override int GetHashCode() => throw null; + public string Token { get => throw null; } + } + public struct AzureLocation : System.IEquatable + { + public static Azure.Core.AzureLocation AustraliaCentral { get => throw null; } + public static Azure.Core.AzureLocation AustraliaCentral2 { get => throw null; } + public static Azure.Core.AzureLocation AustraliaEast { get => throw null; } + public static Azure.Core.AzureLocation AustraliaSoutheast { get => throw null; } + public static Azure.Core.AzureLocation BrazilSouth { get => throw null; } + public static Azure.Core.AzureLocation BrazilSoutheast { get => throw null; } + public static Azure.Core.AzureLocation CanadaCentral { get => throw null; } + public static Azure.Core.AzureLocation CanadaEast { get => throw null; } + public static Azure.Core.AzureLocation CentralIndia { get => throw null; } + public static Azure.Core.AzureLocation CentralUS { get => throw null; } + public static Azure.Core.AzureLocation ChinaEast { get => throw null; } + public static Azure.Core.AzureLocation ChinaEast2 { get => throw null; } + public static Azure.Core.AzureLocation ChinaNorth { get => throw null; } + public static Azure.Core.AzureLocation ChinaNorth2 { get => throw null; } + public AzureLocation(string location) => throw null; + public AzureLocation(string name, string displayName) => throw null; + public string DisplayName { get => throw null; } + public static Azure.Core.AzureLocation EastAsia { get => throw null; } + public static Azure.Core.AzureLocation EastUS { get => throw null; } + public static Azure.Core.AzureLocation EastUS2 { get => throw null; } + public bool Equals(Azure.Core.AzureLocation other) => throw null; + public override bool Equals(object obj) => throw null; + public static Azure.Core.AzureLocation FranceCentral { get => throw null; } + public static Azure.Core.AzureLocation FranceSouth { get => throw null; } + public static Azure.Core.AzureLocation GermanyCentral { get => throw null; } + public static Azure.Core.AzureLocation GermanyNorth { get => throw null; } + public static Azure.Core.AzureLocation GermanyNorthEast { get => throw null; } + public static Azure.Core.AzureLocation GermanyWestCentral { get => throw null; } + public override int GetHashCode() => throw null; + public static Azure.Core.AzureLocation JapanEast { get => throw null; } + public static Azure.Core.AzureLocation JapanWest { get => throw null; } + public static Azure.Core.AzureLocation KoreaCentral { get => throw null; } + public static Azure.Core.AzureLocation KoreaSouth { get => throw null; } + public string Name { get => throw null; } + public static Azure.Core.AzureLocation NorthCentralUS { get => throw null; } + public static Azure.Core.AzureLocation NorthEurope { get => throw null; } + public static Azure.Core.AzureLocation NorwayEast { get => throw null; } + public static Azure.Core.AzureLocation NorwayWest { get => throw null; } + public static bool operator ==(Azure.Core.AzureLocation left, Azure.Core.AzureLocation right) => throw null; + public static implicit operator Azure.Core.AzureLocation(string location) => throw null; + public static implicit operator string(Azure.Core.AzureLocation location) => throw null; + public static bool operator !=(Azure.Core.AzureLocation left, Azure.Core.AzureLocation right) => throw null; + public static Azure.Core.AzureLocation QatarCentral { get => throw null; } + public static Azure.Core.AzureLocation SouthAfricaNorth { get => throw null; } + public static Azure.Core.AzureLocation SouthAfricaWest { get => throw null; } + public static Azure.Core.AzureLocation SouthCentralUS { get => throw null; } + public static Azure.Core.AzureLocation SoutheastAsia { get => throw null; } + public static Azure.Core.AzureLocation SouthIndia { get => throw null; } + public static Azure.Core.AzureLocation SwedenCentral { get => throw null; } + public static Azure.Core.AzureLocation SwitzerlandNorth { get => throw null; } + public static Azure.Core.AzureLocation SwitzerlandWest { get => throw null; } + public override string ToString() => throw null; + public static Azure.Core.AzureLocation UAECentral { get => throw null; } + public static Azure.Core.AzureLocation UAENorth { get => throw null; } + public static Azure.Core.AzureLocation UKSouth { get => throw null; } + public static Azure.Core.AzureLocation UKWest { get => throw null; } + public static Azure.Core.AzureLocation USDoDCentral { get => throw null; } + public static Azure.Core.AzureLocation USDoDEast { get => throw null; } + public static Azure.Core.AzureLocation USGovArizona { get => throw null; } + public static Azure.Core.AzureLocation USGovIowa { get => throw null; } + public static Azure.Core.AzureLocation USGovTexas { get => throw null; } + public static Azure.Core.AzureLocation USGovVirginia { get => throw null; } + public static Azure.Core.AzureLocation WestCentralUS { get => throw null; } + public static Azure.Core.AzureLocation WestEurope { get => throw null; } + public static Azure.Core.AzureLocation WestIndia { get => throw null; } + public static Azure.Core.AzureLocation WestUS { get => throw null; } + public static Azure.Core.AzureLocation WestUS2 { get => throw null; } + public static Azure.Core.AzureLocation WestUS3 { get => throw null; } + } + public abstract class ClientOptions + { + public void AddPolicy(Azure.Core.Pipeline.HttpPipelinePolicy policy, Azure.Core.HttpPipelinePosition position) => throw null; + protected ClientOptions() => throw null; + protected ClientOptions(Azure.Core.DiagnosticsOptions diagnostics) => throw null; + public static Azure.Core.ClientOptions Default { get => throw null; } + public Azure.Core.DiagnosticsOptions Diagnostics { get => throw null; } + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public Azure.Core.RetryOptions Retry { get => throw null; } + public Azure.Core.Pipeline.HttpPipelinePolicy RetryPolicy { get => throw null; set { } } + public override string ToString() => throw null; + public Azure.Core.Pipeline.HttpPipelineTransport Transport { get => throw null; set { } } + } + public struct ContentType : System.IEquatable, System.IEquatable + { + public static Azure.Core.ContentType ApplicationJson { get => throw null; } + public static Azure.Core.ContentType ApplicationOctetStream { get => throw null; } + public ContentType(string contentType) => throw null; + public bool Equals(Azure.Core.ContentType other) => throw null; + public bool Equals(string other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Core.ContentType left, Azure.Core.ContentType right) => throw null; + public static implicit operator Azure.Core.ContentType(string contentType) => throw null; + public static bool operator !=(Azure.Core.ContentType left, Azure.Core.ContentType right) => throw null; + public static Azure.Core.ContentType TextPlain { get => throw null; } + public override string ToString() => throw null; + } + namespace Cryptography + { + public interface IKeyEncryptionKey + { + string KeyId { get; } + byte[] UnwrapKey(string algorithm, System.ReadOnlyMemory encryptedKey, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UnwrapKeyAsync(string algorithm, System.ReadOnlyMemory encryptedKey, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + byte[] WrapKey(string algorithm, System.ReadOnlyMemory key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task WrapKeyAsync(string algorithm, System.ReadOnlyMemory key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + public interface IKeyEncryptionKeyResolver + { + Azure.Core.Cryptography.IKeyEncryptionKey Resolve(string keyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ResolveAsync(string keyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + } + } + public abstract class DelayStrategy + { + public static Azure.Core.DelayStrategy CreateExponentialDelayStrategy(System.TimeSpan? initialDelay = default(System.TimeSpan?), System.TimeSpan? maxDelay = default(System.TimeSpan?)) => throw null; + public static Azure.Core.DelayStrategy CreateFixedDelayStrategy(System.TimeSpan? delay = default(System.TimeSpan?)) => throw null; + protected DelayStrategy(System.TimeSpan? maxDelay = default(System.TimeSpan?), double jitterFactor = default(double)) => throw null; + public System.TimeSpan GetNextDelay(Azure.Response response, int retryNumber) => throw null; + protected abstract System.TimeSpan GetNextDelayCore(Azure.Response response, int retryNumber); + protected static System.TimeSpan Max(System.TimeSpan val1, System.TimeSpan val2) => throw null; + protected static System.TimeSpan Min(System.TimeSpan val1, System.TimeSpan val2) => throw null; + } + public static class DelegatedTokenCredential + { + public static Azure.Core.TokenCredential Create(System.Func getToken, System.Func> getTokenAsync) => throw null; + public static Azure.Core.TokenCredential Create(System.Func getToken) => throw null; + } + namespace Diagnostics + { + public class AzureEventSourceListener : System.Diagnostics.Tracing.EventListener + { + public static Azure.Core.Diagnostics.AzureEventSourceListener CreateConsoleLogger(System.Diagnostics.Tracing.EventLevel level = default(System.Diagnostics.Tracing.EventLevel)) => throw null; + public static Azure.Core.Diagnostics.AzureEventSourceListener CreateTraceLogger(System.Diagnostics.Tracing.EventLevel level = default(System.Diagnostics.Tracing.EventLevel)) => throw null; + public AzureEventSourceListener(System.Action log, System.Diagnostics.Tracing.EventLevel level) => throw null; + protected override sealed void OnEventSourceCreated(System.Diagnostics.Tracing.EventSource eventSource) => throw null; + protected override sealed void OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs eventData) => throw null; + public const string TraitName = default; + public const string TraitValue = default; + } + } + public class DiagnosticsOptions + { + public string ApplicationId { get => throw null; set { } } + protected DiagnosticsOptions() => throw null; + public static string DefaultApplicationId { get => throw null; set { } } + public bool IsDistributedTracingEnabled { get => throw null; set { } } + public bool IsLoggingContentEnabled { get => throw null; set { } } + public bool IsLoggingEnabled { get => throw null; set { } } + public bool IsTelemetryEnabled { get => throw null; set { } } + public int LoggedContentSizeLimit { get => throw null; set { } } + public System.Collections.Generic.IList LoggedHeaderNames { get => throw null; } + public System.Collections.Generic.IList LoggedQueryParameters { get => throw null; } + } + namespace Extensions + { + public interface IAzureClientBuilder where TOptions : class + { + } + public interface IAzureClientFactoryBuilder + { + Azure.Core.Extensions.IAzureClientBuilder RegisterClientFactory(System.Func clientFactory) where TOptions : class; + } + public interface IAzureClientFactoryBuilderWithConfiguration : Azure.Core.Extensions.IAzureClientFactoryBuilder + { + Azure.Core.Extensions.IAzureClientBuilder RegisterClientFactory(TConfiguration configuration) where TOptions : class; + } + public interface IAzureClientFactoryBuilderWithCredential + { + Azure.Core.Extensions.IAzureClientBuilder RegisterClientFactory(System.Func clientFactory, bool requiresCredential = default(bool)) where TOptions : class; + } + } + namespace GeoJson + { + public struct GeoArray : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList + { + public int Count { get => throw null; } + public struct Enumerator : System.IDisposable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerator + { + object System.Collections.IEnumerator.Current { get => throw null; } + public T Current { get => throw null; } + public void Dispose() => throw null; + public bool MoveNext() => throw null; + public void Reset() => throw null; + } + public Azure.Core.GeoJson.GeoArray.Enumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() => throw null; + public T this[int index] { get => throw null; } + } + public sealed class GeoBoundingBox : System.IEquatable + { + public GeoBoundingBox(double west, double south, double east, double north) => throw null; + public GeoBoundingBox(double west, double south, double east, double north, double? minAltitude, double? maxAltitude) => throw null; + public double East { get => throw null; } + public bool Equals(Azure.Core.GeoJson.GeoBoundingBox other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public double? MaxAltitude { get => throw null; } + public double? MinAltitude { get => throw null; } + public double North { get => throw null; } + public double South { get => throw null; } + public double this[int index] { get => throw null; } + public override string ToString() => throw null; + public double West { get => throw null; } + } + public sealed class GeoCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList + { + public int Count { get => throw null; } + public GeoCollection(System.Collections.Generic.IEnumerable geometries) => throw null; + public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) => throw null; + public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public Azure.Core.GeoJson.GeoObject this[int index] { get => throw null; } + public override Azure.Core.GeoJson.GeoObjectType Type { get => throw null; } + } + public sealed class GeoLinearRing + { + public Azure.Core.GeoJson.GeoArray Coordinates { get => throw null; } + public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) => throw null; + } + public sealed class GeoLineString : Azure.Core.GeoJson.GeoObject + { + public Azure.Core.GeoJson.GeoArray Coordinates { get => throw null; } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates) => throw null; + public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) => throw null; + public override Azure.Core.GeoJson.GeoObjectType Type { get => throw null; } + } + public sealed class GeoLineStringCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList + { + public Azure.Core.GeoJson.GeoArray> Coordinates { get => throw null; } + public int Count { get => throw null; } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) => throw null; + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) => throw null; + public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public Azure.Core.GeoJson.GeoLineString this[int index] { get => throw null; } + public override Azure.Core.GeoJson.GeoObjectType Type { get => throw null; } + } + public abstract class GeoObject + { + public Azure.Core.GeoJson.GeoBoundingBox BoundingBox { get => throw null; } + public static Azure.Core.GeoJson.GeoObject Parse(string json) => throw null; + public override string ToString() => throw null; + public bool TryGetCustomProperty(string name, out object value) => throw null; + public abstract Azure.Core.GeoJson.GeoObjectType Type { get; } + } + public enum GeoObjectType + { + Point = 0, + MultiPoint = 1, + Polygon = 2, + MultiPolygon = 3, + LineString = 4, + MultiLineString = 5, + GeometryCollection = 6, + } + public sealed class GeoPoint : Azure.Core.GeoJson.GeoObject + { + public Azure.Core.GeoJson.GeoPosition Coordinates { get => throw null; } + public GeoPoint(double longitude, double latitude) => throw null; + public GeoPoint(double longitude, double latitude, double? altitude) => throw null; + public GeoPoint(Azure.Core.GeoJson.GeoPosition position) => throw null; + public GeoPoint(Azure.Core.GeoJson.GeoPosition position, Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) => throw null; + public override Azure.Core.GeoJson.GeoObjectType Type { get => throw null; } + } + public sealed class GeoPointCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList + { + public Azure.Core.GeoJson.GeoArray Coordinates { get => throw null; } + public int Count { get => throw null; } + public GeoPointCollection(System.Collections.Generic.IEnumerable points) => throw null; + public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) => throw null; + public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public Azure.Core.GeoJson.GeoPoint this[int index] { get => throw null; } + public override Azure.Core.GeoJson.GeoObjectType Type { get => throw null; } + } + public sealed class GeoPolygon : Azure.Core.GeoJson.GeoObject + { + public Azure.Core.GeoJson.GeoArray> Coordinates { get => throw null; } + public GeoPolygon(System.Collections.Generic.IEnumerable positions) => throw null; + public GeoPolygon(System.Collections.Generic.IEnumerable rings) => throw null; + public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) => throw null; + public Azure.Core.GeoJson.GeoLinearRing OuterRing { get => throw null; } + public System.Collections.Generic.IReadOnlyList Rings { get => throw null; } + public override Azure.Core.GeoJson.GeoObjectType Type { get => throw null; } + } + public sealed class GeoPolygonCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList + { + public Azure.Core.GeoJson.GeoArray>> Coordinates { get => throw null; } + public int Count { get => throw null; } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) => throw null; + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) => throw null; + public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public Azure.Core.GeoJson.GeoPolygon this[int index] { get => throw null; } + public override Azure.Core.GeoJson.GeoObjectType Type { get => throw null; } + } + public struct GeoPosition : System.IEquatable + { + public double? Altitude { get => throw null; } + public int Count { get => throw null; } + public GeoPosition(double longitude, double latitude) => throw null; + public GeoPosition(double longitude, double latitude, double? altitude) => throw null; + public bool Equals(Azure.Core.GeoJson.GeoPosition other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public double Latitude { get => throw null; } + public double Longitude { get => throw null; } + public static bool operator ==(Azure.Core.GeoJson.GeoPosition left, Azure.Core.GeoJson.GeoPosition right) => throw null; + public static bool operator !=(Azure.Core.GeoJson.GeoPosition left, Azure.Core.GeoJson.GeoPosition right) => throw null; + public double this[int index] { get => throw null; } + public override string ToString() => throw null; + } + } + public struct HttpHeader : System.IEquatable + { + public static class Common + { + public static readonly Azure.Core.HttpHeader FormUrlEncodedContentType; + public static readonly Azure.Core.HttpHeader JsonAccept; + public static readonly Azure.Core.HttpHeader JsonContentType; + public static readonly Azure.Core.HttpHeader OctetStreamContentType; + } + public HttpHeader(string name, string value) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Core.HttpHeader other) => throw null; + public override int GetHashCode() => throw null; + public string Name { get => throw null; } + public static class Names + { + public static string Accept { get => throw null; } + public static string Authorization { get => throw null; } + public static string ContentDisposition { get => throw null; } + public static string ContentLength { get => throw null; } + public static string ContentType { get => throw null; } + public static string Date { get => throw null; } + public static string ETag { get => throw null; } + public static string Host { get => throw null; } + public static string IfMatch { get => throw null; } + public static string IfModifiedSince { get => throw null; } + public static string IfNoneMatch { get => throw null; } + public static string IfUnmodifiedSince { get => throw null; } + public static string Prefer { get => throw null; } + public static string Range { get => throw null; } + public static string Referer { get => throw null; } + public static string UserAgent { get => throw null; } + public static string WwwAuthenticate { get => throw null; } + public static string XMsDate { get => throw null; } + public static string XMsRange { get => throw null; } + public static string XMsRequestId { get => throw null; } + } + public override string ToString() => throw null; + public string Value { get => throw null; } + } + public sealed class HttpMessage : System.IDisposable + { + public bool BufferResponse { get => throw null; set { } } + public System.Threading.CancellationToken CancellationToken { get => throw null; } + public HttpMessage(Azure.Core.Request request, Azure.Core.ResponseClassifier responseClassifier) => throw null; + public void Dispose() => throw null; + public System.IO.Stream ExtractResponseContent() => throw null; + public bool HasResponse { get => throw null; } + public System.TimeSpan? NetworkTimeout { get => throw null; set { } } + public Azure.Core.MessageProcessingContext ProcessingContext { get => throw null; } + public Azure.Core.Request Request { get => throw null; } + public Azure.Response Response { get => throw null; set { } } + public Azure.Core.ResponseClassifier ResponseClassifier { get => throw null; set { } } + public void SetProperty(string name, object value) => throw null; + public void SetProperty(System.Type type, object value) => throw null; + public bool TryGetProperty(string name, out object value) => throw null; + public bool TryGetProperty(System.Type type, out object value) => throw null; + } + public enum HttpPipelinePosition + { + PerCall = 0, + PerRetry = 1, + BeforeTransport = 2, + } + public struct MessageProcessingContext + { + public int RetryNumber { get => throw null; set { } } + public System.DateTimeOffset StartTime { get => throw null; } + } + public static class MultipartResponse + { + public static Azure.Response[] Parse(Azure.Response response, bool expectCrLf, System.Threading.CancellationToken cancellationToken) => throw null; + public static System.Threading.Tasks.Task ParseAsync(Azure.Response response, bool expectCrLf, System.Threading.CancellationToken cancellationToken) => throw null; + } + namespace Pipeline + { + public class BearerTokenAuthenticationPolicy : Azure.Core.Pipeline.HttpPipelinePolicy + { + protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) => throw null; + protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) => throw null; + protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) => throw null; + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) => throw null; + protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) => throw null; + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) => throw null; + public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) => throw null; + public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, System.Collections.Generic.IEnumerable scopes) => throw null; + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + } + public sealed class DisposableHttpPipeline : Azure.Core.Pipeline.HttpPipeline, System.IDisposable + { + public void Dispose() => throw null; + internal DisposableHttpPipeline() : base(default(Azure.Core.Pipeline.HttpPipelineTransport), default(Azure.Core.Pipeline.HttpPipelinePolicy[]), default(Azure.Core.ResponseClassifier)) { } + } + public class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport, System.IDisposable + { + public override sealed Azure.Core.Request CreateRequest() => throw null; + public HttpClientTransport() => throw null; + public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) => throw null; + public HttpClientTransport(System.Net.Http.HttpClient client) => throw null; + public void Dispose() => throw null; + public override void Process(Azure.Core.HttpMessage message) => throw null; + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) => throw null; + public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; + } + public class HttpPipeline + { + public static System.IDisposable CreateClientRequestIdScope(string clientRequestId) => throw null; + public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) => throw null; + public Azure.Core.HttpMessage CreateMessage() => throw null; + public Azure.Core.HttpMessage CreateMessage(Azure.RequestContext context) => throw null; + public Azure.Core.HttpMessage CreateMessage(Azure.RequestContext context, Azure.Core.ResponseClassifier classifier = default(Azure.Core.ResponseClassifier)) => throw null; + public Azure.Core.Request CreateRequest() => throw null; + public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[] policies = default(Azure.Core.Pipeline.HttpPipelinePolicy[]), Azure.Core.ResponseClassifier responseClassifier = default(Azure.Core.ResponseClassifier)) => throw null; + public Azure.Core.ResponseClassifier ResponseClassifier { get => throw null; } + public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) => throw null; + public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) => throw null; + public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) => throw null; + public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) => throw null; + } + public static class HttpPipelineBuilder + { + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) => throw null; + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) => throw null; + public static Azure.Core.Pipeline.DisposableHttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.Pipeline.HttpPipelineTransportOptions transportOptions, Azure.Core.ResponseClassifier responseClassifier) => throw null; + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.Pipeline.HttpPipelineOptions options) => throw null; + public static Azure.Core.Pipeline.DisposableHttpPipeline Build(Azure.Core.Pipeline.HttpPipelineOptions options, Azure.Core.Pipeline.HttpPipelineTransportOptions transportOptions) => throw null; + } + public class HttpPipelineOptions + { + public Azure.Core.ClientOptions ClientOptions { get => throw null; } + public HttpPipelineOptions(Azure.Core.ClientOptions options) => throw null; + public System.Collections.Generic.IList PerCallPolicies { get => throw null; } + public System.Collections.Generic.IList PerRetryPolicies { get => throw null; } + public Azure.Core.RequestFailedDetailsParser RequestFailedDetailsParser { get => throw null; set { } } + public Azure.Core.ResponseClassifier ResponseClassifier { get => throw null; set { } } + } + public abstract class HttpPipelinePolicy + { + protected HttpPipelinePolicy() => throw null; + public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + } + public abstract class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy + { + protected HttpPipelineSynchronousPolicy() => throw null; + public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) => throw null; + public virtual void OnSendingRequest(Azure.Core.HttpMessage message) => throw null; + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + } + public abstract class HttpPipelineTransport + { + public abstract Azure.Core.Request CreateRequest(); + protected HttpPipelineTransport() => throw null; + public abstract void Process(Azure.Core.HttpMessage message); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); + } + public class HttpPipelineTransportOptions + { + public System.Collections.Generic.IList ClientCertificates { get => throw null; } + public HttpPipelineTransportOptions() => throw null; + public bool IsClientRedirectEnabled { get => throw null; set { } } + public System.Func ServerCertificateCustomValidationCallback { get => throw null; set { } } + } + public sealed class RedirectPolicy : Azure.Core.Pipeline.HttpPipelinePolicy + { + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + public static void SetAllowAutoRedirect(Azure.Core.HttpMessage message, bool allowAutoRedirect) => throw null; + } + public class RetryPolicy : Azure.Core.Pipeline.HttpPipelinePolicy + { + public RetryPolicy(int maxRetries = default(int), Azure.Core.DelayStrategy delayStrategy = default(Azure.Core.DelayStrategy)) => throw null; + protected virtual void OnRequestSent(Azure.Core.HttpMessage message) => throw null; + protected virtual System.Threading.Tasks.ValueTask OnRequestSentAsync(Azure.Core.HttpMessage message) => throw null; + protected virtual void OnSendingRequest(Azure.Core.HttpMessage message) => throw null; + protected virtual System.Threading.Tasks.ValueTask OnSendingRequestAsync(Azure.Core.HttpMessage message) => throw null; + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) => throw null; + protected virtual bool ShouldRetry(Azure.Core.HttpMessage message, System.Exception exception) => throw null; + protected virtual System.Threading.Tasks.ValueTask ShouldRetryAsync(Azure.Core.HttpMessage message, System.Exception exception) => throw null; + } + public class ServerCertificateCustomValidationArgs + { + public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get => throw null; } + public System.Security.Cryptography.X509Certificates.X509Chain CertificateAuthorityChain { get => throw null; } + public ServerCertificateCustomValidationArgs(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.Security.Cryptography.X509Certificates.X509Chain certificateAuthorityChain, System.Net.Security.SslPolicyErrors sslPolicyErrors) => throw null; + public System.Net.Security.SslPolicyErrors SslPolicyErrors { get => throw null; } + } + } + public abstract class Request : System.IDisposable + { + protected abstract void AddHeader(string name, string value); + public abstract string ClientRequestId { get; set; } + protected abstract bool ContainsHeader(string name); + public virtual Azure.Core.RequestContent Content { get => throw null; set { } } + protected Request() => throw null; + public abstract void Dispose(); + protected abstract System.Collections.Generic.IEnumerable EnumerateHeaders(); + public Azure.Core.RequestHeaders Headers { get => throw null; } + public virtual Azure.Core.RequestMethod Method { get => throw null; set { } } + protected abstract bool RemoveHeader(string name); + protected virtual void SetHeader(string name, string value) => throw null; + protected abstract bool TryGetHeader(string name, out string value); + protected abstract bool TryGetHeaderValues(string name, out System.Collections.Generic.IEnumerable values); + public virtual Azure.Core.RequestUriBuilder Uri { get => throw null; set { } } + } + public abstract class RequestContent : System.IDisposable + { + public static Azure.Core.RequestContent Create(System.IO.Stream stream) => throw null; + public static Azure.Core.RequestContent Create(byte[] bytes) => throw null; + public static Azure.Core.RequestContent Create(byte[] bytes, int index, int length) => throw null; + public static Azure.Core.RequestContent Create(System.ReadOnlyMemory bytes) => throw null; + public static Azure.Core.RequestContent Create(System.Buffers.ReadOnlySequence bytes) => throw null; + public static Azure.Core.RequestContent Create(string content) => throw null; + public static Azure.Core.RequestContent Create(System.BinaryData content) => throw null; + public static Azure.Core.RequestContent Create(Azure.Core.Serialization.DynamicData content) => throw null; + public static Azure.Core.RequestContent Create(object serializable) => throw null; + public static Azure.Core.RequestContent Create(object serializable, Azure.Core.Serialization.ObjectSerializer serializer) => throw null; + public static Azure.Core.RequestContent Create(object serializable, Azure.Core.Serialization.JsonPropertyNames propertyNameFormat, string dateTimeFormat = default(string)) => throw null; + protected RequestContent() => throw null; + public abstract void Dispose(); + public static implicit operator Azure.Core.RequestContent(string content) => throw null; + public static implicit operator Azure.Core.RequestContent(System.BinaryData content) => throw null; + public static implicit operator Azure.Core.RequestContent(Azure.Core.Serialization.DynamicData content) => throw null; + public abstract bool TryComputeLength(out long length); + public abstract void WriteTo(System.IO.Stream stream, System.Threading.CancellationToken cancellation); + public abstract System.Threading.Tasks.Task WriteToAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellation); + } + public abstract class RequestFailedDetailsParser + { + protected RequestFailedDetailsParser() => throw null; + public abstract bool TryParse(Azure.Response response, out Azure.ResponseError error, out System.Collections.Generic.IDictionary data); + } + public struct RequestHeaders : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public void Add(Azure.Core.HttpHeader header) => throw null; + public void Add(string name, string value) => throw null; + public bool Contains(string name) => throw null; + public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public bool Remove(string name) => throw null; + public void SetValue(string name, string value) => throw null; + public bool TryGetValue(string name, out string value) => throw null; + public bool TryGetValues(string name, out System.Collections.Generic.IEnumerable values) => throw null; + } + public struct RequestMethod : System.IEquatable + { + public RequestMethod(string method) => throw null; + public static Azure.Core.RequestMethod Delete { get => throw null; } + public bool Equals(Azure.Core.RequestMethod other) => throw null; + public override bool Equals(object obj) => throw null; + public static Azure.Core.RequestMethod Get { get => throw null; } + public override int GetHashCode() => throw null; + public static Azure.Core.RequestMethod Head { get => throw null; } + public string Method { get => throw null; } + public static bool operator ==(Azure.Core.RequestMethod left, Azure.Core.RequestMethod right) => throw null; + public static bool operator !=(Azure.Core.RequestMethod left, Azure.Core.RequestMethod right) => throw null; + public static Azure.Core.RequestMethod Options { get => throw null; } + public static Azure.Core.RequestMethod Parse(string method) => throw null; + public static Azure.Core.RequestMethod Patch { get => throw null; } + public static Azure.Core.RequestMethod Post { get => throw null; } + public static Azure.Core.RequestMethod Put { get => throw null; } + public override string ToString() => throw null; + public static Azure.Core.RequestMethod Trace { get => throw null; } + } + public class RequestUriBuilder + { + public void AppendPath(string value) => throw null; + public void AppendPath(string value, bool escape) => throw null; + public void AppendPath(System.ReadOnlySpan value, bool escape) => throw null; + public void AppendQuery(string name, string value) => throw null; + public void AppendQuery(string name, string value, bool escapeValue) => throw null; + public void AppendQuery(System.ReadOnlySpan name, System.ReadOnlySpan value, bool escapeValue) => throw null; + public RequestUriBuilder() => throw null; + protected bool HasPath { get => throw null; } + protected bool HasQuery { get => throw null; } + public string Host { get => throw null; set { } } + public string Path { get => throw null; set { } } + public string PathAndQuery { get => throw null; } + public int Port { get => throw null; set { } } + public string Query { get => throw null; set { } } + public void Reset(System.Uri value) => throw null; + public string Scheme { get => throw null; set { } } + public override string ToString() => throw null; + public System.Uri ToUri() => throw null; + } + public sealed class ResourceIdentifier : System.IComparable, System.IEquatable + { + public Azure.Core.ResourceIdentifier AppendChildResource(string childResourceType, string childResourceName) => throw null; + public Azure.Core.ResourceIdentifier AppendProviderResource(string providerNamespace, string resourceType, string resourceName) => throw null; + public int CompareTo(Azure.Core.ResourceIdentifier other) => throw null; + public ResourceIdentifier(string resourceId) => throw null; + public bool Equals(Azure.Core.ResourceIdentifier other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public Azure.Core.AzureLocation? Location { get => throw null; } + public string Name { get => throw null; } + public static bool operator ==(Azure.Core.ResourceIdentifier left, Azure.Core.ResourceIdentifier right) => throw null; + public static bool operator >(Azure.Core.ResourceIdentifier left, Azure.Core.ResourceIdentifier right) => throw null; + public static bool operator >=(Azure.Core.ResourceIdentifier left, Azure.Core.ResourceIdentifier right) => throw null; + public static implicit operator string(Azure.Core.ResourceIdentifier id) => throw null; + public static bool operator !=(Azure.Core.ResourceIdentifier left, Azure.Core.ResourceIdentifier right) => throw null; + public static bool operator <(Azure.Core.ResourceIdentifier left, Azure.Core.ResourceIdentifier right) => throw null; + public static bool operator <=(Azure.Core.ResourceIdentifier left, Azure.Core.ResourceIdentifier right) => throw null; + public Azure.Core.ResourceIdentifier Parent { get => throw null; } + public static Azure.Core.ResourceIdentifier Parse(string input) => throw null; + public string Provider { get => throw null; } + public string ResourceGroupName { get => throw null; } + public Azure.Core.ResourceType ResourceType { get => throw null; } + public static readonly Azure.Core.ResourceIdentifier Root; + public string SubscriptionId { get => throw null; } + public override string ToString() => throw null; + public static bool TryParse(string input, out Azure.Core.ResourceIdentifier result) => throw null; + } + public struct ResourceType : System.IEquatable + { + public ResourceType(string resourceType) => throw null; + public bool Equals(Azure.Core.ResourceType other) => throw null; + public override bool Equals(object other) => throw null; + public override int GetHashCode() => throw null; + public string GetLastType() => throw null; + public string Namespace { get => throw null; } + public static bool operator ==(Azure.Core.ResourceType left, Azure.Core.ResourceType right) => throw null; + public static implicit operator Azure.Core.ResourceType(string resourceType) => throw null; + public static implicit operator string(Azure.Core.ResourceType resourceType) => throw null; + public static bool operator !=(Azure.Core.ResourceType left, Azure.Core.ResourceType right) => throw null; + public override string ToString() => throw null; + public string Type { get => throw null; } + } + public abstract class ResponseClassificationHandler + { + protected ResponseClassificationHandler() => throw null; + public abstract bool TryClassify(Azure.Core.HttpMessage message, out bool isError); + } + public class ResponseClassifier + { + public ResponseClassifier() => throw null; + public virtual bool IsErrorResponse(Azure.Core.HttpMessage message) => throw null; + public virtual bool IsRetriable(Azure.Core.HttpMessage message, System.Exception exception) => throw null; + public virtual bool IsRetriableException(System.Exception exception) => throw null; + public virtual bool IsRetriableResponse(Azure.Core.HttpMessage message) => throw null; + } + public struct ResponseHeaders : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public bool Contains(string name) => throw null; + public int? ContentLength { get => throw null; } + public long? ContentLengthLong { get => throw null; } + public string ContentType { get => throw null; } + public System.DateTimeOffset? Date { get => throw null; } + public Azure.ETag? ETag { get => throw null; } + public System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public string RequestId { get => throw null; } + public bool TryGetValue(string name, out string value) => throw null; + public bool TryGetValues(string name, out System.Collections.Generic.IEnumerable values) => throw null; + } + public enum RetryMode + { + Fixed = 0, + Exponential = 1, + } + public class RetryOptions + { + public System.TimeSpan Delay { get => throw null; set { } } + public System.TimeSpan MaxDelay { get => throw null; set { } } + public int MaxRetries { get => throw null; set { } } + public Azure.Core.RetryMode Mode { get => throw null; set { } } + public System.TimeSpan NetworkTimeout { get => throw null; set { } } + } + namespace Serialization + { + public sealed class DynamicData : System.IDisposable, System.Dynamic.IDynamicMetaObjectProvider + { + public void Dispose() => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + System.Dynamic.DynamicMetaObject System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression parameter) => throw null; + public static bool operator ==(Azure.Core.Serialization.DynamicData left, object right) => throw null; + public static explicit operator System.DateTime(Azure.Core.Serialization.DynamicData value) => throw null; + public static explicit operator System.DateTimeOffset(Azure.Core.Serialization.DynamicData value) => throw null; + public static explicit operator System.Guid(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator bool(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator string(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator byte(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator sbyte(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator short(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator ushort(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator int(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator uint(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator long(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator ulong(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator float(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator double(Azure.Core.Serialization.DynamicData value) => throw null; + public static implicit operator decimal(Azure.Core.Serialization.DynamicData value) => throw null; + public static bool operator !=(Azure.Core.Serialization.DynamicData left, object right) => throw null; + public override string ToString() => throw null; + } + public interface IMemberNameConverter + { + string ConvertMemberName(System.Reflection.MemberInfo member); + } + public class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter + { + string Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) => throw null; + public JsonObjectSerializer() => throw null; + public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) => throw null; + public static Azure.Core.Serialization.JsonObjectSerializer Default { get => throw null; } + public override object Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) => throw null; + public override void Serialize(System.IO.Stream stream, object value, System.Type inputType, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.BinaryData Serialize(object value, System.Type inputType = default(System.Type), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object value, System.Type inputType, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask SerializeAsync(object value, System.Type inputType = default(System.Type), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public enum JsonPropertyNames + { + UseExact = 0, + CamelCase = 1, + } + public abstract class ObjectSerializer + { + protected ObjectSerializer() => throw null; + public abstract object Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract void Serialize(System.IO.Stream stream, object value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.BinaryData Serialize(object value, System.Type inputType = default(System.Type), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.Threading.Tasks.ValueTask SerializeAsync(object value, System.Type inputType = default(System.Type), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + } + public class StatusCodeClassifier : Azure.Core.ResponseClassifier + { + public StatusCodeClassifier(System.ReadOnlySpan successStatusCodes) => throw null; + public override bool IsErrorResponse(Azure.Core.HttpMessage message) => throw null; + } + public delegate System.Threading.Tasks.Task SyncAsyncEventHandler(T e) where T : Azure.SyncAsyncEventArgs; + public class TelemetryDetails + { + public string ApplicationId { get => throw null; } + public void Apply(Azure.Core.HttpMessage message) => throw null; + public System.Reflection.Assembly Assembly { get => throw null; } + public TelemetryDetails(System.Reflection.Assembly assembly, string applicationId = default(string)) => throw null; + public override string ToString() => throw null; + } + public abstract class TokenCredential + { + protected TokenCredential() => throw null; + public abstract Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken); + } + public struct TokenRequestContext + { + public string Claims { get => throw null; } + public TokenRequestContext(string[] scopes, string parentRequestId) => throw null; + public TokenRequestContext(string[] scopes, string parentRequestId, string claims) => throw null; + public TokenRequestContext(string[] scopes, string parentRequestId, string claims, string tenantId) => throw null; + public TokenRequestContext(string[] scopes, string parentRequestId = default(string), string claims = default(string), string tenantId = default(string), bool isCaeEnabled = default(bool)) => throw null; + public bool IsCaeEnabled { get => throw null; } + public string ParentRequestId { get => throw null; } + public string[] Scopes { get => throw null; } + public string TenantId { get => throw null; } + } + } + [System.Flags] + public enum ErrorOptions + { + Default = 0, + NoThrow = 1, + } + public struct ETag : System.IEquatable + { + public static readonly Azure.ETag All; + public ETag(string etag) => throw null; + public bool Equals(Azure.ETag other) => throw null; + public bool Equals(string other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.ETag left, Azure.ETag right) => throw null; + public static bool operator !=(Azure.ETag left, Azure.ETag right) => throw null; + public override string ToString() => throw null; + public string ToString(string format) => throw null; + } + public class HttpAuthorization + { + public HttpAuthorization(string scheme, string parameter) => throw null; + public string Parameter { get => throw null; } + public string Scheme { get => throw null; } + public override string ToString() => throw null; + } + public struct HttpRange : System.IEquatable + { + public HttpRange(long offset = default(long), long? length = default(long?)) => throw null; + public bool Equals(Azure.HttpRange other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public long? Length { get => throw null; } + public long Offset { get => throw null; } + public static bool operator ==(Azure.HttpRange left, Azure.HttpRange right) => throw null; + public static bool operator !=(Azure.HttpRange left, Azure.HttpRange right) => throw null; + public override string ToString() => throw null; + } + public class JsonPatchDocument + { + public void AppendAdd(string path, T value) => throw null; + public void AppendAddRaw(string path, string rawJsonValue) => throw null; + public void AppendCopy(string from, string path) => throw null; + public void AppendMove(string from, string path) => throw null; + public void AppendRemove(string path) => throw null; + public void AppendReplace(string path, T value) => throw null; + public void AppendReplaceRaw(string path, string rawJsonValue) => throw null; + public void AppendTest(string path, T value) => throw null; + public void AppendTestRaw(string path, string rawJsonValue) => throw null; + public JsonPatchDocument() => throw null; + public JsonPatchDocument(Azure.Core.Serialization.ObjectSerializer serializer) => throw null; + public JsonPatchDocument(System.ReadOnlyMemory rawDocument) => throw null; + public JsonPatchDocument(System.ReadOnlyMemory rawDocument, Azure.Core.Serialization.ObjectSerializer serializer) => throw null; + public System.ReadOnlyMemory ToBytes() => throw null; + public override string ToString() => throw null; + } + public class MatchConditions + { + public MatchConditions() => throw null; + public Azure.ETag? IfMatch { get => throw null; set { } } + public Azure.ETag? IfNoneMatch { get => throw null; set { } } + } + namespace Messaging + { + public class CloudEvent + { + public CloudEvent(string source, string type, object jsonSerializableData, System.Type dataSerializationType = default(System.Type)) => throw null; + public CloudEvent(string source, string type, System.BinaryData data, string dataContentType, Azure.Messaging.CloudEventDataFormat dataFormat = default(Azure.Messaging.CloudEventDataFormat)) => throw null; + public System.BinaryData Data { get => throw null; set { } } + public string DataContentType { get => throw null; set { } } + public string DataSchema { get => throw null; set { } } + public System.Collections.Generic.IDictionary ExtensionAttributes { get => throw null; } + public string Id { get => throw null; set { } } + public static Azure.Messaging.CloudEvent Parse(System.BinaryData json, bool skipValidation = default(bool)) => throw null; + public static Azure.Messaging.CloudEvent[] ParseMany(System.BinaryData json, bool skipValidation = default(bool)) => throw null; + public string Source { get => throw null; set { } } + public string Subject { get => throw null; set { } } + public System.DateTimeOffset? Time { get => throw null; set { } } + public string Type { get => throw null; set { } } + } + public enum CloudEventDataFormat + { + Binary = 0, + Json = 1, + } + public class MessageContent + { + public virtual Azure.Core.ContentType? ContentType { get => throw null; set { } } + protected virtual Azure.Core.ContentType? ContentTypeCore { get => throw null; set { } } + public MessageContent() => throw null; + public virtual System.BinaryData Data { get => throw null; set { } } + public virtual bool IsReadOnly { get => throw null; } + } + } + public abstract class NullableResponse + { + protected NullableResponse() => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public abstract Azure.Response GetRawResponse(); + public abstract bool HasValue { get; } + public override string ToString() => throw null; + public abstract T Value { get; } + } + public abstract class Operation + { + protected Operation() => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public abstract Azure.Response GetRawResponse(); + public abstract bool HasCompleted { get; } + public abstract string Id { get; } + public override string ToString() => throw null; + public abstract Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public abstract System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public virtual Azure.Response WaitForCompletionResponse(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response WaitForCompletionResponse(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response WaitForCompletionResponse(Azure.Core.DelayStrategy delayStrategy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.ValueTask WaitForCompletionResponseAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.ValueTask WaitForCompletionResponseAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.ValueTask WaitForCompletionResponseAsync(Azure.Core.DelayStrategy delayStrategy, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public abstract class Operation : Azure.Operation + { + protected Operation() => throw null; + public abstract bool HasValue { get; } + public abstract T Value { get; } + public virtual Azure.Response WaitForCompletion(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response WaitForCompletion(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response WaitForCompletion(Azure.Core.DelayStrategy delayStrategy, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.ValueTask> WaitForCompletionAsync(Azure.Core.DelayStrategy delayStrategy, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask WaitForCompletionResponseAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask WaitForCompletionResponseAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public abstract class Page + { + public abstract string ContinuationToken { get; } + protected Page() => throw null; + public override bool Equals(object obj) => throw null; + public static Azure.Page FromValues(System.Collections.Generic.IReadOnlyList values, string continuationToken, Azure.Response response) => throw null; + public override int GetHashCode() => throw null; + public abstract Azure.Response GetRawResponse(); + public override string ToString() => throw null; + public abstract System.Collections.Generic.IReadOnlyList Values { get; } + } + public abstract class Pageable : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable + { + public abstract System.Collections.Generic.IEnumerable> AsPages(string continuationToken = default(string), int? pageSizeHint = default(int?)); + protected virtual System.Threading.CancellationToken CancellationToken { get => throw null; } + protected Pageable() => throw null; + protected Pageable(System.Threading.CancellationToken cancellationToken) => throw null; + public override bool Equals(object obj) => throw null; + public static Azure.Pageable FromPages(System.Collections.Generic.IEnumerable> pages) => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public virtual System.Collections.Generic.IEnumerator GetEnumerator() => throw null; + public override int GetHashCode() => throw null; + public override string ToString() => throw null; + } + public abstract class PageableOperation : Azure.Operation> + { + protected PageableOperation() => throw null; + public abstract Azure.Pageable GetValues(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public abstract Azure.AsyncPageable GetValuesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + public override Azure.AsyncPageable Value { get => throw null; } + } + public class RequestConditions : Azure.MatchConditions + { + public RequestConditions() => throw null; + public System.DateTimeOffset? IfModifiedSince { get => throw null; set { } } + public System.DateTimeOffset? IfUnmodifiedSince { get => throw null; set { } } + } + public class RequestContext + { + public void AddClassifier(int statusCode, bool isError) => throw null; + public void AddClassifier(Azure.Core.ResponseClassificationHandler classifier) => throw null; + public void AddPolicy(Azure.Core.Pipeline.HttpPipelinePolicy policy, Azure.Core.HttpPipelinePosition position) => throw null; + public System.Threading.CancellationToken CancellationToken { get => throw null; set { } } + public RequestContext() => throw null; + public Azure.ErrorOptions ErrorOptions { get => throw null; set { } } + public static implicit operator Azure.RequestContext(Azure.ErrorOptions options) => throw null; + } + public class RequestFailedException : System.Exception, System.Runtime.Serialization.ISerializable + { + public RequestFailedException(string message) => throw null; + public RequestFailedException(string message, System.Exception innerException) => throw null; + public RequestFailedException(int status, string message) => throw null; + public RequestFailedException(int status, string message, System.Exception innerException) => throw null; + public RequestFailedException(int status, string message, string errorCode, System.Exception innerException) => throw null; + public RequestFailedException(Azure.Response response) => throw null; + public RequestFailedException(Azure.Response response, System.Exception innerException) => throw null; + public RequestFailedException(Azure.Response response, System.Exception innerException, Azure.Core.RequestFailedDetailsParser detailsParser) => throw null; + protected RequestFailedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public string ErrorCode { get => throw null; } + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public Azure.Response GetRawResponse() => throw null; + public int Status { get => throw null; } + } + public abstract class Response : System.IDisposable + { + public abstract string ClientRequestId { get; set; } + protected abstract bool ContainsHeader(string name); + public virtual System.BinaryData Content { get => throw null; } + public abstract System.IO.Stream ContentStream { get; set; } + protected Response() => throw null; + public abstract void Dispose(); + protected abstract System.Collections.Generic.IEnumerable EnumerateHeaders(); + public static Azure.Response FromValue(T value, Azure.Response response) => throw null; + public virtual Azure.Core.ResponseHeaders Headers { get => throw null; } + public virtual bool IsError { get => throw null; set { } } + public abstract string ReasonPhrase { get; } + public abstract int Status { get; } + public override string ToString() => throw null; + protected abstract bool TryGetHeader(string name, out string value); + protected abstract bool TryGetHeaderValues(string name, out System.Collections.Generic.IEnumerable values); + } + public abstract class Response : Azure.NullableResponse + { + protected Response() => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public override bool HasValue { get => throw null; } + public static implicit operator T(Azure.Response response) => throw null; + public override T Value { get => throw null; } + } + public sealed class ResponseError + { + public string Code { get => throw null; } + public ResponseError(string code, string message) => throw null; + public string Message { get => throw null; } + public override string ToString() => throw null; + } + public class SyncAsyncEventArgs : System.EventArgs + { + public System.Threading.CancellationToken CancellationToken { get => throw null; } + public SyncAsyncEventArgs(bool isRunningSynchronously, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public bool IsRunningSynchronously { get => throw null; } + } + public enum WaitUntil + { + Completed = 0, + Started = 1, + } +} diff --git a/csharp/ql/test/resources/stubs/Azure.Identity/1.10.4/Azure.Identity.cs b/csharp/ql/test/resources/stubs/Azure.Identity/1.10.4/Azure.Identity.cs new file mode 100644 index 000000000000..dfc929847ae9 --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Identity/1.10.4/Azure.Identity.cs @@ -0,0 +1,431 @@ +// This file contains auto-generated code. +// Generated from `Azure.Identity, Version=1.10.4.0, Culture=neutral, PublicKeyToken=92742159e12e44c8`. +namespace Azure +{ + namespace Identity + { + public class AuthenticationFailedException : System.Exception + { + public AuthenticationFailedException(string message) => throw null; + public AuthenticationFailedException(string message, System.Exception innerException) => throw null; + protected AuthenticationFailedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + } + public class AuthenticationRecord + { + public string Authority { get => throw null; } + public string ClientId { get => throw null; } + public static Azure.Identity.AuthenticationRecord Deserialize(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task DeserializeAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public string HomeAccountId { get => throw null; } + public void Serialize(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Threading.Tasks.Task SerializeAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public string TenantId { get => throw null; } + public string Username { get => throw null; } + } + public class AuthenticationRequiredException : Azure.Identity.CredentialUnavailableException + { + public AuthenticationRequiredException(string message, Azure.Core.TokenRequestContext context) : base(default(string)) => throw null; + public AuthenticationRequiredException(string message, Azure.Core.TokenRequestContext context, System.Exception innerException) : base(default(string)) => throw null; + protected AuthenticationRequiredException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(default(string)) => throw null; + public Azure.Core.TokenRequestContext TokenRequestContext { get => throw null; } + } + public class AuthorizationCodeCredential : Azure.Core.TokenCredential + { + protected AuthorizationCodeCredential() => throw null; + public AuthorizationCodeCredential(string tenantId, string clientId, string clientSecret, string authorizationCode) => throw null; + public AuthorizationCodeCredential(string tenantId, string clientId, string clientSecret, string authorizationCode, Azure.Identity.AuthorizationCodeCredentialOptions options) => throw null; + public AuthorizationCodeCredential(string tenantId, string clientId, string clientSecret, string authorizationCode, Azure.Identity.TokenCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class AuthorizationCodeCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public AuthorizationCodeCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + public System.Uri RedirectUri { get => throw null; set { } } + } + public static class AzureAuthorityHosts + { + public static System.Uri AzureChina { get => throw null; } + public static System.Uri AzureGermany { get => throw null; } + public static System.Uri AzureGovernment { get => throw null; } + public static System.Uri AzurePublicCloud { get => throw null; } + } + public class AzureCliCredential : Azure.Core.TokenCredential + { + public AzureCliCredential() => throw null; + public AzureCliCredential(Azure.Identity.AzureCliCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class AzureCliCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public AzureCliCredentialOptions() => throw null; + public System.TimeSpan? ProcessTimeout { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + } + public class AzureDeveloperCliCredential : Azure.Core.TokenCredential + { + public AzureDeveloperCliCredential() => throw null; + public AzureDeveloperCliCredential(Azure.Identity.AzureDeveloperCliCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class AzureDeveloperCliCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public AzureDeveloperCliCredentialOptions() => throw null; + public System.TimeSpan? ProcessTimeout { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + } + public class AzurePowerShellCredential : Azure.Core.TokenCredential + { + public AzurePowerShellCredential() => throw null; + public AzurePowerShellCredential(Azure.Identity.AzurePowerShellCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class AzurePowerShellCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public AzurePowerShellCredentialOptions() => throw null; + public System.TimeSpan? ProcessTimeout { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + } + public class BrowserCustomizationOptions + { + public BrowserCustomizationOptions() => throw null; + public string ErrorMessage { get => throw null; set { } } + public string SuccessMessage { get => throw null; set { } } + public bool? UseEmbeddedWebView { get => throw null; set { } } + } + public class ChainedTokenCredential : Azure.Core.TokenCredential + { + public ChainedTokenCredential(params Azure.Core.TokenCredential[] sources) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class ClientAssertionCredential : Azure.Core.TokenCredential + { + protected ClientAssertionCredential() => throw null; + public ClientAssertionCredential(string tenantId, string clientId, System.Func> assertionCallback, Azure.Identity.ClientAssertionCredentialOptions options = default(Azure.Identity.ClientAssertionCredentialOptions)) => throw null; + public ClientAssertionCredential(string tenantId, string clientId, System.Func assertionCallback, Azure.Identity.ClientAssertionCredentialOptions options = default(Azure.Identity.ClientAssertionCredentialOptions)) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class ClientAssertionCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public ClientAssertionCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + } + public class ClientCertificateCredential : Azure.Core.TokenCredential + { + protected ClientCertificateCredential() => throw null; + public ClientCertificateCredential(string tenantId, string clientId, string clientCertificatePath) => throw null; + public ClientCertificateCredential(string tenantId, string clientId, string clientCertificatePath, Azure.Identity.TokenCredentialOptions options) => throw null; + public ClientCertificateCredential(string tenantId, string clientId, string clientCertificatePath, Azure.Identity.ClientCertificateCredentialOptions options) => throw null; + public ClientCertificateCredential(string tenantId, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate) => throw null; + public ClientCertificateCredential(string tenantId, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, Azure.Identity.TokenCredentialOptions options) => throw null; + public ClientCertificateCredential(string tenantId, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, Azure.Identity.ClientCertificateCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class ClientCertificateCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public ClientCertificateCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + public bool SendCertificateChain { get => throw null; set { } } + public Azure.Identity.TokenCachePersistenceOptions TokenCachePersistenceOptions { get => throw null; set { } } + } + public class ClientSecretCredential : Azure.Core.TokenCredential + { + protected ClientSecretCredential() => throw null; + public ClientSecretCredential(string tenantId, string clientId, string clientSecret) => throw null; + public ClientSecretCredential(string tenantId, string clientId, string clientSecret, Azure.Identity.ClientSecretCredentialOptions options) => throw null; + public ClientSecretCredential(string tenantId, string clientId, string clientSecret, Azure.Identity.TokenCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class ClientSecretCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public ClientSecretCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + public Azure.Identity.TokenCachePersistenceOptions TokenCachePersistenceOptions { get => throw null; set { } } + } + public class CredentialUnavailableException : Azure.Identity.AuthenticationFailedException + { + public CredentialUnavailableException(string message) : base(default(string)) => throw null; + public CredentialUnavailableException(string message, System.Exception innerException) : base(default(string)) => throw null; + protected CredentialUnavailableException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(default(string)) => throw null; + } + public class DefaultAzureCredential : Azure.Core.TokenCredential + { + public DefaultAzureCredential(bool includeInteractiveCredentials = default(bool)) => throw null; + public DefaultAzureCredential(Azure.Identity.DefaultAzureCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class DefaultAzureCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public System.TimeSpan? CredentialProcessTimeout { get => throw null; set { } } + public DefaultAzureCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + public bool ExcludeAzureCliCredential { get => throw null; set { } } + public bool ExcludeAzureDeveloperCliCredential { get => throw null; set { } } + public bool ExcludeAzurePowerShellCredential { get => throw null; set { } } + public bool ExcludeEnvironmentCredential { get => throw null; set { } } + public bool ExcludeInteractiveBrowserCredential { get => throw null; set { } } + public bool ExcludeManagedIdentityCredential { get => throw null; set { } } + public bool ExcludeSharedTokenCacheCredential { get => throw null; set { } } + public bool ExcludeVisualStudioCodeCredential { get => throw null; set { } } + public bool ExcludeVisualStudioCredential { get => throw null; set { } } + public bool ExcludeWorkloadIdentityCredential { get => throw null; set { } } + public string InteractiveBrowserCredentialClientId { get => throw null; set { } } + public string InteractiveBrowserTenantId { get => throw null; set { } } + public string ManagedIdentityClientId { get => throw null; set { } } + public Azure.Core.ResourceIdentifier ManagedIdentityResourceId { get => throw null; set { } } + public string SharedTokenCacheTenantId { get => throw null; set { } } + public string SharedTokenCacheUsername { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + public string VisualStudioCodeTenantId { get => throw null; set { } } + public string VisualStudioTenantId { get => throw null; set { } } + public string WorkloadIdentityClientId { get => throw null; set { } } + } + public class DeviceCodeCredential : Azure.Core.TokenCredential + { + public virtual Azure.Identity.AuthenticationRecord Authenticate(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Identity.AuthenticationRecord Authenticate(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AuthenticateAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AuthenticateAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public DeviceCodeCredential() => throw null; + public DeviceCodeCredential(Azure.Identity.DeviceCodeCredentialOptions options) => throw null; + public DeviceCodeCredential(System.Func deviceCodeCallback, string clientId, Azure.Identity.TokenCredentialOptions options = default(Azure.Identity.TokenCredentialOptions)) => throw null; + public DeviceCodeCredential(System.Func deviceCodeCallback, string tenantId, string clientId, Azure.Identity.TokenCredentialOptions options = default(Azure.Identity.TokenCredentialOptions)) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class DeviceCodeCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public Azure.Identity.AuthenticationRecord AuthenticationRecord { get => throw null; set { } } + public string ClientId { get => throw null; set { } } + public DeviceCodeCredentialOptions() => throw null; + public System.Func DeviceCodeCallback { get => throw null; set { } } + public bool DisableAutomaticAuthentication { get => throw null; set { } } + public bool DisableInstanceDiscovery { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + public Azure.Identity.TokenCachePersistenceOptions TokenCachePersistenceOptions { get => throw null; set { } } + } + public struct DeviceCodeInfo + { + public string ClientId { get => throw null; } + public string DeviceCode { get => throw null; } + public System.DateTimeOffset ExpiresOn { get => throw null; } + public string Message { get => throw null; } + public System.Collections.Generic.IReadOnlyCollection Scopes { get => throw null; } + public string UserCode { get => throw null; } + public System.Uri VerificationUri { get => throw null; } + } + public class EnvironmentCredential : Azure.Core.TokenCredential + { + public EnvironmentCredential() => throw null; + public EnvironmentCredential(Azure.Identity.TokenCredentialOptions options) => throw null; + public EnvironmentCredential(Azure.Identity.EnvironmentCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class EnvironmentCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public EnvironmentCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + } + public static class IdentityModelFactory + { + public static Azure.Identity.AuthenticationRecord AuthenticationRecord(string username, string authority, string homeAccountId, string tenantId, string clientId) => throw null; + public static Azure.Identity.DeviceCodeInfo DeviceCodeInfo(string userCode, string deviceCode, System.Uri verificationUri, System.DateTimeOffset expiresOn, string message, string clientId, System.Collections.Generic.IReadOnlyCollection scopes) => throw null; + } + public class InteractiveBrowserCredential : Azure.Core.TokenCredential + { + public virtual Azure.Identity.AuthenticationRecord Authenticate(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Identity.AuthenticationRecord Authenticate(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AuthenticateAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AuthenticateAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public InteractiveBrowserCredential() => throw null; + public InteractiveBrowserCredential(Azure.Identity.InteractiveBrowserCredentialOptions options) => throw null; + public InteractiveBrowserCredential(string clientId) => throw null; + public InteractiveBrowserCredential(string tenantId, string clientId, Azure.Identity.TokenCredentialOptions options = default(Azure.Identity.TokenCredentialOptions)) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class InteractiveBrowserCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public Azure.Identity.AuthenticationRecord AuthenticationRecord { get => throw null; set { } } + public Azure.Identity.BrowserCustomizationOptions BrowserCustomization { get => throw null; set { } } + public string ClientId { get => throw null; set { } } + public InteractiveBrowserCredentialOptions() => throw null; + public bool DisableAutomaticAuthentication { get => throw null; set { } } + public bool DisableInstanceDiscovery { get => throw null; set { } } + public string LoginHint { get => throw null; set { } } + public System.Uri RedirectUri { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + public Azure.Identity.TokenCachePersistenceOptions TokenCachePersistenceOptions { get => throw null; set { } } + } + public class ManagedIdentityCredential : Azure.Core.TokenCredential + { + protected ManagedIdentityCredential() => throw null; + public ManagedIdentityCredential(string clientId = default(string), Azure.Identity.TokenCredentialOptions options = default(Azure.Identity.TokenCredentialOptions)) => throw null; + public ManagedIdentityCredential(Azure.Core.ResourceIdentifier resourceId, Azure.Identity.TokenCredentialOptions options = default(Azure.Identity.TokenCredentialOptions)) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class OnBehalfOfCredential : Azure.Core.TokenCredential + { + protected OnBehalfOfCredential() => throw null; + public OnBehalfOfCredential(string tenantId, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, string userAssertion) => throw null; + public OnBehalfOfCredential(string tenantId, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, string userAssertion, Azure.Identity.OnBehalfOfCredentialOptions options) => throw null; + public OnBehalfOfCredential(string tenantId, string clientId, string clientSecret, string userAssertion) => throw null; + public OnBehalfOfCredential(string tenantId, string clientId, string clientSecret, string userAssertion, Azure.Identity.OnBehalfOfCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) => throw null; + } + public class OnBehalfOfCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public OnBehalfOfCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + public bool SendCertificateChain { get => throw null; set { } } + public Azure.Identity.TokenCachePersistenceOptions TokenCachePersistenceOptions { get => throw null; set { } } + } + public class SharedTokenCacheCredential : Azure.Core.TokenCredential + { + public SharedTokenCacheCredential() => throw null; + public SharedTokenCacheCredential(Azure.Identity.SharedTokenCacheCredentialOptions options) => throw null; + public SharedTokenCacheCredential(string username, Azure.Identity.TokenCredentialOptions options = default(Azure.Identity.TokenCredentialOptions)) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class SharedTokenCacheCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public Azure.Identity.AuthenticationRecord AuthenticationRecord { get => throw null; set { } } + public string ClientId { get => throw null; set { } } + public SharedTokenCacheCredentialOptions() => throw null; + public SharedTokenCacheCredentialOptions(Azure.Identity.TokenCachePersistenceOptions tokenCacheOptions) => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + public bool EnableGuestTenantAuthentication { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + public Azure.Identity.TokenCachePersistenceOptions TokenCachePersistenceOptions { get => throw null; set { } } + public string Username { get => throw null; set { } } + } + public struct TokenCacheData + { + public System.ReadOnlyMemory CacheBytes { get => throw null; } + public TokenCacheData(System.ReadOnlyMemory cacheBytes) => throw null; + } + public class TokenCachePersistenceOptions + { + public TokenCachePersistenceOptions() => throw null; + public string Name { get => throw null; set { } } + public bool UnsafeAllowUnencryptedStorage { get => throw null; set { } } + } + public class TokenCacheRefreshArgs + { + public bool IsCaeEnabled { get => throw null; } + public string SuggestedCacheKey { get => throw null; } + } + public class TokenCacheUpdatedArgs + { + public bool IsCaeEnabled { get => throw null; } + public System.ReadOnlyMemory UnsafeCacheData { get => throw null; } + } + public class TokenCredentialDiagnosticsOptions : Azure.Core.DiagnosticsOptions + { + public TokenCredentialDiagnosticsOptions() => throw null; + public bool IsAccountIdentifierLoggingEnabled { get => throw null; set { } } + } + public class TokenCredentialOptions : Azure.Core.ClientOptions + { + public System.Uri AuthorityHost { get => throw null; set { } } + public TokenCredentialOptions() => throw null; + public Azure.Identity.TokenCredentialDiagnosticsOptions Diagnostics { get => throw null; } + public bool IsUnsafeSupportLoggingEnabled { get => throw null; set { } } + } + public abstract class UnsafeTokenCacheOptions : Azure.Identity.TokenCachePersistenceOptions + { + protected UnsafeTokenCacheOptions() => throw null; + protected abstract System.Threading.Tasks.Task> RefreshCacheAsync(); + protected virtual System.Threading.Tasks.Task RefreshCacheAsync(Azure.Identity.TokenCacheRefreshArgs args, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected abstract System.Threading.Tasks.Task TokenCacheUpdatedAsync(Azure.Identity.TokenCacheUpdatedArgs tokenCacheUpdatedArgs); + } + public class UsernamePasswordCredential : Azure.Core.TokenCredential + { + public virtual Azure.Identity.AuthenticationRecord Authenticate(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Identity.AuthenticationRecord Authenticate(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AuthenticateAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AuthenticateAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected UsernamePasswordCredential() => throw null; + public UsernamePasswordCredential(string username, string password, string tenantId, string clientId) => throw null; + public UsernamePasswordCredential(string username, string password, string tenantId, string clientId, Azure.Identity.TokenCredentialOptions options) => throw null; + public UsernamePasswordCredential(string username, string password, string tenantId, string clientId, Azure.Identity.UsernamePasswordCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class UsernamePasswordCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public UsernamePasswordCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + public Azure.Identity.TokenCachePersistenceOptions TokenCachePersistenceOptions { get => throw null; set { } } + } + public class VisualStudioCodeCredential : Azure.Core.TokenCredential + { + public VisualStudioCodeCredential() => throw null; + public VisualStudioCodeCredential(Azure.Identity.VisualStudioCodeCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) => throw null; + } + public class VisualStudioCodeCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public VisualStudioCodeCredentialOptions() => throw null; + public string TenantId { get => throw null; set { } } + } + public class VisualStudioCredential : Azure.Core.TokenCredential + { + public VisualStudioCredential() => throw null; + public VisualStudioCredential(Azure.Identity.VisualStudioCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken) => throw null; + } + public class VisualStudioCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public VisualStudioCredentialOptions() => throw null; + public System.TimeSpan? ProcessTimeout { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + } + public class WorkloadIdentityCredential : Azure.Core.TokenCredential + { + public WorkloadIdentityCredential() => throw null; + public WorkloadIdentityCredential(Azure.Identity.WorkloadIdentityCredentialOptions options) => throw null; + public override Azure.Core.AccessToken GetToken(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask GetTokenAsync(Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + } + public class WorkloadIdentityCredentialOptions : Azure.Identity.TokenCredentialOptions + { + public System.Collections.Generic.IList AdditionallyAllowedTenants { get => throw null; } + public string ClientId { get => throw null; set { } } + public WorkloadIdentityCredentialOptions() => throw null; + public bool DisableInstanceDiscovery { get => throw null; set { } } + public string TenantId { get => throw null; set { } } + public string TokenFilePath { get => throw null; set { } } + } + } +} diff --git a/csharp/ql/test/resources/stubs/Azure.Security.KeyVault.Secrets/4.5.0/Azure.Security.KeyVault.Secrets.cs b/csharp/ql/test/resources/stubs/Azure.Security.KeyVault.Secrets/4.5.0/Azure.Security.KeyVault.Secrets.cs new file mode 100644 index 000000000000..f9bb7bbaa0c5 --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Security.KeyVault.Secrets/4.5.0/Azure.Security.KeyVault.Secrets.cs @@ -0,0 +1,143 @@ +// This file contains auto-generated code. +// Generated from `Azure.Security.KeyVault.Secrets, Version=4.5.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8`. + +namespace Azure +{ + namespace Security + { + namespace KeyVault + { + namespace Secrets + { + public class DeletedSecret : Azure.Security.KeyVault.Secrets.KeyVaultSecret + { + public System.DateTimeOffset? DeletedOn { get => throw null; } + public System.Uri RecoveryId { get => throw null; } + public System.DateTimeOffset? ScheduledPurgeDate { get => throw null; } + internal DeletedSecret() : base(default(string), default(string)) { } + } + public class DeleteSecretOperation : Azure.Operation + { + protected DeleteSecretOperation() => throw null; + public override Azure.Response GetRawResponse() => throw null; + public override bool HasCompleted { get => throw null; } + public override bool HasValue { get => throw null; } + public override string Id { get => throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Security.KeyVault.Secrets.DeletedSecret Value { get => throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken) => throw null; + } + public class KeyVaultSecret + { + public KeyVaultSecret(string name, string value) => throw null; + public System.Uri Id { get => throw null; } + public string Name { get => throw null; } + public Azure.Security.KeyVault.Secrets.SecretProperties Properties { get => throw null; } + public string Value { get => throw null; } + } + public struct KeyVaultSecretIdentifier : System.IEquatable + { + public KeyVaultSecretIdentifier(System.Uri id) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Security.KeyVault.Secrets.KeyVaultSecretIdentifier other) => throw null; + public override int GetHashCode() => throw null; + public string Name { get => throw null; } + public System.Uri SourceId { get => throw null; } + public override string ToString() => throw null; + public static bool TryCreate(System.Uri id, out Azure.Security.KeyVault.Secrets.KeyVaultSecretIdentifier identifier) => throw null; + public System.Uri VaultUri { get => throw null; } + public string Version { get => throw null; } + } + public class RecoverDeletedSecretOperation : Azure.Operation + { + protected RecoverDeletedSecretOperation() => throw null; + public override Azure.Response GetRawResponse() => throw null; + public override bool HasCompleted { get => throw null; } + public override bool HasValue { get => throw null; } + public override string Id { get => throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Security.KeyVault.Secrets.SecretProperties Value { get => throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken) => throw null; + } + public class SecretClient + { + public virtual Azure.Response BackupSecret(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> BackupSecretAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected SecretClient() => throw null; + public SecretClient(System.Uri vaultUri, Azure.Core.TokenCredential credential) => throw null; + public SecretClient(System.Uri vaultUri, Azure.Core.TokenCredential credential, Azure.Security.KeyVault.Secrets.SecretClientOptions options) => throw null; + public virtual Azure.Response GetDeletedSecret(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetDeletedSecretAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetDeletedSecrets(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetDeletedSecretsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetPropertiesOfSecrets(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetPropertiesOfSecretsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetPropertiesOfSecretVersions(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetPropertiesOfSecretVersionsAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetSecret(string name, string version = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetSecretAsync(string name, string version = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response PurgeDeletedSecret(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task PurgeDeletedSecretAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response RestoreSecretBackup(byte[] backup, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RestoreSecretBackupAsync(byte[] backup, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetSecret(Azure.Security.KeyVault.Secrets.KeyVaultSecret secret, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetSecret(string name, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetSecretAsync(Azure.Security.KeyVault.Secrets.KeyVaultSecret secret, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetSecretAsync(string name, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Security.KeyVault.Secrets.DeleteSecretOperation StartDeleteSecret(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task StartDeleteSecretAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Security.KeyVault.Secrets.RecoverDeletedSecretOperation StartRecoverDeletedSecret(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task StartRecoverDeletedSecretAsync(string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UpdateSecretProperties(Azure.Security.KeyVault.Secrets.SecretProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UpdateSecretPropertiesAsync(Azure.Security.KeyVault.Secrets.SecretProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri VaultUri { get => throw null; } + } + public class SecretClientOptions : Azure.Core.ClientOptions + { + public SecretClientOptions(Azure.Security.KeyVault.Secrets.SecretClientOptions.ServiceVersion version = default(Azure.Security.KeyVault.Secrets.SecretClientOptions.ServiceVersion)) => throw null; + public bool DisableChallengeResourceVerification { get => throw null; set { } } + public enum ServiceVersion + { + V7_0 = 0, + V7_1 = 1, + V7_2 = 2, + V7_3 = 3, + V7_4 = 4, + } + public Azure.Security.KeyVault.Secrets.SecretClientOptions.ServiceVersion Version { get => throw null; } + } + public static class SecretModelFactory + { + public static Azure.Security.KeyVault.Secrets.DeletedSecret DeletedSecret(Azure.Security.KeyVault.Secrets.SecretProperties properties, string value = default(string), System.Uri recoveryId = default(System.Uri), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), System.DateTimeOffset? scheduledPurgeDate = default(System.DateTimeOffset?)) => throw null; + public static Azure.Security.KeyVault.Secrets.KeyVaultSecret KeyVaultSecret(Azure.Security.KeyVault.Secrets.SecretProperties properties, string value = default(string)) => throw null; + public static Azure.Security.KeyVault.Secrets.SecretProperties SecretProperties(System.Uri id, System.Uri vaultUri, string name, string version, bool managed, System.Uri keyId, System.DateTimeOffset? createdOn, System.DateTimeOffset? updatedOn, string recoveryLevel) => throw null; + public static Azure.Security.KeyVault.Secrets.SecretProperties SecretProperties(System.Uri id = default(System.Uri), System.Uri vaultUri = default(System.Uri), string name = default(string), string version = default(string), bool managed = default(bool), System.Uri keyId = default(System.Uri), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? updatedOn = default(System.DateTimeOffset?), string recoveryLevel = default(string), int? recoverableDays = default(int?)) => throw null; + } + public class SecretProperties + { + public string ContentType { get => throw null; set { } } + public System.DateTimeOffset? CreatedOn { get => throw null; } + public SecretProperties(string name) => throw null; + public SecretProperties(System.Uri id) => throw null; + public bool? Enabled { get => throw null; set { } } + public System.DateTimeOffset? ExpiresOn { get => throw null; set { } } + public System.Uri Id { get => throw null; } + public System.Uri KeyId { get => throw null; } + public bool Managed { get => throw null; } + public string Name { get => throw null; } + public System.DateTimeOffset? NotBefore { get => throw null; set { } } + public int? RecoverableDays { get => throw null; } + public string RecoveryLevel { get => throw null; } + public System.Collections.Generic.IDictionary Tags { get => throw null; } + public System.DateTimeOffset? UpdatedOn { get => throw null; } + public System.Uri VaultUri { get => throw null; } + public string Version { get => throw null; } + } + } + } + } +} diff --git a/csharp/ql/test/resources/stubs/Azure.Storage.Blobs.ChangeFeed/12.0.0-preview.54/Azure.Storage.Blobs.ChangeFeed.cs b/csharp/ql/test/resources/stubs/Azure.Storage.Blobs.ChangeFeed/12.0.0-preview.54/Azure.Storage.Blobs.ChangeFeed.cs new file mode 100644 index 000000000000..53aad6ed7294 --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Storage.Blobs.ChangeFeed/12.0.0-preview.54/Azure.Storage.Blobs.ChangeFeed.cs @@ -0,0 +1,154 @@ +// This file contains auto-generated code. +// Generated from `Azure.Storage.Blobs.ChangeFeed, Version=12.0.0.0-preview.54, Culture=neutral, PublicKeyToken=92742159e12e44c8`. +namespace Azure +{ + namespace Storage + { + namespace Blobs + { + namespace ChangeFeed + { + public class BlobChangeFeedClient + { + protected BlobChangeFeedClient() => throw null; + public BlobChangeFeedClient(string connectionString) => throw null; + public BlobChangeFeedClient(string connectionString, Azure.Storage.Blobs.BlobClientOptions options, Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions changeFeedOptions) => throw null; + public BlobChangeFeedClient(System.Uri serviceUri, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions), Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions changeFeedOptions = default(Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)) => throw null; + public BlobChangeFeedClient(System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions), Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions changeFeedOptions = default(Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)) => throw null; + public BlobChangeFeedClient(System.Uri serviceUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions), Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions changeFeedOptions = default(Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)) => throw null; + public BlobChangeFeedClient(System.Uri serviceUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions), Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions changeFeedOptions = default(Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)) => throw null; + public virtual Azure.Pageable GetChanges() => throw null; + public virtual Azure.Pageable GetChanges(string continuationToken) => throw null; + public virtual Azure.Pageable GetChanges(System.DateTimeOffset? start = default(System.DateTimeOffset?), System.DateTimeOffset? end = default(System.DateTimeOffset?)) => throw null; + public virtual Azure.AsyncPageable GetChangesAsync() => throw null; + public virtual Azure.AsyncPageable GetChangesAsync(string continuationToken) => throw null; + public virtual Azure.AsyncPageable GetChangesAsync(System.DateTimeOffset? start = default(System.DateTimeOffset?), System.DateTimeOffset? end = default(System.DateTimeOffset?)) => throw null; + } + public class BlobChangeFeedClientOptions + { + public BlobChangeFeedClientOptions() => throw null; + public long? MaximumTransferSize { get => throw null; set { } } + } + public class BlobChangeFeedEvent + { + public Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventData EventData { get => throw null; } + public System.DateTimeOffset EventTime { get => throw null; } + public Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType EventType { get => throw null; } + public System.Guid Id { get => throw null; } + public string MetadataVersion { get => throw null; } + public long SchemaVersion { get => throw null; } + public string Subject { get => throw null; } + public string Topic { get => throw null; } + public override string ToString() => throw null; + } + public class BlobChangeFeedEventData + { + public Azure.Storage.Blobs.Models.AccessTier? BlobAccessTier { get => throw null; } + public Azure.Storage.Blobs.ChangeFeed.BlobOperationName BlobOperationName { get => throw null; } + public Azure.Storage.Blobs.Models.BlobType BlobType { get => throw null; } + public string BlobVersion { get => throw null; } + public string ClientRequestId { get => throw null; } + public string ContainerVersion { get => throw null; } + public long ContentLength { get => throw null; } + public long? ContentOffset { get => throw null; } + public string ContentType { get => throw null; } + public System.Uri DestinationUri { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public Azure.Storage.Blobs.ChangeFeed.BlobOperationResult LongRunningOperationInfo { get => throw null; } + public Azure.Storage.Blobs.ChangeFeed.ChangeFeedEventPreviousInfo PreviousInfo { get => throw null; } + public bool? Recursive { get => throw null; } + public System.Guid RequestId { get => throw null; } + public string Sequencer { get => throw null; } + public string Snapshot { get => throw null; } + public System.Uri SourceUri { get => throw null; } + public System.Collections.Generic.Dictionary UpdatedBlobProperties { get => throw null; } + public Azure.Storage.Blobs.ChangeFeed.BlobTagsChange UpdatedBlobTags { get => throw null; } + public System.Uri Uri { get => throw null; } + } + public struct BlobChangeFeedEventType : System.IEquatable + { + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType BlobAsyncOperationInitiated { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType BlobCreated { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType BlobDeleted { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType BlobPropertiesUpdated { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType BlobSnapshotCreated { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType BlobTierChanged { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType Control { get => throw null; } + public BlobChangeFeedEventType(string value) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType left, Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType right) => throw null; + public static implicit operator Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType(string value) => throw null; + public static bool operator !=(Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType left, Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType right) => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType RestorePointMarkerCreated { get => throw null; } + public override string ToString() => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType UnspecifiedEventType { get => throw null; } + } + public static partial class BlobChangeFeedExtensions + { + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClient GetChangeFeedClient(this Azure.Storage.Blobs.BlobServiceClient serviceClient, Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions options = default(Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedClientOptions)) => throw null; + } + public static class BlobChangeFeedModelFactory + { + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEvent BlobChangeFeedEvent(string topic, string subject, Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventType eventType, System.DateTimeOffset eventTime, System.Guid id, Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventData eventData, long dataVersion, string metadataVersion) => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationResult BlobChangeFeedEventAsyncOperationInfo(Azure.Storage.Blobs.Models.AccessTier? destinationAccessTier, bool wasAsyncOperation, string copyId) => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobChangeFeedEventData BlobChangeFeedEventData(string blobOperationName, string clientRequestId, System.Guid requestId, Azure.ETag eTag, string contentType, long contentLength, Azure.Storage.Blobs.Models.BlobType blobType, string blobVersion, string containerVersion, Azure.Storage.Blobs.Models.AccessTier? blobAccessTier, long contentOffset, System.Uri destinationUri, System.Uri sourceUri, System.Uri uri, bool recursive, string sequencer, Azure.Storage.Blobs.ChangeFeed.ChangeFeedEventPreviousInfo previousInfo, string snapshot, System.Collections.Generic.Dictionary updatedBlobProperties, Azure.Storage.Blobs.ChangeFeed.BlobOperationResult asyncOperationInfo, Azure.Storage.Blobs.ChangeFeed.BlobTagsChange updatedBlobTags) => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobPropertyChange BlobChangeFeedEventUpdatedBlobProperty(string propertyName, string previousValue, string newValue) => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobTagsChange BlobChangeFeedEventUpdatedBlobTags(System.Collections.Generic.Dictionary previousTags, System.Collections.Generic.Dictionary newTags) => throw null; + public static Azure.Storage.Blobs.ChangeFeed.ChangeFeedEventPreviousInfo ChangeFeedEventPreviousInfo(string softDeleteSnapshot, bool wasBlobSoftDeleted, string blobVersion, string lastVersion, Azure.Storage.Blobs.Models.AccessTier? previousTier) => throw null; + } + public struct BlobOperationName : System.IEquatable + { + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName AbortCopyBlob { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName ControlEvent { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName CopyBlob { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName CreateRestorePointMarker { get => throw null; } + public BlobOperationName(string value) => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName DeleteBlob { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Blobs.ChangeFeed.BlobOperationName other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Blobs.ChangeFeed.BlobOperationName left, Azure.Storage.Blobs.ChangeFeed.BlobOperationName right) => throw null; + public static implicit operator Azure.Storage.Blobs.ChangeFeed.BlobOperationName(string value) => throw null; + public static bool operator !=(Azure.Storage.Blobs.ChangeFeed.BlobOperationName left, Azure.Storage.Blobs.ChangeFeed.BlobOperationName right) => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName PutBlob { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName PutBlockList { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName SetBlobMetadata { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName SetBlobProperties { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName SetBlobTags { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName SetBlobTier { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName SnapshotBlob { get => throw null; } + public override string ToString() => throw null; + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName UndeleteBlob { get => throw null; } + public static Azure.Storage.Blobs.ChangeFeed.BlobOperationName UnspecifiedApi { get => throw null; } + } + public class BlobOperationResult + { + public string CopyId { get => throw null; } + public Azure.Storage.Blobs.Models.AccessTier? DestinationAccessTier { get => throw null; } + public bool IsAsync { get => throw null; } + } + public class BlobPropertyChange + { + public string NewValue { get => throw null; } + public string OldValue { get => throw null; } + public string PropertyName { get => throw null; } + } + public class BlobTagsChange + { + public System.Collections.Generic.Dictionary NewTags { get => throw null; } + public System.Collections.Generic.Dictionary OldTags { get => throw null; } + } + public class ChangeFeedEventPreviousInfo + { + public string NewBlobVersion { get => throw null; } + public string OldBlobVersion { get => throw null; } + public Azure.Storage.Blobs.Models.AccessTier? PreviousTier { get => throw null; } + public string SoftDeleteSnapshot { get => throw null; } + public bool WasBlobSoftDeleted { get => throw null; } + } + } + } + } +} diff --git a/csharp/ql/test/resources/stubs/Azure.Storage.Blobs/12.19.1/Azure.Storage.Blobs.cs b/csharp/ql/test/resources/stubs/Azure.Storage.Blobs/12.19.1/Azure.Storage.Blobs.cs new file mode 100644 index 000000000000..4fc7bfc15603 --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Storage.Blobs/12.19.1/Azure.Storage.Blobs.cs @@ -0,0 +1,1806 @@ +// This file contains auto-generated code. +// Generated from `Azure.Storage.Blobs, Version=12.19.1.0, Culture=neutral, PublicKeyToken=92742159e12e44c8`. +using Azure.Core.Extensions; +using Azure.Storage; +using Azure.Storage.Blobs; + +namespace Azure +{ + namespace Storage + { + namespace Blobs + { + public class BlobClient : Azure.Storage.Blobs.Specialized.BlobBaseClient + { + protected BlobClient() => throw null; + public BlobClient(string connectionString, string blobContainerName, string blobName) => throw null; + public BlobClient(string connectionString, string blobContainerName, string blobName, Azure.Storage.Blobs.BlobClientOptions options) => throw null; + public BlobClient(System.Uri blobUri, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobClient(System.Uri blobUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobClient(System.Uri blobUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public virtual System.IO.Stream OpenWrite(bool overwrite, Azure.Storage.Blobs.Models.BlobOpenWriteOptions options = default(Azure.Storage.Blobs.Models.BlobOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool overwrite, Azure.Storage.Blobs.Models.BlobOpenWriteOptions options = default(Azure.Storage.Blobs.Models.BlobOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content) => throw null; + public virtual Azure.Response Upload(System.BinaryData content) => throw null; + public virtual Azure.Response Upload(string path) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Upload(System.BinaryData content, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Upload(string path, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.BinaryData content, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(string path, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, Azure.Storage.Blobs.Models.BlobUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.BinaryData content, Azure.Storage.Blobs.Models.BlobUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.IProgress progressHandler = default(System.IProgress), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(string path, Azure.Storage.Blobs.Models.BlobUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(string path, Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.IProgress progressHandler = default(System.IProgress), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.BinaryData content) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.BinaryData content, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.BinaryData content, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, Azure.Storage.Blobs.Models.BlobUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.BinaryData content, Azure.Storage.Blobs.Models.BlobUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.IProgress progressHandler = default(System.IProgress), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path, Azure.Storage.Blobs.Models.BlobUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path, Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.IProgress progressHandler = default(System.IProgress), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Blobs.BlobClient WithClientSideEncryptionOptionsCore(Azure.Storage.ClientSideEncryptionOptions clientSideEncryptionOptions) => throw null; + public Azure.Storage.Blobs.BlobClient WithCustomerProvidedKey(Azure.Storage.Blobs.Models.CustomerProvidedKey? customerProvidedKey) => throw null; + public Azure.Storage.Blobs.BlobClient WithEncryptionScope(string encryptionScope) => throw null; + public Azure.Storage.Blobs.BlobClient WithSnapshot(string snapshot) => throw null; + public Azure.Storage.Blobs.BlobClient WithVersion(string versionId) => throw null; + } + public class BlobClientOptions : Azure.Core.ClientOptions + { + public Azure.Storage.Blobs.Models.BlobAudience? Audience { get => throw null; set { } } + public BlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = default(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion)) => throw null; + public Azure.Storage.Blobs.Models.CustomerProvidedKey? CustomerProvidedKey { get => throw null; set { } } + public bool EnableTenantDiscovery { get => throw null; set { } } + public string EncryptionScope { get => throw null; set { } } + public System.Uri GeoRedundantSecondaryUri { get => throw null; set { } } + public enum ServiceVersion + { + V2019_02_02 = 1, + V2019_07_07 = 2, + V2019_12_12 = 3, + V2020_02_10 = 4, + V2020_04_08 = 5, + V2020_06_12 = 6, + V2020_08_04 = 7, + V2020_10_02 = 8, + V2020_12_06 = 9, + V2021_02_12 = 10, + V2021_04_10 = 11, + V2021_06_08 = 12, + V2021_08_06 = 13, + V2021_10_04 = 14, + V2021_12_02 = 15, + V2022_11_02 = 16, + V2023_01_03 = 17, + V2023_05_03 = 18, + V2023_08_03 = 19, + V2023_11_03 = 20, + } + public Azure.Storage.TransferValidationOptions TransferValidation { get => throw null; } + public bool TrimBlobNameSlashes { get => throw null; set { } } + public Azure.Storage.Blobs.BlobClientOptions.ServiceVersion Version { get => throw null; } + } + public class BlobContainerClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateSasUri { get => throw null; } + public virtual Azure.Response Create(Azure.Storage.Blobs.Models.PublicAccessType publicAccessType = default(Azure.Storage.Blobs.Models.PublicAccessType), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobContainerEncryptionScopeOptions encryptionScopeOptions = default(Azure.Storage.Blobs.Models.BlobContainerEncryptionScopeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(Azure.Storage.Blobs.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Blobs.Models.PublicAccessType publicAccessType = default(Azure.Storage.Blobs.Models.PublicAccessType), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobContainerEncryptionScopeOptions encryptionScopeOptions = default(Azure.Storage.Blobs.Models.BlobContainerEncryptionScopeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Blobs.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + protected static Azure.Storage.Blobs.BlobContainerClient CreateClient(System.Uri containerUri, Azure.Storage.Blobs.BlobClientOptions options, Azure.Core.Pipeline.HttpPipeline pipeline) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Blobs.Models.PublicAccessType publicAccessType = default(Azure.Storage.Blobs.Models.PublicAccessType), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobContainerEncryptionScopeOptions encryptionScopeOptions = default(Azure.Storage.Blobs.Models.BlobContainerEncryptionScopeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Blobs.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Blobs.Models.PublicAccessType publicAccessType = default(Azure.Storage.Blobs.Models.PublicAccessType), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobContainerEncryptionScopeOptions encryptionScopeOptions = default(Azure.Storage.Blobs.Models.BlobContainerEncryptionScopeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Blobs.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + protected BlobContainerClient() => throw null; + public BlobContainerClient(string connectionString, string blobContainerName) => throw null; + public BlobContainerClient(string connectionString, string blobContainerName, Azure.Storage.Blobs.BlobClientOptions options) => throw null; + public BlobContainerClient(System.Uri blobContainerUri, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobContainerClient(System.Uri blobContainerUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobContainerClient(System.Uri blobContainerUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobContainerClient(System.Uri blobContainerUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public virtual Azure.Response Delete(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteBlob(string blobName, Azure.Storage.Blobs.Models.DeleteSnapshotsOption snapshotsOption = default(Azure.Storage.Blobs.Models.DeleteSnapshotsOption), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteBlobAsync(string blobName, Azure.Storage.Blobs.Models.DeleteSnapshotsOption snapshotsOption = default(Azure.Storage.Blobs.Models.DeleteSnapshotsOption), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteBlobIfExists(string blobName, Azure.Storage.Blobs.Models.DeleteSnapshotsOption snapshotsOption = default(Azure.Storage.Blobs.Models.DeleteSnapshotsOption), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteBlobIfExistsAsync(string blobName, Azure.Storage.Blobs.Models.DeleteSnapshotsOption snapshotsOption = default(Azure.Storage.Blobs.Models.DeleteSnapshotsOption), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Exists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable FindBlobsByTags(string tagFilterSqlExpression, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable FindBlobsByTagsAsync(string tagFilterSqlExpression, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.BlobContainerSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.BlobSasBuilder builder) => throw null; + public virtual Azure.Response GetAccessPolicy(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetAccessPolicyAsync(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Blobs.Specialized.AppendBlobClient GetAppendBlobClientCore(string blobName) => throw null; + protected virtual Azure.Storage.Blobs.Specialized.BlobBaseClient GetBlobBaseClientCore(string blobName) => throw null; + public virtual Azure.Storage.Blobs.BlobClient GetBlobClient(string blobName) => throw null; + protected virtual Azure.Storage.Blobs.Specialized.BlobLeaseClient GetBlobLeaseClientCore(string leaseId) => throw null; + public virtual Azure.Pageable GetBlobs(Azure.Storage.Blobs.Models.BlobTraits traits = default(Azure.Storage.Blobs.Models.BlobTraits), Azure.Storage.Blobs.Models.BlobStates states = default(Azure.Storage.Blobs.Models.BlobStates), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetBlobsAsync(Azure.Storage.Blobs.Models.BlobTraits traits = default(Azure.Storage.Blobs.Models.BlobTraits), Azure.Storage.Blobs.Models.BlobStates states = default(Azure.Storage.Blobs.Models.BlobStates), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetBlobsByHierarchy(Azure.Storage.Blobs.Models.BlobTraits traits = default(Azure.Storage.Blobs.Models.BlobTraits), Azure.Storage.Blobs.Models.BlobStates states = default(Azure.Storage.Blobs.Models.BlobStates), string delimiter = default(string), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetBlobsByHierarchyAsync(Azure.Storage.Blobs.Models.BlobTraits traits = default(Azure.Storage.Blobs.Models.BlobTraits), Azure.Storage.Blobs.Models.BlobStates states = default(Azure.Storage.Blobs.Models.BlobStates), string delimiter = default(string), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Blobs.Specialized.BlockBlobClient GetBlockBlobClientCore(string blobName) => throw null; + protected virtual Azure.Storage.Blobs.Specialized.PageBlobClient GetPageBlobClientCore(string blobName) => throw null; + protected virtual Azure.Storage.Blobs.BlobServiceClient GetParentBlobServiceClientCore() => throw null; + public virtual Azure.Response GetProperties(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static readonly string LogsBlobContainerName; + public virtual string Name { get => throw null; } + public static readonly string RootBlobContainerName; + public virtual Azure.Response SetAccessPolicy(Azure.Storage.Blobs.Models.PublicAccessType accessType = default(Azure.Storage.Blobs.Models.PublicAccessType), System.Collections.Generic.IEnumerable permissions = default(System.Collections.Generic.IEnumerable), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetAccessPolicyAsync(Azure.Storage.Blobs.Models.PublicAccessType accessType = default(Azure.Storage.Blobs.Models.PublicAccessType), System.Collections.Generic.IEnumerable permissions = default(System.Collections.Generic.IEnumerable), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UploadBlob(string blobName, System.IO.Stream content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UploadBlob(string blobName, System.BinaryData content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadBlobAsync(string blobName, System.IO.Stream content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadBlobAsync(string blobName, System.BinaryData content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + public static readonly string WebBlobContainerName; + } + public class BlobServiceClient + { + public string AccountName { get => throw null; } + public virtual bool CanGenerateAccountSasUri { get => throw null; } + public virtual Azure.Response CreateBlobContainer(string blobContainerName, Azure.Storage.Blobs.Models.PublicAccessType publicAccessType = default(Azure.Storage.Blobs.Models.PublicAccessType), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateBlobContainerAsync(string blobContainerName, Azure.Storage.Blobs.Models.PublicAccessType publicAccessType = default(Azure.Storage.Blobs.Models.PublicAccessType), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected static Azure.Storage.Blobs.BlobServiceClient CreateClient(System.Uri serviceUri, Azure.Storage.Blobs.BlobClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy authentication, Azure.Core.Pipeline.HttpPipeline pipeline, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, Azure.AzureSasCredential sasCredential, Azure.Core.TokenCredential tokenCredential) => throw null; + protected static Azure.Storage.Blobs.BlobServiceClient CreateClient(System.Uri serviceUri, Azure.Storage.Blobs.BlobClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy authentication, Azure.Core.Pipeline.HttpPipeline pipeline) => throw null; + protected BlobServiceClient() => throw null; + public BlobServiceClient(string connectionString) => throw null; + public BlobServiceClient(string connectionString, Azure.Storage.Blobs.BlobClientOptions options) => throw null; + public BlobServiceClient(System.Uri serviceUri, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobServiceClient(System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobServiceClient(System.Uri serviceUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobServiceClient(System.Uri serviceUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public virtual Azure.Response DeleteBlobContainer(string blobContainerName, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteBlobContainerAsync(string blobContainerName, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable FindBlobsByTags(string tagFilterSqlExpression, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable FindBlobsByTagsAsync(string tagFilterSqlExpression, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasBuilder builder) => throw null; + public virtual Azure.Response GetAccountInfo(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetAccountInfoAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected static Azure.Core.Pipeline.HttpPipelinePolicy GetAuthenticationPolicy(Azure.Storage.Blobs.BlobServiceClient client) => throw null; + public virtual Azure.Storage.Blobs.BlobContainerClient GetBlobContainerClient(string blobContainerName) => throw null; + public virtual Azure.Pageable GetBlobContainers(Azure.Storage.Blobs.Models.BlobContainerTraits traits = default(Azure.Storage.Blobs.Models.BlobContainerTraits), Azure.Storage.Blobs.Models.BlobContainerStates states = default(Azure.Storage.Blobs.Models.BlobContainerStates), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetBlobContainers(Azure.Storage.Blobs.Models.BlobContainerTraits traits, string prefix, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.AsyncPageable GetBlobContainersAsync(Azure.Storage.Blobs.Models.BlobContainerTraits traits = default(Azure.Storage.Blobs.Models.BlobContainerTraits), Azure.Storage.Blobs.Models.BlobContainerStates states = default(Azure.Storage.Blobs.Models.BlobContainerStates), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetBlobContainersAsync(Azure.Storage.Blobs.Models.BlobContainerTraits traits, string prefix, System.Threading.CancellationToken cancellationToken) => throw null; + protected static Azure.Storage.Blobs.BlobClientOptions GetClientOptions(Azure.Storage.Blobs.BlobServiceClient client) => throw null; + protected static Azure.Core.Pipeline.HttpPipeline GetHttpPipeline(Azure.Storage.Blobs.BlobServiceClient client) => throw null; + public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetStatistics(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetStatisticsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetUserDelegationKey(System.DateTimeOffset? startsOn, System.DateTimeOffset expiresOn, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetUserDelegationKeyAsync(System.DateTimeOffset? startsOn, System.DateTimeOffset expiresOn, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetProperties(Azure.Storage.Blobs.Models.BlobServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task SetPropertiesAsync(Azure.Storage.Blobs.Models.BlobServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UndeleteBlobContainer(string deletedContainerName, string deletedContainerVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UndeleteBlobContainer(string deletedContainerName, string deletedContainerVersion, string destinationContainerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UndeleteBlobContainerAsync(string deletedContainerName, string deletedContainerVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UndeleteBlobContainerAsync(string deletedContainerName, string deletedContainerVersion, string destinationContainerName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + } + public class BlobUriBuilder + { + public string AccountName { get => throw null; set { } } + public string BlobContainerName { get => throw null; set { } } + public string BlobName { get => throw null; set { } } + public BlobUriBuilder(System.Uri uri) => throw null; + public BlobUriBuilder(System.Uri uri, bool trimBlobNameSlashes) => throw null; + public string Host { get => throw null; set { } } + public int Port { get => throw null; set { } } + public string Query { get => throw null; set { } } + public Azure.Storage.Sas.BlobSasQueryParameters Sas { get => throw null; set { } } + public string Scheme { get => throw null; set { } } + public string Snapshot { get => throw null; set { } } + public override string ToString() => throw null; + public System.Uri ToUri() => throw null; + public bool TrimBlobNameSlashes { get => throw null; } + public string VersionId { get => throw null; set { } } + } + namespace Models + { + public struct AccessTier : System.IEquatable + { + public static Azure.Storage.Blobs.Models.AccessTier Archive { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier Cold { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier Cool { get => throw null; } + public AccessTier(string value) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Blobs.Models.AccessTier other) => throw null; + public override int GetHashCode() => throw null; + public static Azure.Storage.Blobs.Models.AccessTier Hot { get => throw null; } + public static bool operator ==(Azure.Storage.Blobs.Models.AccessTier left, Azure.Storage.Blobs.Models.AccessTier right) => throw null; + public static implicit operator Azure.Storage.Blobs.Models.AccessTier(string value) => throw null; + public static bool operator !=(Azure.Storage.Blobs.Models.AccessTier left, Azure.Storage.Blobs.Models.AccessTier right) => throw null; + public static Azure.Storage.Blobs.Models.AccessTier P10 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P15 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P20 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P30 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P4 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P40 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P50 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P6 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P60 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P70 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier P80 { get => throw null; } + public static Azure.Storage.Blobs.Models.AccessTier Premium { get => throw null; } + public override string ToString() => throw null; + } + public class AccountInfo + { + public Azure.Storage.Blobs.Models.AccountKind AccountKind { get => throw null; } + public bool IsHierarchicalNamespaceEnabled { get => throw null; } + public Azure.Storage.Blobs.Models.SkuName SkuName { get => throw null; } + } + public enum AccountKind + { + Storage = 0, + BlobStorage = 1, + StorageV2 = 2, + FileStorage = 3, + BlockBlobStorage = 4, + } + public class AppendBlobAppendBlockFromUriOptions + { + public AppendBlobAppendBlockFromUriOptions() => throw null; + public Azure.Storage.Blobs.Models.AppendBlobRequestConditions DestinationConditions { get => throw null; set { } } + public Azure.HttpAuthorization SourceAuthentication { get => throw null; set { } } + public Azure.Storage.Blobs.Models.AppendBlobRequestConditions SourceConditions { get => throw null; set { } } + public byte[] SourceContentHash { get => throw null; set { } } + public Azure.HttpRange SourceRange { get => throw null; set { } } + } + public class AppendBlobAppendBlockOptions + { + public Azure.Storage.Blobs.Models.AppendBlobRequestConditions Conditions { get => throw null; set { } } + public AppendBlobAppendBlockOptions() => throw null; + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class AppendBlobCreateOptions + { + public Azure.Storage.Blobs.Models.AppendBlobRequestConditions Conditions { get => throw null; set { } } + public AppendBlobCreateOptions() => throw null; + public bool? HasLegalHold { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobHttpHeaders HttpHeaders { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicy ImmutabilityPolicy { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public System.Collections.Generic.IDictionary Tags { get => throw null; set { } } + } + public class AppendBlobOpenWriteOptions + { + public long? BufferSize { get => throw null; set { } } + public AppendBlobOpenWriteOptions() => throw null; + public Azure.Storage.Blobs.Models.AppendBlobRequestConditions OpenConditions { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class AppendBlobRequestConditions : Azure.Storage.Blobs.Models.BlobRequestConditions + { + public AppendBlobRequestConditions() => throw null; + public long? IfAppendPositionEqual { get => throw null; set { } } + public long? IfMaxSizeLessThanOrEqual { get => throw null; set { } } + } + public enum ArchiveStatus + { + RehydratePendingToHot = 0, + RehydratePendingToCool = 1, + RehydratePendingToCold = 2, + } + public class BlobAccessPolicy + { + public BlobAccessPolicy() => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; set { } } + public string Permissions { get => throw null; set { } } + public System.DateTimeOffset? PolicyExpiresOn { get => throw null; set { } } + public System.DateTimeOffset? PolicyStartsOn { get => throw null; set { } } + public System.DateTimeOffset StartsOn { get => throw null; set { } } + } + public class BlobAnalyticsLogging + { + public BlobAnalyticsLogging() => throw null; + public bool Delete { get => throw null; set { } } + public bool Read { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRetentionPolicy RetentionPolicy { get => throw null; set { } } + public string Version { get => throw null; set { } } + public bool Write { get => throw null; set { } } + } + public class BlobAppendInfo + { + public string BlobAppendOffset { get => throw null; } + public int BlobCommittedBlockCount { get => throw null; } + public byte[] ContentCrc64 { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string EncryptionKeySha256 { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public struct BlobAudience : System.IEquatable + { + public static Azure.Storage.Blobs.Models.BlobAudience CreateBlobServiceAccountAudience(string storageAccountName) => throw null; + public BlobAudience(string value) => throw null; + public static Azure.Storage.Blobs.Models.BlobAudience DefaultAudience { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Blobs.Models.BlobAudience other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Blobs.Models.BlobAudience left, Azure.Storage.Blobs.Models.BlobAudience right) => throw null; + public static implicit operator Azure.Storage.Blobs.Models.BlobAudience(string value) => throw null; + public static bool operator !=(Azure.Storage.Blobs.Models.BlobAudience left, Azure.Storage.Blobs.Models.BlobAudience right) => throw null; + public override string ToString() => throw null; + } + public struct BlobBlock : System.IEquatable + { + public bool Equals(Azure.Storage.Blobs.Models.BlobBlock other) => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public string Name { get => throw null; } + public int Size { get => throw null; } + public long SizeLong { get => throw null; } + } + public class BlobContainerAccessPolicy + { + public Azure.Storage.Blobs.Models.PublicAccessType BlobPublicAccess { get => throw null; } + public BlobContainerAccessPolicy() => throw null; + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public System.Collections.Generic.IEnumerable SignedIdentifiers { get => throw null; } + } + public class BlobContainerEncryptionScopeOptions + { + public BlobContainerEncryptionScopeOptions() => throw null; + public string DefaultEncryptionScope { get => throw null; set { } } + public bool PreventEncryptionScopeOverride { get => throw null; set { } } + } + public class BlobContainerInfo + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public class BlobContainerItem + { + public bool? IsDeleted { get => throw null; } + public string Name { get => throw null; } + public Azure.Storage.Blobs.Models.BlobContainerProperties Properties { get => throw null; } + public string VersionId { get => throw null; } + } + public class BlobContainerProperties + { + public string DefaultEncryptionScope { get => throw null; } + public System.DateTimeOffset? DeletedOn { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public bool? HasImmutabilityPolicy { get => throw null; } + public bool HasImmutableStorageWithVersioning { get => throw null; } + public bool? HasLegalHold { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseDurationType? LeaseDuration { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseState? LeaseState { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseStatus? LeaseStatus { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public bool? PreventEncryptionScopeOverride { get => throw null; } + public Azure.Storage.Blobs.Models.PublicAccessType? PublicAccess { get => throw null; } + public int? RemainingRetentionDays { get => throw null; } + } + [System.Flags] + public enum BlobContainerStates + { + None = 0, + Deleted = 1, + System = 2, + } + [System.Flags] + public enum BlobContainerTraits + { + None = 0, + Metadata = 1, + } + public class BlobContentInfo + { + public long BlobSequenceNumber { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string EncryptionKeySha256 { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string VersionId { get => throw null; } + } + public class BlobCopyFromUriOptions + { + public Azure.Storage.Blobs.Models.AccessTier? AccessTier { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobCopySourceTagsMode? CopySourceTagsMode { get => throw null; set { } } + public BlobCopyFromUriOptions() => throw null; + public Azure.Storage.Blobs.Models.BlobRequestConditions DestinationConditions { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicy DestinationImmutabilityPolicy { get => throw null; set { } } + public bool? LegalHold { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.Storage.Blobs.Models.RehydratePriority? RehydratePriority { get => throw null; set { } } + public bool? ShouldSealDestination { get => throw null; set { } } + public Azure.HttpAuthorization SourceAuthentication { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get => throw null; set { } } + public System.Collections.Generic.IDictionary Tags { get => throw null; set { } } + } + public class BlobCopyInfo + { + public string CopyId { get => throw null; } + public Azure.Storage.Blobs.Models.CopyStatus CopyStatus { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string VersionId { get => throw null; } + } + public enum BlobCopySourceTagsMode + { + Replace = 0, + Copy = 1, + } + public class BlobCorsRule + { + public string AllowedHeaders { get => throw null; set { } } + public string AllowedMethods { get => throw null; set { } } + public string AllowedOrigins { get => throw null; set { } } + public BlobCorsRule() => throw null; + public string ExposedHeaders { get => throw null; set { } } + public int MaxAgeInSeconds { get => throw null; set { } } + } + public class BlobDownloadDetails + { + public string AcceptRanges { get => throw null; } + public int BlobCommittedBlockCount { get => throw null; } + public byte[] BlobContentHash { get => throw null; } + public long BlobSequenceNumber { get => throw null; } + public Azure.Storage.Blobs.Models.BlobType BlobType { get => throw null; } + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public string ContentEncoding { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string ContentLanguage { get => throw null; } + public long ContentLength { get => throw null; } + public string ContentRange { get => throw null; } + public string ContentType { get => throw null; } + public System.DateTimeOffset CopyCompletedOn { get => throw null; } + public string CopyId { get => throw null; } + public string CopyProgress { get => throw null; } + public System.Uri CopySource { get => throw null; } + public Azure.Storage.Blobs.Models.CopyStatus CopyStatus { get => throw null; } + public string CopyStatusDescription { get => throw null; } + public System.DateTimeOffset CreatedOn { get => throw null; } + public BlobDownloadDetails() => throw null; + public string EncryptionKeySha256 { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public bool HasLegalHold { get => throw null; } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicy ImmutabilityPolicy { get => throw null; } + public bool IsSealed { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastAccessed { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseDurationType LeaseDuration { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseState LeaseState { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseStatus LeaseStatus { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public string ObjectReplicationDestinationPolicyId { get => throw null; } + public System.Collections.Generic.IList ObjectReplicationSourceProperties { get => throw null; } + public long TagCount { get => throw null; } + public string VersionId { get => throw null; } + } + public class BlobDownloadInfo : System.IDisposable + { + public Azure.Storage.Blobs.Models.BlobType BlobType { get => throw null; } + public System.IO.Stream Content { get => throw null; } + public byte[] ContentHash { get => throw null; } + public long ContentLength { get => throw null; } + public string ContentType { get => throw null; } + public Azure.Storage.Blobs.Models.BlobDownloadDetails Details { get => throw null; } + public void Dispose() => throw null; + } + public class BlobDownloadOptions + { + public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get => throw null; set { } } + public BlobDownloadOptions() => throw null; + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.HttpRange Range { get => throw null; set { } } + public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class BlobDownloadResult + { + public System.BinaryData Content { get => throw null; } + public Azure.Storage.Blobs.Models.BlobDownloadDetails Details { get => throw null; } + } + public class BlobDownloadStreamingResult : System.IDisposable + { + public System.IO.Stream Content { get => throw null; } + public Azure.Storage.Blobs.Models.BlobDownloadDetails Details { get => throw null; } + public void Dispose() => throw null; + } + public class BlobDownloadToOptions + { + public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get => throw null; set { } } + public BlobDownloadToOptions() => throw null; + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.StorageTransferOptions TransferOptions { get => throw null; set { } } + public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public struct BlobErrorCode : System.IEquatable + { + public static Azure.Storage.Blobs.Models.BlobErrorCode AccountAlreadyExists { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AccountBeingCreated { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AccountIsDisabled { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AppendPositionConditionNotMet { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AuthenticationFailed { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AuthorizationFailure { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AuthorizationPermissionMismatch { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AuthorizationProtocolMismatch { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AuthorizationResourceTypeMismatch { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AuthorizationServiceMismatch { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode AuthorizationSourceIPMismatch { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobAlreadyExists { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobArchived { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobBeingRehydrated { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobImmutableDueToPolicy { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobNotArchived { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobNotFound { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobOverwritten { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobTierInadequateForContentLength { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlobUsesCustomerSpecifiedEncryption { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlockCountExceedsLimit { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode BlockListTooLong { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode CannotChangeToLowerTier { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode CannotVerifyCopySource { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ConditionHeadersNotSupported { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ConditionNotMet { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ContainerAlreadyExists { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ContainerBeingDeleted { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ContainerDisabled { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ContainerNotFound { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ContentLengthLargerThanTierLimit { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode CopyAcrossAccountsNotSupported { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode CopyIdMismatch { get => throw null; } + public BlobErrorCode(string value) => throw null; + public static Azure.Storage.Blobs.Models.BlobErrorCode EmptyMetadataKey { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Blobs.Models.BlobErrorCode other) => throw null; + public static Azure.Storage.Blobs.Models.BlobErrorCode FeatureVersionMismatch { get => throw null; } + public override int GetHashCode() => throw null; + public static Azure.Storage.Blobs.Models.BlobErrorCode IncrementalCopyBlobMismatch { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode IncrementalCopyOfEarlierVersionSnapshotNotAllowed { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode IncrementalCopyOfEralierVersionSnapshotNotAllowed { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode IncrementalCopySourceMustBeSnapshot { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InfiniteLeaseDurationRequired { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InsufficientAccountPermissions { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InternalError { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidAuthenticationInfo { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidBlobOrBlock { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidBlobTier { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidBlobType { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidBlockId { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidBlockList { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidHeaderValue { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidHttpVerb { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidInput { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidMd5 { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidMetadata { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidPageRange { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidQueryParameterValue { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidRange { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidResourceName { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidSourceBlobType { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidSourceBlobUrl { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidUri { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidVersionForPageBlobOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidXmlDocument { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode InvalidXmlNodeValue { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseAlreadyBroken { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseAlreadyPresent { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseIdMismatchWithBlobOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseIdMismatchWithContainerOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseIdMismatchWithLeaseOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseIdMissing { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseIsBreakingAndCannotBeAcquired { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseIsBreakingAndCannotBeChanged { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseIsBrokenAndCannotBeRenewed { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseLost { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseNotPresentWithBlobOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseNotPresentWithContainerOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode LeaseNotPresentWithLeaseOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode MaxBlobSizeConditionNotMet { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode Md5Mismatch { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode MetadataTooLarge { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode MissingContentLengthHeader { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode MissingRequiredHeader { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode MissingRequiredQueryParameter { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode MissingRequiredXmlNode { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode MultipleConditionHeadersNotSupported { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode NoAuthenticationInformation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode NoPendingCopyOperation { get => throw null; } + public static bool operator ==(Azure.Storage.Blobs.Models.BlobErrorCode left, Azure.Storage.Blobs.Models.BlobErrorCode right) => throw null; + public static implicit operator Azure.Storage.Blobs.Models.BlobErrorCode(string value) => throw null; + public static bool operator !=(Azure.Storage.Blobs.Models.BlobErrorCode left, Azure.Storage.Blobs.Models.BlobErrorCode right) => throw null; + public static Azure.Storage.Blobs.Models.BlobErrorCode OperationNotAllowedOnIncrementalCopyBlob { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode OperationTimedOut { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode OutOfRangeInput { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode OutOfRangeQueryParameterValue { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode PendingCopyOperation { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode PreviousSnapshotCannotBeNewer { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode PreviousSnapshotNotFound { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode PreviousSnapshotOperationNotSupported { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode RequestBodyTooLarge { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode RequestUrlFailedToParse { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ResourceAlreadyExists { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ResourceNotFound { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ResourceTypeMismatch { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode SequenceNumberConditionNotMet { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode SequenceNumberIncrementTooLarge { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode ServerBusy { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode SnaphotOperationRateExceeded { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode SnapshotCountExceeded { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode SnapshotOperationRateExceeded { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode SnapshotsPresent { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode SourceConditionNotMet { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode SystemInUse { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode TargetConditionNotMet { get => throw null; } + public override string ToString() => throw null; + public static Azure.Storage.Blobs.Models.BlobErrorCode UnauthorizedBlobOverwrite { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode UnsupportedHeader { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode UnsupportedHttpVerb { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode UnsupportedQueryParameter { get => throw null; } + public static Azure.Storage.Blobs.Models.BlobErrorCode UnsupportedXmlNode { get => throw null; } + } + public class BlobGeoReplication + { + public System.DateTimeOffset? LastSyncedOn { get => throw null; } + public Azure.Storage.Blobs.Models.BlobGeoReplicationStatus Status { get => throw null; } + } + public enum BlobGeoReplicationStatus + { + Live = 0, + Bootstrap = 1, + Unavailable = 2, + } + public class BlobHierarchyItem + { + public Azure.Storage.Blobs.Models.BlobItem Blob { get => throw null; } + public bool IsBlob { get => throw null; } + public bool IsPrefix { get => throw null; } + public string Prefix { get => throw null; } + } + public class BlobHttpHeaders + { + public string CacheControl { get => throw null; set { } } + public string ContentDisposition { get => throw null; set { } } + public string ContentEncoding { get => throw null; set { } } + public byte[] ContentHash { get => throw null; set { } } + public string ContentLanguage { get => throw null; set { } } + public string ContentType { get => throw null; set { } } + public BlobHttpHeaders() => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public override string ToString() => throw null; + } + public class BlobImmutabilityPolicy + { + public BlobImmutabilityPolicy() => throw null; + public System.DateTimeOffset? ExpiresOn { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicyMode? PolicyMode { get => throw null; set { } } + } + public enum BlobImmutabilityPolicyMode + { + Mutable = 0, + Unlocked = 1, + Locked = 2, + } + public class BlobInfo + { + public long BlobSequenceNumber { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string VersionId { get => throw null; } + } + public class BlobItem + { + public bool Deleted { get => throw null; } + public bool? HasVersionsOnly { get => throw null; } + public bool? IsLatestVersion { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public string Name { get => throw null; } + public System.Collections.Generic.IList ObjectReplicationSourceProperties { get => throw null; } + public Azure.Storage.Blobs.Models.BlobItemProperties Properties { get => throw null; } + public string Snapshot { get => throw null; } + public System.Collections.Generic.IDictionary Tags { get => throw null; } + public string VersionId { get => throw null; } + } + public class BlobItemProperties + { + public Azure.Storage.Blobs.Models.AccessTier? AccessTier { get => throw null; } + public System.DateTimeOffset? AccessTierChangedOn { get => throw null; } + public bool AccessTierInferred { get => throw null; } + public Azure.Storage.Blobs.Models.ArchiveStatus? ArchiveStatus { get => throw null; } + public long? BlobSequenceNumber { get => throw null; } + public Azure.Storage.Blobs.Models.BlobType? BlobType { get => throw null; } + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public string ContentEncoding { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string ContentLanguage { get => throw null; } + public long? ContentLength { get => throw null; } + public string ContentType { get => throw null; } + public System.DateTimeOffset? CopyCompletedOn { get => throw null; } + public string CopyId { get => throw null; } + public string CopyProgress { get => throw null; } + public System.Uri CopySource { get => throw null; } + public Azure.Storage.Blobs.Models.CopyStatus? CopyStatus { get => throw null; } + public string CopyStatusDescription { get => throw null; } + public System.DateTimeOffset? CreatedOn { get => throw null; } + public string CustomerProvidedKeySha256 { get => throw null; } + public System.DateTimeOffset? DeletedOn { get => throw null; } + public string DestinationSnapshot { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag? ETag { get => throw null; } + public System.DateTimeOffset? ExpiresOn { get => throw null; } + public bool HasLegalHold { get => throw null; } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicy ImmutabilityPolicy { get => throw null; } + public bool? IncrementalCopy { get => throw null; } + public bool? IsSealed { get => throw null; } + public System.DateTimeOffset? LastAccessedOn { get => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseDurationType? LeaseDuration { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseState? LeaseState { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseStatus? LeaseStatus { get => throw null; } + public Azure.Storage.Blobs.Models.RehydratePriority? RehydratePriority { get => throw null; } + public int? RemainingRetentionDays { get => throw null; } + public bool? ServerEncrypted { get => throw null; } + public long? TagCount { get => throw null; } + } + public class BlobLease + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string LeaseId { get => throw null; } + public int? LeaseTime { get => throw null; } + } + public class BlobLeaseRequestConditions : Azure.RequestConditions + { + public BlobLeaseRequestConditions() => throw null; + public string TagConditions { get => throw null; set { } } + } + public class BlobLegalHoldResult + { + public BlobLegalHoldResult() => throw null; + public bool HasLegalHold { get => throw null; } + } + public class BlobMetrics + { + public BlobMetrics() => throw null; + public bool Enabled { get => throw null; set { } } + public bool? IncludeApis { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRetentionPolicy RetentionPolicy { get => throw null; set { } } + public string Version { get => throw null; set { } } + } + public class BlobOpenReadOptions + { + public int? BufferSize { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get => throw null; set { } } + public BlobOpenReadOptions(bool allowModifications) => throw null; + public long Position { get => throw null; set { } } + public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class BlobOpenWriteOptions + { + public long? BufferSize { get => throw null; set { } } + public BlobOpenWriteOptions() => throw null; + public Azure.Storage.Blobs.Models.BlobHttpHeaders HttpHeaders { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions OpenConditions { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public System.Collections.Generic.IDictionary Tags { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class BlobProperties + { + public string AcceptRanges { get => throw null; } + public string AccessTier { get => throw null; } + public System.DateTimeOffset AccessTierChangedOn { get => throw null; } + public bool AccessTierInferred { get => throw null; } + public string ArchiveStatus { get => throw null; } + public int BlobCommittedBlockCount { get => throw null; } + public Azure.Storage.Blobs.Models.CopyStatus? BlobCopyStatus { get => throw null; } + public long BlobSequenceNumber { get => throw null; } + public Azure.Storage.Blobs.Models.BlobType BlobType { get => throw null; } + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public string ContentEncoding { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string ContentLanguage { get => throw null; } + public long ContentLength { get => throw null; } + public string ContentType { get => throw null; } + public System.DateTimeOffset CopyCompletedOn { get => throw null; } + public string CopyId { get => throw null; } + public string CopyProgress { get => throw null; } + public System.Uri CopySource { get => throw null; } + public Azure.Storage.Blobs.Models.CopyStatus CopyStatus { get => throw null; } + public string CopyStatusDescription { get => throw null; } + public System.DateTimeOffset CreatedOn { get => throw null; } + public BlobProperties() => throw null; + public string DestinationSnapshot { get => throw null; } + public string EncryptionKeySha256 { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset ExpiresOn { get => throw null; } + public bool HasLegalHold { get => throw null; } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicy ImmutabilityPolicy { get => throw null; } + public bool IsIncrementalCopy { get => throw null; } + public bool IsLatestVersion { get => throw null; } + public bool IsSealed { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastAccessed { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseDurationType LeaseDuration { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseState LeaseState { get => throw null; } + public Azure.Storage.Blobs.Models.LeaseStatus LeaseStatus { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public string ObjectReplicationDestinationPolicyId { get => throw null; } + public System.Collections.Generic.IList ObjectReplicationSourceProperties { get => throw null; } + public string RehydratePriority { get => throw null; } + public long TagCount { get => throw null; } + public string VersionId { get => throw null; } + } + public class BlobQueryArrowField + { + public BlobQueryArrowField() => throw null; + public string Name { get => throw null; set { } } + public int Precision { get => throw null; set { } } + public int Scale { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobQueryArrowFieldType Type { get => throw null; set { } } + } + public enum BlobQueryArrowFieldType + { + Int64 = 0, + Bool = 1, + Timestamp = 2, + String = 3, + Double = 4, + Decimal = 5, + } + public class BlobQueryArrowOptions : Azure.Storage.Blobs.Models.BlobQueryTextOptions + { + public BlobQueryArrowOptions() => throw null; + public System.Collections.Generic.IList Schema { get => throw null; set { } } + } + public class BlobQueryCsvTextOptions : Azure.Storage.Blobs.Models.BlobQueryTextOptions + { + public string ColumnSeparator { get => throw null; set { } } + public BlobQueryCsvTextOptions() => throw null; + public char? EscapeCharacter { get => throw null; set { } } + public bool HasHeaders { get => throw null; set { } } + public char? QuotationCharacter { get => throw null; set { } } + public string RecordSeparator { get => throw null; set { } } + } + public class BlobQueryError + { + public string Description { get => throw null; } + public bool IsFatal { get => throw null; } + public string Name { get => throw null; } + public long Position { get => throw null; } + } + public class BlobQueryJsonTextOptions : Azure.Storage.Blobs.Models.BlobQueryTextOptions + { + public BlobQueryJsonTextOptions() => throw null; + public string RecordSeparator { get => throw null; set { } } + } + public class BlobQueryOptions + { + public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get => throw null; set { } } + public BlobQueryOptions() => throw null; + public event System.Action ErrorHandler; + public Azure.Storage.Blobs.Models.BlobQueryTextOptions InputTextConfiguration { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobQueryTextOptions OutputTextConfiguration { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + } + public class BlobQueryParquetTextOptions : Azure.Storage.Blobs.Models.BlobQueryTextOptions + { + public BlobQueryParquetTextOptions() => throw null; + } + public abstract class BlobQueryTextOptions + { + protected BlobQueryTextOptions() => throw null; + } + public class BlobRequestConditions : Azure.Storage.Blobs.Models.BlobLeaseRequestConditions + { + public BlobRequestConditions() => throw null; + public string LeaseId { get => throw null; set { } } + public override string ToString() => throw null; + } + public class BlobRetentionPolicy + { + public BlobRetentionPolicy() => throw null; + public int? Days { get => throw null; set { } } + public bool Enabled { get => throw null; set { } } + } + public class BlobServiceProperties + { + public System.Collections.Generic.IList Cors { get => throw null; set { } } + public BlobServiceProperties() => throw null; + public string DefaultServiceVersion { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRetentionPolicy DeleteRetentionPolicy { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobMetrics HourMetrics { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobAnalyticsLogging Logging { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobMetrics MinuteMetrics { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobStaticWebsite StaticWebsite { get => throw null; set { } } + } + public class BlobServiceStatistics + { + public Azure.Storage.Blobs.Models.BlobGeoReplication GeoReplication { get => throw null; } + } + public class BlobSignedIdentifier + { + public Azure.Storage.Blobs.Models.BlobAccessPolicy AccessPolicy { get => throw null; set { } } + public BlobSignedIdentifier() => throw null; + public string Id { get => throw null; set { } } + } + public static class BlobsModelFactory + { + public static Azure.Storage.Blobs.Models.AccountInfo AccountInfo(Azure.Storage.Blobs.Models.SkuName skuName, Azure.Storage.Blobs.Models.AccountKind accountKind, bool isHierarchicalNamespaceEnabled) => throw null; + public static Azure.Storage.Blobs.Models.AccountInfo AccountInfo(Azure.Storage.Blobs.Models.SkuName skuName, Azure.Storage.Blobs.Models.AccountKind accountKind) => throw null; + public static Azure.Storage.Blobs.Models.BlobAppendInfo BlobAppendInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, byte[] contentCrc64, string blobAppendOffset, int blobCommittedBlockCount, bool isServerEncrypted, string encryptionKeySha256, string encryptionScope) => throw null; + public static Azure.Storage.Blobs.Models.BlobAppendInfo BlobAppendInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, byte[] contentCrc64, string blobAppendOffset, int blobCommittedBlockCount, bool isServerEncrypted, string encryptionKeySha256) => throw null; + public static Azure.Storage.Blobs.Models.BlobBlock BlobBlock(string name, int size) => throw null; + public static Azure.Storage.Blobs.Models.BlobBlock BlobBlock(string name, long size) => throw null; + public static Azure.Storage.Blobs.Models.BlobContainerAccessPolicy BlobContainerAccessPolicy(Azure.Storage.Blobs.Models.PublicAccessType blobPublicAccess, Azure.ETag eTag, System.DateTimeOffset lastModified, System.Collections.Generic.IEnumerable signedIdentifiers) => throw null; + public static Azure.Storage.Blobs.Models.BlobContainerInfo BlobContainerInfo(Azure.ETag eTag, System.DateTimeOffset lastModified) => throw null; + public static Azure.Storage.Blobs.Models.BlobContainerItem BlobContainerItem(string name, Azure.Storage.Blobs.Models.BlobContainerProperties properties, bool? isDeleted = default(bool?), string versionId = default(string)) => throw null; + public static Azure.Storage.Blobs.Models.BlobContainerItem BlobContainerItem(string name, Azure.Storage.Blobs.Models.BlobContainerProperties properties) => throw null; + public static Azure.Storage.Blobs.Models.BlobContainerProperties BlobContainerProperties(System.DateTimeOffset lastModified, Azure.ETag eTag, Azure.Storage.Blobs.Models.LeaseState? leaseState = default(Azure.Storage.Blobs.Models.LeaseState?), Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration = default(Azure.Storage.Blobs.Models.LeaseDurationType?), Azure.Storage.Blobs.Models.PublicAccessType? publicAccess = default(Azure.Storage.Blobs.Models.PublicAccessType?), bool? hasImmutabilityPolicy = default(bool?), Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus = default(Azure.Storage.Blobs.Models.LeaseStatus?), string defaultEncryptionScope = default(string), bool? preventEncryptionScopeOverride = default(bool?), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), int? remainingRetentionDays = default(int?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), bool? hasLegalHold = default(bool?)) => throw null; + public static Azure.Storage.Blobs.Models.BlobContainerProperties BlobContainerProperties(System.DateTimeOffset lastModified, Azure.ETag eTag, Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus, Azure.Storage.Blobs.Models.LeaseState? leaseState, Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration, Azure.Storage.Blobs.Models.PublicAccessType? publicAccess, bool? hasImmutabilityPolicy, bool? hasLegalHold, System.Collections.Generic.IDictionary metadata) => throw null; + public static Azure.Storage.Blobs.Models.BlobContainerProperties BlobContainerProperties(System.DateTimeOffset lastModified, Azure.ETag eTag, Azure.Storage.Blobs.Models.LeaseState? leaseState, Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration, Azure.Storage.Blobs.Models.PublicAccessType? publicAccess, bool? hasImmutabilityPolicy, Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus, string defaultEncryptionScope, bool? preventEncryptionScopeOverride, System.Collections.Generic.IDictionary metadata, bool? hasLegalHold) => throw null; + public static Azure.Storage.Blobs.Models.BlobContainerProperties BlobContainerProperties(System.DateTimeOffset lastModified, Azure.ETag eTag, Azure.Storage.Blobs.Models.LeaseState? leaseState, Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration, Azure.Storage.Blobs.Models.PublicAccessType? publicAccess, Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus, bool? hasLegalHold, string defaultEncryptionScope, bool? preventEncryptionScopeOverride, System.Collections.Generic.IDictionary metadata, bool? hasImmutabilityPolicy) => throw null; + public static Azure.Storage.Blobs.Models.BlobContentInfo BlobContentInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, string versionId, string encryptionKeySha256, string encryptionScope, long blobSequenceNumber) => throw null; + public static Azure.Storage.Blobs.Models.BlobContentInfo BlobContentInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, string encryptionKeySha256, string encryptionScope, long blobSequenceNumber) => throw null; + public static Azure.Storage.Blobs.Models.BlobContentInfo BlobContentInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, string encryptionKeySha256, long blobSequenceNumber) => throw null; + public static Azure.Storage.Blobs.Models.BlobCopyInfo BlobCopyInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, string versionId, string copyId, Azure.Storage.Blobs.Models.CopyStatus copyStatus) => throw null; + public static Azure.Storage.Blobs.Models.BlobCopyInfo BlobCopyInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, string copyId, Azure.Storage.Blobs.Models.CopyStatus copyStatus) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadDetails BlobDownloadDetails(Azure.Storage.Blobs.Models.BlobType blobType, long contentLength, string contentType, byte[] contentHash, System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, string contentRange, string contentEncoding, string cacheControl, string contentDisposition, string contentLanguage, long blobSequenceNumber, System.DateTimeOffset copyCompletedOn, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Blobs.Models.CopyStatus copyStatus, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, Azure.Storage.Blobs.Models.LeaseState leaseState, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, string acceptRanges, int blobCommittedBlockCount, bool isServerEncrypted, string encryptionKeySha256, string encryptionScope, byte[] blobContentHash, long tagCount, string versionId, bool isSealed, System.Collections.Generic.IList objectReplicationSourceProperties, string objectReplicationDestinationPolicy, bool hasLegalHold, System.DateTimeOffset createdOn) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadDetails BlobDownloadDetails(System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, string contentRange, string contentEncoding, string cacheControl, string contentDisposition, string contentLanguage, long blobSequenceNumber, System.DateTimeOffset copyCompletedOn, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Blobs.Models.CopyStatus copyStatus, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, Azure.Storage.Blobs.Models.LeaseState leaseState, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, string acceptRanges, int blobCommittedBlockCount, bool isServerEncrypted, string encryptionKeySha256, string encryptionScope, byte[] blobContentHash, long tagCount, string versionId, bool isSealed, System.Collections.Generic.IList objectReplicationSourceProperties, string objectReplicationDestinationPolicy) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadDetails BlobDownloadDetails(Azure.Storage.Blobs.Models.BlobType blobType, long contentLength, string contentType, byte[] contentHash, System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, string contentRange, string contentEncoding, string cacheControl, string contentDisposition, string contentLanguage, long blobSequenceNumber, System.DateTimeOffset copyCompletedOn, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Blobs.Models.CopyStatus copyStatus, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, Azure.Storage.Blobs.Models.LeaseState leaseState, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, string acceptRanges, int blobCommittedBlockCount, bool isServerEncrypted, string encryptionKeySha256, string encryptionScope, byte[] blobContentHash, long tagCount, string versionId, bool isSealed, System.Collections.Generic.IList objectReplicationSourceProperties, string objectReplicationDestinationPolicy) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadInfo BlobDownloadInfo(System.DateTimeOffset lastModified = default(System.DateTimeOffset), long blobSequenceNumber = default(long), Azure.Storage.Blobs.Models.BlobType blobType = default(Azure.Storage.Blobs.Models.BlobType), byte[] contentCrc64 = default(byte[]), string contentLanguage = default(string), string copyStatusDescription = default(string), string copyId = default(string), string copyProgress = default(string), System.Uri copySource = default(System.Uri), Azure.Storage.Blobs.Models.CopyStatus copyStatus = default(Azure.Storage.Blobs.Models.CopyStatus), string contentDisposition = default(string), Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration = default(Azure.Storage.Blobs.Models.LeaseDurationType), string cacheControl = default(string), Azure.Storage.Blobs.Models.LeaseState leaseState = default(Azure.Storage.Blobs.Models.LeaseState), string contentEncoding = default(string), Azure.Storage.Blobs.Models.LeaseStatus leaseStatus = default(Azure.Storage.Blobs.Models.LeaseStatus), byte[] contentHash = default(byte[]), string acceptRanges = default(string), Azure.ETag eTag = default(Azure.ETag), int blobCommittedBlockCount = default(int), string contentRange = default(string), bool isServerEncrypted = default(bool), string contentType = default(string), string encryptionKeySha256 = default(string), string encryptionScope = default(string), long contentLength = default(long), byte[] blobContentHash = default(byte[]), string versionId = default(string), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.IO.Stream content = default(System.IO.Stream), System.DateTimeOffset copyCompletionTime = default(System.DateTimeOffset), long tagCount = default(long), System.DateTimeOffset lastAccessed = default(System.DateTimeOffset)) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadInfo BlobDownloadInfo(System.DateTimeOffset lastModified, long blobSequenceNumber, Azure.Storage.Blobs.Models.BlobType blobType, byte[] contentCrc64, string contentLanguage, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Blobs.Models.CopyStatus copyStatus, string contentDisposition, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, string cacheControl, Azure.Storage.Blobs.Models.LeaseState leaseState, string contentEncoding, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, byte[] contentHash, string acceptRanges, Azure.ETag eTag, int blobCommittedBlockCount, string contentRange, bool isServerEncrypted, string contentType, string encryptionKeySha256, string encryptionScope, long contentLength, byte[] blobContentHash, string versionId, System.Collections.Generic.IDictionary metadata, System.IO.Stream content, System.DateTimeOffset copyCompletionTime, long tagCount) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadInfo BlobDownloadInfo(System.DateTimeOffset lastModified, long blobSequenceNumber, Azure.Storage.Blobs.Models.BlobType blobType, byte[] contentCrc64, string contentLanguage, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Blobs.Models.CopyStatus copyStatus, string contentDisposition, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, string cacheControl, Azure.Storage.Blobs.Models.LeaseState leaseState, string contentEncoding, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, byte[] contentHash, string acceptRanges, Azure.ETag eTag, int blobCommittedBlockCount, string contentRange, bool isServerEncrypted, string contentType, string encryptionKeySha256, string encryptionScope, long contentLength, byte[] blobContentHash, System.Collections.Generic.IDictionary metadata, System.IO.Stream content, System.DateTimeOffset copyCompletionTime) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadInfo BlobDownloadInfo(System.DateTimeOffset lastModified, long blobSequenceNumber, Azure.Storage.Blobs.Models.BlobType blobType, byte[] contentCrc64, string contentLanguage, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Blobs.Models.CopyStatus copyStatus, string contentDisposition, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, string cacheControl, Azure.Storage.Blobs.Models.LeaseState leaseState, string contentEncoding, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, byte[] contentHash, string acceptRanges, Azure.ETag eTag, int blobCommittedBlockCount, string contentRange, bool isServerEncrypted, string contentType, string encryptionKeySha256, long contentLength, byte[] blobContentHash, System.Collections.Generic.IDictionary metadata, System.IO.Stream content, System.DateTimeOffset copyCompletionTime) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadResult BlobDownloadResult(System.BinaryData content = default(System.BinaryData), Azure.Storage.Blobs.Models.BlobDownloadDetails details = default(Azure.Storage.Blobs.Models.BlobDownloadDetails)) => throw null; + public static Azure.Storage.Blobs.Models.BlobDownloadStreamingResult BlobDownloadStreamingResult(System.IO.Stream content = default(System.IO.Stream), Azure.Storage.Blobs.Models.BlobDownloadDetails details = default(Azure.Storage.Blobs.Models.BlobDownloadDetails)) => throw null; + public static Azure.Storage.Blobs.Models.BlobGeoReplication BlobGeoReplication(Azure.Storage.Blobs.Models.BlobGeoReplicationStatus status, System.DateTimeOffset? lastSyncedOn = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Blobs.Models.BlobHierarchyItem BlobHierarchyItem(string prefix, Azure.Storage.Blobs.Models.BlobItem blob) => throw null; + public static Azure.Storage.Blobs.Models.BlobInfo blobInfo(Azure.ETag eTag = default(Azure.ETag), System.DateTimeOffset lastModifed = default(System.DateTimeOffset), long blobSequenceNumber = default(long), string versionId = default(string)) => throw null; + public static Azure.Storage.Blobs.Models.BlobInfo BlobInfo(Azure.ETag eTag, System.DateTimeOffset lastModified) => throw null; + public static Azure.Storage.Blobs.Models.BlobItem BlobItem(string name = default(string), bool deleted = default(bool), Azure.Storage.Blobs.Models.BlobItemProperties properties = default(Azure.Storage.Blobs.Models.BlobItemProperties), string snapshot = default(string), string versionId = default(string), bool? isLatestVersion = default(bool?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary), System.Collections.Generic.List objectReplicationSourcePolicies = default(System.Collections.Generic.List), bool? hasVersionsOnly = default(bool?)) => throw null; + public static Azure.Storage.Blobs.Models.BlobItem BlobItem(string name, bool deleted, Azure.Storage.Blobs.Models.BlobItemProperties properties, string snapshot, string versionId, bool? isLatestVersion, System.Collections.Generic.IDictionary metadata, System.Collections.Generic.IDictionary tags, System.Collections.Generic.List objectReplicationSourcePolicies) => throw null; + public static Azure.Storage.Blobs.Models.BlobItem BlobItem(string name, bool deleted, Azure.Storage.Blobs.Models.BlobItemProperties properties, string snapshot, System.Collections.Generic.IDictionary metadata) => throw null; + public static Azure.Storage.Blobs.Models.BlobItemProperties BlobItemProperties(bool accessTierInferred, bool? serverEncrypted = default(bool?), string contentType = default(string), string contentEncoding = default(string), string contentLanguage = default(string), byte[] contentHash = default(byte[]), string contentDisposition = default(string), string cacheControl = default(string), long? blobSequenceNumber = default(long?), Azure.Storage.Blobs.Models.BlobType? blobType = default(Azure.Storage.Blobs.Models.BlobType?), Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus = default(Azure.Storage.Blobs.Models.LeaseStatus?), Azure.Storage.Blobs.Models.LeaseState? leaseState = default(Azure.Storage.Blobs.Models.LeaseState?), Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration = default(Azure.Storage.Blobs.Models.LeaseDurationType?), string copyId = default(string), Azure.Storage.Blobs.Models.CopyStatus? copyStatus = default(Azure.Storage.Blobs.Models.CopyStatus?), System.Uri copySource = default(System.Uri), string copyProgress = default(string), string copyStatusDescription = default(string), long? contentLength = default(long?), bool? incrementalCopy = default(bool?), string destinationSnapshot = default(string), int? remainingRetentionDays = default(int?), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Azure.Storage.Blobs.Models.ArchiveStatus? archiveStatus = default(Azure.Storage.Blobs.Models.ArchiveStatus?), string customerProvidedKeySha256 = default(string), string encryptionScope = default(string), long? tagCount = default(long?), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), bool? isSealed = default(bool?), Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default(Azure.Storage.Blobs.Models.RehydratePriority?), System.DateTimeOffset? lastAccessedOn = default(System.DateTimeOffset?), Azure.ETag? eTag = default(Azure.ETag?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? copyCompletedOn = default(System.DateTimeOffset?), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), System.DateTimeOffset? accessTierChangedOn = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Blobs.Models.BlobItemProperties BlobItemProperties(bool accessTierInferred, bool? serverEncrypted, string contentType, string contentEncoding, string contentLanguage, byte[] contentHash, string contentDisposition, string cacheControl, long? blobSequenceNumber, Azure.Storage.Blobs.Models.BlobType? blobType, Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus, Azure.Storage.Blobs.Models.LeaseState? leaseState, Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration, string copyId, Azure.Storage.Blobs.Models.CopyStatus? copyStatus, System.Uri copySource, string copyProgress, string copyStatusDescription, long? contentLength, bool? incrementalCopy, string destinationSnapshot, int? remainingRetentionDays, Azure.Storage.Blobs.Models.AccessTier? accessTier, System.DateTimeOffset? lastModified, Azure.Storage.Blobs.Models.ArchiveStatus? archiveStatus, string customerProvidedKeySha256, string encryptionScope, long? tagCount, System.DateTimeOffset? expiresOn, bool? isSealed, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority, Azure.ETag? eTag, System.DateTimeOffset? createdOn, System.DateTimeOffset? copyCompletedOn, System.DateTimeOffset? deletedOn, System.DateTimeOffset? accessTierChangedOn) => throw null; + public static Azure.Storage.Blobs.Models.BlobItemProperties BlobItemProperties(bool accessTierInferred, string copyProgress, string contentType, string contentEncoding, string contentLanguage, byte[] contentHash, string contentDisposition, string cacheControl, long? blobSequenceNumber, Azure.Storage.Blobs.Models.BlobType? blobType, Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus, Azure.Storage.Blobs.Models.LeaseState? leaseState, Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration, string copyId, Azure.Storage.Blobs.Models.CopyStatus? copyStatus, System.Uri copySource, long? contentLength, string copyStatusDescription, bool? serverEncrypted, bool? incrementalCopy, string destinationSnapshot, int? remainingRetentionDays, Azure.Storage.Blobs.Models.AccessTier? accessTier, System.DateTimeOffset? lastModified, Azure.Storage.Blobs.Models.ArchiveStatus? archiveStatus, string customerProvidedKeySha256, string encryptionScope, Azure.ETag? eTag, System.DateTimeOffset? createdOn, System.DateTimeOffset? copyCompletedOn, System.DateTimeOffset? deletedOn, System.DateTimeOffset? accessTierChangedOn) => throw null; + public static Azure.Storage.Blobs.Models.BlobItemProperties BlobItemProperties(bool accessTierInferred, System.Uri copySource, string contentType, string contentEncoding, string contentLanguage, byte[] contentHash, string contentDisposition, string cacheControl, long? blobSequenceNumber, Azure.Storage.Blobs.Models.BlobType? blobType, Azure.Storage.Blobs.Models.LeaseStatus? leaseStatus, Azure.Storage.Blobs.Models.LeaseState? leaseState, Azure.Storage.Blobs.Models.LeaseDurationType? leaseDuration, string copyId, Azure.Storage.Blobs.Models.CopyStatus? copyStatus, long? contentLength, string copyProgress, string copyStatusDescription, bool? serverEncrypted, bool? incrementalCopy, string destinationSnapshot, int? remainingRetentionDays, Azure.Storage.Blobs.Models.AccessTier? accessTier, System.DateTimeOffset? lastModified, Azure.Storage.Blobs.Models.ArchiveStatus? archiveStatus, string customerProvidedKeySha256, Azure.ETag? eTag, System.DateTimeOffset? createdOn, System.DateTimeOffset? copyCompletedOn, System.DateTimeOffset? deletedOn, System.DateTimeOffset? accessTierChangedOn) => throw null; + public static Azure.Storage.Blobs.Models.BlobLease BlobLease(Azure.ETag eTag, System.DateTimeOffset lastModified, string leaseId) => throw null; + public static Azure.Storage.Blobs.Models.BlobProperties BlobProperties(System.DateTimeOffset lastModified = default(System.DateTimeOffset), Azure.Storage.Blobs.Models.LeaseStatus leaseStatus = default(Azure.Storage.Blobs.Models.LeaseStatus), long contentLength = default(long), string contentType = default(string), Azure.ETag eTag = default(Azure.ETag), Azure.Storage.Blobs.Models.LeaseState leaseState = default(Azure.Storage.Blobs.Models.LeaseState), string contentEncoding = default(string), string contentDisposition = default(string), string contentLanguage = default(string), string cacheControl = default(string), long blobSequenceNumber = default(long), Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration = default(Azure.Storage.Blobs.Models.LeaseDurationType), string acceptRanges = default(string), string destinationSnapshot = default(string), int blobCommittedBlockCount = default(int), bool isIncrementalCopy = default(bool), bool isServerEncrypted = default(bool), Azure.Storage.Blobs.Models.CopyStatus? blobCopyStatus = default(Azure.Storage.Blobs.Models.CopyStatus?), string encryptionKeySha256 = default(string), System.Uri copySource = default(System.Uri), string encryptionScope = default(string), string copyProgress = default(string), string accessTier = default(string), string copyId = default(string), bool accessTierInferred = default(bool), string copyStatusDescription = default(string), string archiveStatus = default(string), System.DateTimeOffset copyCompletedOn = default(System.DateTimeOffset), System.DateTimeOffset accessTierChangedOn = default(System.DateTimeOffset), Azure.Storage.Blobs.Models.BlobType blobType = default(Azure.Storage.Blobs.Models.BlobType), string versionId = default(string), System.Collections.Generic.IList objectReplicationSourceProperties = default(System.Collections.Generic.IList), bool isLatestVersion = default(bool), string objectReplicationDestinationPolicyId = default(string), long tagCount = default(long), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.DateTimeOffset expiresOn = default(System.DateTimeOffset), System.DateTimeOffset createdOn = default(System.DateTimeOffset), bool isSealed = default(bool), string rehydratePriority = default(string), byte[] contentHash = default(byte[]), System.DateTimeOffset lastAccessed = default(System.DateTimeOffset), Azure.Storage.Blobs.Models.BlobImmutabilityPolicy immutabilityPolicy = default(Azure.Storage.Blobs.Models.BlobImmutabilityPolicy), bool hasLegalHold = default(bool)) => throw null; + public static Azure.Storage.Blobs.Models.BlobProperties BlobProperties(System.DateTimeOffset lastModified, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, long contentLength, string contentType, Azure.ETag eTag, Azure.Storage.Blobs.Models.LeaseState leaseState, string contentEncoding, string contentDisposition, string contentLanguage, string cacheControl, long blobSequenceNumber, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, string acceptRanges, string destinationSnapshot, int blobCommittedBlockCount, bool isIncrementalCopy, bool isServerEncrypted, Azure.Storage.Blobs.Models.CopyStatus copyStatus, string encryptionKeySha256, System.Uri copySource, string encryptionScope, string copyProgress, string accessTier, string copyId, bool accessTierInferred, string copyStatusDescription, string archiveStatus, System.DateTimeOffset copyCompletedOn, System.DateTimeOffset accessTierChangedOn, Azure.Storage.Blobs.Models.BlobType blobType, string versionId, System.Collections.Generic.IList objectReplicationSourceProperties, bool isLatestVersion, string objectReplicationDestinationPolicyId, long tagCount, System.Collections.Generic.IDictionary metadata, System.DateTimeOffset expiresOn, System.DateTimeOffset createdOn, bool isSealed, string rehydratePriority, byte[] contentHash, System.DateTimeOffset lastAccessed, Azure.Storage.Blobs.Models.BlobImmutabilityPolicy immutabilityPolicy, bool hasLegalHold) => throw null; + public static Azure.Storage.Blobs.Models.BlobProperties BlobProperties(System.DateTimeOffset lastModified, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, long contentLength, string contentType, Azure.ETag eTag, Azure.Storage.Blobs.Models.LeaseState leaseState, string contentEncoding, string contentDisposition, string contentLanguage, string cacheControl, long blobSequenceNumber, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, string acceptRanges, string destinationSnapshot, int blobCommittedBlockCount, bool isIncrementalCopy, bool isServerEncrypted, Azure.Storage.Blobs.Models.CopyStatus copyStatus, string encryptionKeySha256, System.Uri copySource, string encryptionScope, string copyProgress, string accessTier, string copyId, bool accessTierInferred, string copyStatusDescription, string archiveStatus, System.DateTimeOffset copyCompletedOn, System.DateTimeOffset accessTierChangedOn, Azure.Storage.Blobs.Models.BlobType blobType, string versionId, System.Collections.Generic.IList objectReplicationSourceProperties, bool isLatestVersion, string objectReplicationDestinationPolicyId, long tagCount, System.Collections.Generic.IDictionary metadata, System.DateTimeOffset expiresOn, System.DateTimeOffset createdOn, bool isSealed, string rehydratePriority, byte[] contentHash, System.DateTimeOffset lastAccessed) => throw null; + public static Azure.Storage.Blobs.Models.BlobProperties BlobProperties(System.DateTimeOffset lastModified, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, long contentLength, string contentType, Azure.ETag eTag, Azure.Storage.Blobs.Models.LeaseState leaseState, string contentEncoding, string contentDisposition, string contentLanguage, string cacheControl, long blobSequenceNumber, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, string acceptRanges, string destinationSnapshot, int blobCommittedBlockCount, bool isIncrementalCopy, bool isServerEncrypted, Azure.Storage.Blobs.Models.CopyStatus copyStatus, string encryptionKeySha256, System.Uri copySource, string encryptionScope, string copyProgress, string accessTier, string copyId, bool accessTierInferred, string copyStatusDescription, string archiveStatus, System.DateTimeOffset copyCompletedOn, System.DateTimeOffset accessTierChangedOn, Azure.Storage.Blobs.Models.BlobType blobType, string versionId, System.Collections.Generic.IList objectReplicationSourceProperties, bool isLatestVersion, string objectReplicationDestinationPolicyId, long tagCount, System.Collections.Generic.IDictionary metadata, System.DateTimeOffset expiresOn, System.DateTimeOffset createdOn, bool isSealed, string rehydratePriority, byte[] contentHash) => throw null; + public static Azure.Storage.Blobs.Models.BlobProperties BlobProperties(System.DateTimeOffset lastModified, Azure.Storage.Blobs.Models.LeaseState leaseState, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, long contentLength, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, Azure.ETag eTag, byte[] contentHash, string contentEncoding, string contentDisposition, string contentLanguage, string destinationSnapshot, string cacheControl, bool isIncrementalCopy, long blobSequenceNumber, Azure.Storage.Blobs.Models.CopyStatus copyStatus, string acceptRanges, System.Uri copySource, int blobCommittedBlockCount, string copyProgress, bool isServerEncrypted, string copyId, string encryptionKeySha256, string copyStatusDescription, string encryptionScope, System.DateTimeOffset copyCompletedOn, string accessTier, Azure.Storage.Blobs.Models.BlobType blobType, bool accessTierInferred, System.Collections.Generic.IDictionary metadata, string archiveStatus, System.DateTimeOffset createdOn, System.DateTimeOffset accessTierChangedOn, string contentType) => throw null; + public static Azure.Storage.Blobs.Models.BlobProperties BlobProperties(System.DateTimeOffset lastModified, Azure.Storage.Blobs.Models.LeaseDurationType leaseDuration, Azure.Storage.Blobs.Models.LeaseState leaseState, Azure.Storage.Blobs.Models.LeaseStatus leaseStatus, long contentLength, string destinationSnapshot, Azure.ETag eTag, byte[] contentHash, string contentEncoding, string contentDisposition, string contentLanguage, bool isIncrementalCopy, string cacheControl, Azure.Storage.Blobs.Models.CopyStatus copyStatus, long blobSequenceNumber, System.Uri copySource, string acceptRanges, string copyProgress, int blobCommittedBlockCount, string copyId, bool isServerEncrypted, string copyStatusDescription, string encryptionKeySha256, System.DateTimeOffset copyCompletedOn, string accessTier, Azure.Storage.Blobs.Models.BlobType blobType, bool accessTierInferred, System.Collections.Generic.IDictionary metadata, string archiveStatus, System.DateTimeOffset createdOn, System.DateTimeOffset accessTierChangedOn, string contentType) => throw null; + public static Azure.Storage.Blobs.Models.BlobQueryError BlobQueryError(string name = default(string), string description = default(string), bool isFatal = default(bool), long position = default(long)) => throw null; + public static Azure.Storage.Blobs.Models.BlobServiceStatistics BlobServiceStatistics(Azure.Storage.Blobs.Models.BlobGeoReplication geoReplication = default(Azure.Storage.Blobs.Models.BlobGeoReplication)) => throw null; + public static Azure.Storage.Blobs.Models.BlobSnapshotInfo BlobSnapshotInfo(string snapshot, Azure.ETag eTag, System.DateTimeOffset lastModified, string versionId, bool isServerEncrypted) => throw null; + public static Azure.Storage.Blobs.Models.BlobSnapshotInfo BlobSnapshotInfo(string snapshot, Azure.ETag eTag, System.DateTimeOffset lastModified, bool isServerEncrypted) => throw null; + public static Azure.Storage.Blobs.Models.BlockInfo BlockInfo(byte[] contentHash, byte[] contentCrc64, string encryptionKeySha256, string encryptionScope) => throw null; + public static Azure.Storage.Blobs.Models.BlockInfo BlockInfo(byte[] contentHash, byte[] contentCrc64, string encryptionKeySha256) => throw null; + public static Azure.Storage.Blobs.Models.BlockList BlockList(System.Collections.Generic.IEnumerable committedBlocks = default(System.Collections.Generic.IEnumerable), System.Collections.Generic.IEnumerable uncommittedBlocks = default(System.Collections.Generic.IEnumerable)) => throw null; + public static Azure.Storage.Blobs.Models.GetBlobTagResult GetBlobTagResult(System.Collections.Generic.IDictionary tags) => throw null; + public static Azure.Storage.Blobs.Models.ObjectReplicationPolicy ObjectReplicationPolicy(string policyId, System.Collections.Generic.IList rules) => throw null; + public static Azure.Storage.Blobs.Models.ObjectReplicationRule ObjectReplicationRule(string ruleId, Azure.Storage.Blobs.Models.ObjectReplicationStatus replicationStatus) => throw null; + public static Azure.Storage.Blobs.Models.PageBlobInfo PageBlobInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, long blobSequenceNumber) => throw null; + public static Azure.Storage.Blobs.Models.PageInfo PageInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, byte[] contentCrc64, long blobSequenceNumber, string encryptionKeySha256, string encryptionScope) => throw null; + public static Azure.Storage.Blobs.Models.PageInfo PageInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, byte[] contentCrc64, long blobSequenceNumber, string encryptionKeySha256) => throw null; + public static Azure.Storage.Blobs.Models.PageRangesInfo PageRangesInfo(System.DateTimeOffset lastModified, Azure.ETag eTag, long blobContentLength, System.Collections.Generic.IEnumerable pageRanges, System.Collections.Generic.IEnumerable clearRanges) => throw null; + public static Azure.Storage.Blobs.Models.TaggedBlobItem TaggedBlobItem(string blobName = default(string), string blobContainerName = default(string), System.Collections.Generic.IDictionary tags = default(System.Collections.Generic.IDictionary)) => throw null; + public static Azure.Storage.Blobs.Models.TaggedBlobItem TaggedBlobItem(string blobName = default(string), string blobContainerName = default(string)) => throw null; + public static Azure.Storage.Blobs.Models.UserDelegationKey UserDelegationKey(string signedObjectId = default(string), string signedTenantId = default(string), System.DateTimeOffset signedStartsOn = default(System.DateTimeOffset), System.DateTimeOffset signedExpiresOn = default(System.DateTimeOffset), string signedService = default(string), string signedVersion = default(string), string value = default(string)) => throw null; + public static Azure.Storage.Blobs.Models.UserDelegationKey UserDelegationKey(string signedObjectId, string signedTenantId, string signedService, string signedVersion, string value, System.DateTimeOffset signedExpiresOn, System.DateTimeOffset signedStartsOn) => throw null; + } + public class BlobSnapshotInfo + { + public Azure.ETag ETag { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string Snapshot { get => throw null; } + public string VersionId { get => throw null; } + } + [System.Flags] + public enum BlobStates + { + None = 0, + Snapshots = 1, + Uncommitted = 2, + Deleted = 4, + Version = 8, + DeletedWithVersions = 16, + All = -1, + } + public class BlobStaticWebsite + { + public BlobStaticWebsite() => throw null; + public string DefaultIndexDocumentPath { get => throw null; set { } } + public bool Enabled { get => throw null; set { } } + public string ErrorDocument404Path { get => throw null; set { } } + public string IndexDocument { get => throw null; set { } } + } + public class BlobSyncUploadFromUriOptions + { + public Azure.Storage.Blobs.Models.AccessTier? AccessTier { get => throw null; set { } } + public byte[] ContentHash { get => throw null; set { } } + public bool? CopySourceBlobProperties { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobCopySourceTagsMode? CopySourceTagsMode { get => throw null; set { } } + public BlobSyncUploadFromUriOptions() => throw null; + public Azure.Storage.Blobs.Models.BlobRequestConditions DestinationConditions { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobHttpHeaders HttpHeaders { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.HttpAuthorization SourceAuthentication { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get => throw null; set { } } + public System.Collections.Generic.IDictionary Tags { get => throw null; set { } } + } + [System.Flags] + public enum BlobTraits + { + None = 0, + CopyStatus = 1, + Metadata = 2, + Tags = 4, + ImmutabilityPolicy = 8, + LegalHold = 16, + All = -1, + } + public enum BlobType + { + Block = 0, + Page = 1, + Append = 2, + } + public class BlobUploadOptions + { + public Azure.Storage.Blobs.Models.AccessTier? AccessTier { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get => throw null; set { } } + public BlobUploadOptions() => throw null; + public Azure.Storage.Blobs.Models.BlobHttpHeaders HttpHeaders { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicy ImmutabilityPolicy { get => throw null; set { } } + public bool? LegalHold { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public System.Collections.Generic.IDictionary Tags { get => throw null; set { } } + public Azure.Storage.StorageTransferOptions TransferOptions { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class BlockBlobOpenWriteOptions + { + public long? BufferSize { get => throw null; set { } } + public BlockBlobOpenWriteOptions() => throw null; + public Azure.Storage.Blobs.Models.BlobHttpHeaders HttpHeaders { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions OpenConditions { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public System.Collections.Generic.IDictionary Tags { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class BlockBlobStageBlockOptions + { + public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get => throw null; set { } } + public BlockBlobStageBlockOptions() => throw null; + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class BlockInfo + { + public byte[] ContentCrc64 { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string EncryptionKeySha256 { get => throw null; } + public string EncryptionScope { get => throw null; } + } + public class BlockList + { + public long BlobContentLength { get => throw null; } + public System.Collections.Generic.IEnumerable CommittedBlocks { get => throw null; } + public string ContentType { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public System.Collections.Generic.IEnumerable UncommittedBlocks { get => throw null; } + } + [System.Flags] + public enum BlockListTypes + { + All = 3, + Committed = 1, + Uncommitted = 2, + } + public class CommitBlockListOptions + { + public Azure.Storage.Blobs.Models.AccessTier? AccessTier { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions Conditions { get => throw null; set { } } + public CommitBlockListOptions() => throw null; + public Azure.Storage.Blobs.Models.BlobHttpHeaders HttpHeaders { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicy ImmutabilityPolicy { get => throw null; set { } } + public bool? LegalHold { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public System.Collections.Generic.IDictionary Tags { get => throw null; set { } } + } + public class CopyFromUriOperation : Azure.Operation + { + protected CopyFromUriOperation() => throw null; + public CopyFromUriOperation(string id, Azure.Storage.Blobs.Specialized.BlobBaseClient client) => throw null; + public override Azure.Response GetRawResponse() => throw null; + public override bool HasCompleted { get => throw null; } + public override bool HasValue { get => throw null; } + public override string Id { get => throw null; } + public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override long Value { get => throw null; } + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken) => throw null; + } + public enum CopyStatus + { + Pending = 0, + Success = 1, + Aborted = 2, + Failed = 3, + } + public struct CustomerProvidedKey : System.IEquatable + { + public CustomerProvidedKey(string key) => throw null; + public CustomerProvidedKey(byte[] key) => throw null; + public Azure.Storage.Blobs.Models.EncryptionAlgorithmType EncryptionAlgorithm { get => throw null; } + public string EncryptionKey { get => throw null; } + public string EncryptionKeyHash { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Blobs.Models.CustomerProvidedKey other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Blobs.Models.CustomerProvidedKey left, Azure.Storage.Blobs.Models.CustomerProvidedKey right) => throw null; + public static bool operator !=(Azure.Storage.Blobs.Models.CustomerProvidedKey left, Azure.Storage.Blobs.Models.CustomerProvidedKey right) => throw null; + public override string ToString() => throw null; + } + public enum DeleteSnapshotsOption + { + None = 0, + IncludeSnapshots = 1, + OnlySnapshots = 2, + } + public enum EncryptionAlgorithmType + { + Aes256 = 0, + } + public class GetBlobTagResult + { + public GetBlobTagResult() => throw null; + public System.Collections.Generic.IDictionary Tags { get => throw null; } + } + public class GetPageRangesDiffOptions + { + public Azure.Storage.Blobs.Models.PageBlobRequestConditions Conditions { get => throw null; set { } } + public GetPageRangesDiffOptions() => throw null; + public string PreviousSnapshot { get => throw null; set { } } + public Azure.HttpRange? Range { get => throw null; set { } } + public string Snapshot { get => throw null; set { } } + } + public class GetPageRangesOptions + { + public Azure.Storage.Blobs.Models.PageBlobRequestConditions Conditions { get => throw null; set { } } + public GetPageRangesOptions() => throw null; + public Azure.HttpRange? Range { get => throw null; set { } } + public string Snapshot { get => throw null; set { } } + } + public enum LeaseDurationType + { + Infinite = 0, + Fixed = 1, + } + public enum LeaseState + { + Available = 0, + Leased = 1, + Expired = 2, + Breaking = 3, + Broken = 4, + } + public enum LeaseStatus + { + Locked = 0, + Unlocked = 1, + } + public class ObjectReplicationPolicy + { + public string PolicyId { get => throw null; } + public System.Collections.Generic.IList Rules { get => throw null; } + } + public class ObjectReplicationRule + { + public Azure.Storage.Blobs.Models.ObjectReplicationStatus ReplicationStatus { get => throw null; } + public string RuleId { get => throw null; } + } + [System.Flags] + public enum ObjectReplicationStatus + { + Complete = 0, + Failed = 1, + } + public class PageBlobCreateOptions + { + public Azure.Storage.Blobs.Models.PageBlobRequestConditions Conditions { get => throw null; set { } } + public PageBlobCreateOptions() => throw null; + public Azure.Storage.Blobs.Models.BlobHttpHeaders HttpHeaders { get => throw null; set { } } + public Azure.Storage.Blobs.Models.BlobImmutabilityPolicy ImmutabilityPolicy { get => throw null; set { } } + public bool? LegalHold { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public long? SequenceNumber { get => throw null; set { } } + public System.Collections.Generic.IDictionary Tags { get => throw null; set { } } + } + public class PageBlobInfo + { + public long BlobSequenceNumber { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public class PageBlobOpenWriteOptions + { + public long? BufferSize { get => throw null; set { } } + public PageBlobOpenWriteOptions() => throw null; + public Azure.Storage.Blobs.Models.PageBlobRequestConditions OpenConditions { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public long? Size { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class PageBlobRequestConditions : Azure.Storage.Blobs.Models.BlobRequestConditions + { + public PageBlobRequestConditions() => throw null; + public long? IfSequenceNumberEqual { get => throw null; set { } } + public long? IfSequenceNumberLessThan { get => throw null; set { } } + public long? IfSequenceNumberLessThanOrEqual { get => throw null; set { } } + } + public class PageBlobUploadPagesFromUriOptions + { + public PageBlobUploadPagesFromUriOptions() => throw null; + public Azure.Storage.Blobs.Models.PageBlobRequestConditions DestinationConditions { get => throw null; set { } } + public Azure.HttpAuthorization SourceAuthentication { get => throw null; set { } } + public Azure.Storage.Blobs.Models.PageBlobRequestConditions SourceConditions { get => throw null; set { } } + public byte[] SourceContentHash { get => throw null; set { } } + } + public class PageBlobUploadPagesOptions + { + public Azure.Storage.Blobs.Models.PageBlobRequestConditions Conditions { get => throw null; set { } } + public PageBlobUploadPagesOptions() => throw null; + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class PageInfo + { + public long BlobSequenceNumber { get => throw null; } + public byte[] ContentCrc64 { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string EncryptionKeySha256 { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public class PageRangeItem + { + public PageRangeItem() => throw null; + public bool IsClear { get => throw null; } + public Azure.HttpRange Range { get => throw null; } + } + public class PageRangesInfo + { + public long BlobContentLength { get => throw null; } + public System.Collections.Generic.IEnumerable ClearRanges { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public System.Collections.Generic.IEnumerable PageRanges { get => throw null; } + } + public enum PathRenameMode + { + Legacy = 0, + Posix = 1, + } + public enum PublicAccessType + { + None = 0, + BlobContainer = 1, + Blob = 2, + } + public enum RehydratePriority + { + High = 0, + Standard = 1, + } + public class ReleasedObjectInfo + { + public ReleasedObjectInfo(Azure.ETag eTag, System.DateTimeOffset lastModified) => throw null; + public override bool Equals(object obj) => throw null; + public Azure.ETag ETag { get => throw null; } + public override int GetHashCode() => throw null; + public System.DateTimeOffset LastModified { get => throw null; } + public override string ToString() => throw null; + } + public enum SequenceNumberAction + { + Max = 0, + Update = 1, + Increment = 2, + } + public enum SkuName + { + StandardLrs = 0, + StandardGrs = 1, + StandardRagrs = 2, + StandardZrs = 3, + PremiumLrs = 4, + } + public class StageBlockFromUriOptions + { + public StageBlockFromUriOptions() => throw null; + public Azure.Storage.Blobs.Models.BlobRequestConditions DestinationConditions { get => throw null; set { } } + public Azure.HttpAuthorization SourceAuthentication { get => throw null; set { } } + public Azure.RequestConditions SourceConditions { get => throw null; set { } } + public byte[] SourceContentHash { get => throw null; set { } } + public Azure.HttpRange SourceRange { get => throw null; set { } } + } + public class TaggedBlobItem + { + public string BlobContainerName { get => throw null; } + public string BlobName { get => throw null; } + public System.Collections.Generic.IDictionary Tags { get => throw null; } + } + public class UserDelegationKey + { + public System.DateTimeOffset SignedExpiresOn { get => throw null; } + public string SignedObjectId { get => throw null; } + public string SignedService { get => throw null; } + public System.DateTimeOffset SignedStartsOn { get => throw null; } + public string SignedTenantId { get => throw null; } + public string SignedVersion { get => throw null; } + public string Value { get => throw null; } + } + } + namespace Specialized + { + public class AppendBlobClient : Azure.Storage.Blobs.Specialized.BlobBaseClient + { + public virtual int AppendBlobMaxAppendBlockBytes { get => throw null; } + public virtual int AppendBlobMaxBlocks { get => throw null; } + public virtual Azure.Response AppendBlock(System.IO.Stream content, byte[] transactionalContentHash, Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response AppendBlock(System.IO.Stream content, Azure.Storage.Blobs.Models.AppendBlobAppendBlockOptions options = default(Azure.Storage.Blobs.Models.AppendBlobAppendBlockOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> AppendBlockAsync(System.IO.Stream content, byte[] transactionalContentHash, Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> AppendBlockAsync(System.IO.Stream content, Azure.Storage.Blobs.Models.AppendBlobAppendBlockOptions options = default(Azure.Storage.Blobs.Models.AppendBlobAppendBlockOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response AppendBlockFromUri(System.Uri sourceUri, Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions options = default(Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response AppendBlockFromUri(System.Uri sourceUri, Azure.HttpRange sourceRange, byte[] sourceContentHash, Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions, Azure.Storage.Blobs.Models.AppendBlobRequestConditions sourceConditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> AppendBlockFromUriAsync(System.Uri sourceUri, Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions options = default(Azure.Storage.Blobs.Models.AppendBlobAppendBlockFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> AppendBlockFromUriAsync(System.Uri sourceUri, Azure.HttpRange sourceRange, byte[] sourceContentHash, Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions, Azure.Storage.Blobs.Models.AppendBlobRequestConditions sourceConditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Create(Azure.Storage.Blobs.Models.AppendBlobCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.AppendBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Blobs.Models.AppendBlobCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.AppendBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Blobs.Models.AppendBlobCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Blobs.Models.AppendBlobCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected AppendBlobClient() => throw null; + public AppendBlobClient(string connectionString, string blobContainerName, string blobName) => throw null; + public AppendBlobClient(string connectionString, string blobContainerName, string blobName, Azure.Storage.Blobs.BlobClientOptions options) => throw null; + public AppendBlobClient(System.Uri blobUri, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public AppendBlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public AppendBlobClient(System.Uri blobUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public AppendBlobClient(System.Uri blobUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public virtual System.IO.Stream OpenWrite(bool overwrite, Azure.Storage.Blobs.Models.AppendBlobOpenWriteOptions options = default(Azure.Storage.Blobs.Models.AppendBlobOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool overwrite, Azure.Storage.Blobs.Models.AppendBlobOpenWriteOptions options = default(Azure.Storage.Blobs.Models.AppendBlobOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Seal(Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.AppendBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SealAsync(Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.AppendBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public Azure.Storage.Blobs.Specialized.AppendBlobClient WithCustomerProvidedKey(Azure.Storage.Blobs.Models.CustomerProvidedKey? customerProvidedKey) => throw null; + public Azure.Storage.Blobs.Specialized.AppendBlobClient WithEncryptionScope(string encryptionScope) => throw null; + public Azure.Storage.Blobs.Specialized.AppendBlobClient WithSnapshot(string snapshot) => throw null; + public Azure.Storage.Blobs.Specialized.AppendBlobClient WithVersion(string versionId) => throw null; + } + public class BlobBaseClient + { + public virtual Azure.Response AbortCopyFromUri(string copyId, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AbortCopyFromUriAsync(string copyId, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual string AccountName { get => throw null; } + public virtual string BlobContainerName { get => throw null; } + public virtual bool CanGenerateSasUri { get => throw null; } + public virtual Azure.Response CreateSnapshot(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateSnapshotAsync(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected BlobBaseClient() => throw null; + public BlobBaseClient(string connectionString, string blobContainerName, string blobName) => throw null; + public BlobBaseClient(string connectionString, string blobContainerName, string blobName, Azure.Storage.Blobs.BlobClientOptions options) => throw null; + public BlobBaseClient(System.Uri blobUri, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobBaseClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobBaseClient(System.Uri blobUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlobBaseClient(System.Uri blobUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public virtual Azure.Response Delete(Azure.Storage.Blobs.Models.DeleteSnapshotsOption snapshotsOption = default(Azure.Storage.Blobs.Models.DeleteSnapshotsOption), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.Storage.Blobs.Models.DeleteSnapshotsOption snapshotsOption = default(Azure.Storage.Blobs.Models.DeleteSnapshotsOption), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(Azure.Storage.Blobs.Models.DeleteSnapshotsOption snapshotsOption = default(Azure.Storage.Blobs.Models.DeleteSnapshotsOption), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(Azure.Storage.Blobs.Models.DeleteSnapshotsOption snapshotsOption = default(Azure.Storage.Blobs.Models.DeleteSnapshotsOption), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteImmutabilityPolicy(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteImmutabilityPolicyAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Download() => throw null; + public virtual Azure.Response Download(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Download(Azure.HttpRange range = default(Azure.HttpRange), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), bool rangeGetContentHash = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DownloadAsync() => throw null; + public virtual System.Threading.Tasks.Task> DownloadAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadAsync(Azure.HttpRange range = default(Azure.HttpRange), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), bool rangeGetContentHash = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DownloadContent() => throw null; + public virtual Azure.Response DownloadContent(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DownloadContent(Azure.Storage.Blobs.Models.BlobRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response DownloadContent(Azure.Storage.Blobs.Models.BlobRequestConditions conditions, System.IProgress progressHandler, Azure.HttpRange range, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response DownloadContent(Azure.Storage.Blobs.Models.BlobDownloadOptions options = default(Azure.Storage.Blobs.Models.BlobDownloadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DownloadContentAsync() => throw null; + public virtual System.Threading.Tasks.Task> DownloadContentAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadContentAsync(Azure.Storage.Blobs.Models.BlobRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadContentAsync(Azure.Storage.Blobs.Models.BlobRequestConditions conditions, System.IProgress progressHandler, Azure.HttpRange range, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadContentAsync(Azure.Storage.Blobs.Models.BlobDownloadOptions options = default(Azure.Storage.Blobs.Models.BlobDownloadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DownloadStreaming(Azure.HttpRange range, Azure.Storage.Blobs.Models.BlobRequestConditions conditions, bool rangeGetContentHash, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response DownloadStreaming(Azure.HttpRange range, Azure.Storage.Blobs.Models.BlobRequestConditions conditions, bool rangeGetContentHash, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response DownloadStreaming(Azure.Storage.Blobs.Models.BlobDownloadOptions options = default(Azure.Storage.Blobs.Models.BlobDownloadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DownloadStreamingAsync(Azure.HttpRange range, Azure.Storage.Blobs.Models.BlobRequestConditions conditions, bool rangeGetContentHash, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadStreamingAsync(Azure.HttpRange range, Azure.Storage.Blobs.Models.BlobRequestConditions conditions, bool rangeGetContentHash, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadStreamingAsync(Azure.Storage.Blobs.Models.BlobDownloadOptions options = default(Azure.Storage.Blobs.Models.BlobDownloadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DownloadTo(System.IO.Stream destination) => throw null; + public virtual Azure.Response DownloadTo(string path) => throw null; + public virtual Azure.Response DownloadTo(System.IO.Stream destination, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response DownloadTo(string path, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response DownloadTo(System.IO.Stream destination, Azure.Storage.Blobs.Models.BlobDownloadToOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DownloadTo(string path, Azure.Storage.Blobs.Models.BlobDownloadToOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DownloadTo(System.IO.Stream destination, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DownloadTo(string path, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DownloadToAsync(System.IO.Stream destination) => throw null; + public virtual System.Threading.Tasks.Task DownloadToAsync(string path) => throw null; + public virtual System.Threading.Tasks.Task DownloadToAsync(System.IO.Stream destination, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToAsync(string path, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToAsync(System.IO.Stream destination, Azure.Storage.Blobs.Models.BlobDownloadToOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DownloadToAsync(string path, Azure.Storage.Blobs.Models.BlobDownloadToOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DownloadToAsync(System.IO.Stream destination, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DownloadToAsync(string path, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Exists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.BlobSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.BlobSasBuilder builder) => throw null; + protected virtual Azure.Storage.Blobs.Specialized.BlobLeaseClient GetBlobLeaseClientCore(string leaseId) => throw null; + protected static System.Threading.Tasks.Task GetCopyAuthorizationHeaderAsync(Azure.Storage.Blobs.Specialized.BlobBaseClient client, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Blobs.BlobContainerClient GetParentBlobContainerClientCore() => throw null; + public virtual Azure.Response GetProperties(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetTags(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetTagsAsync(Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual string Name { get => throw null; } + public virtual System.IO.Stream OpenRead(Azure.Storage.Blobs.Models.BlobOpenReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenRead(long position = default(long), int? bufferSize = default(int?), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenRead(bool allowBlobModifications, long position = default(long), int? bufferSize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(Azure.Storage.Blobs.Models.BlobOpenReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(long position = default(long), int? bufferSize = default(int?), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(bool allowBlobModifications, long position = default(long), int? bufferSize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetAccessTier(Azure.Storage.Blobs.Models.AccessTier accessTier, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default(Azure.Storage.Blobs.Models.RehydratePriority?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task SetAccessTierAsync(Azure.Storage.Blobs.Models.AccessTier accessTier, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default(Azure.Storage.Blobs.Models.RehydratePriority?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetHttpHeaders(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetHttpHeadersAsync(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetImmutabilityPolicy(Azure.Storage.Blobs.Models.BlobImmutabilityPolicy immutabilityPolicy, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetImmutabilityPolicyAsync(Azure.Storage.Blobs.Models.BlobImmutabilityPolicy immutabilityPolicy, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetLegalHold(bool hasLegalHold, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetLegalHoldAsync(bool hasLegalHold, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task SetTagsAsync(System.Collections.Generic.IDictionary tags, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Blobs.Models.CopyFromUriOperation StartCopyFromUri(System.Uri source, Azure.Storage.Blobs.Models.BlobCopyFromUriOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Blobs.Models.CopyFromUriOperation StartCopyFromUri(System.Uri source, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), Azure.Storage.Blobs.Models.BlobRequestConditions sourceConditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.BlobRequestConditions destinationConditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default(Azure.Storage.Blobs.Models.RehydratePriority?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task StartCopyFromUriAsync(System.Uri source, Azure.Storage.Blobs.Models.BlobCopyFromUriOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task StartCopyFromUriAsync(System.Uri source, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), Azure.Storage.Blobs.Models.BlobRequestConditions sourceConditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.BlobRequestConditions destinationConditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default(Azure.Storage.Blobs.Models.RehydratePriority?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SyncCopyFromUri(System.Uri source, Azure.Storage.Blobs.Models.BlobCopyFromUriOptions options = default(Azure.Storage.Blobs.Models.BlobCopyFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SyncCopyFromUriAsync(System.Uri source, Azure.Storage.Blobs.Models.BlobCopyFromUriOptions options = default(Azure.Storage.Blobs.Models.BlobCopyFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Undelete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task UndeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + public virtual Azure.Storage.Blobs.Specialized.BlobBaseClient WithCustomerProvidedKey(Azure.Storage.Blobs.Models.CustomerProvidedKey? customerProvidedKey) => throw null; + public virtual Azure.Storage.Blobs.Specialized.BlobBaseClient WithEncryptionScope(string encryptionScope) => throw null; + public virtual Azure.Storage.Blobs.Specialized.BlobBaseClient WithSnapshot(string snapshot) => throw null; + protected virtual Azure.Storage.Blobs.Specialized.BlobBaseClient WithSnapshotCore(string snapshot) => throw null; + public virtual Azure.Storage.Blobs.Specialized.BlobBaseClient WithVersion(string versionId) => throw null; + } + public class BlobLeaseClient + { + public virtual Azure.Response Acquire(System.TimeSpan duration, Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Acquire(System.TimeSpan duration, Azure.RequestConditions conditions, Azure.RequestContext context) => throw null; + public virtual System.Threading.Tasks.Task> AcquireAsync(System.TimeSpan duration, Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AcquireAsync(System.TimeSpan duration, Azure.RequestConditions conditions, Azure.RequestContext context) => throw null; + protected virtual Azure.Storage.Blobs.Specialized.BlobBaseClient BlobClient { get => throw null; } + protected virtual Azure.Storage.Blobs.BlobContainerClient BlobContainerClient { get => throw null; } + public virtual Azure.Response Break(System.TimeSpan? breakPeriod = default(System.TimeSpan?), Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> BreakAsync(System.TimeSpan? breakPeriod = default(System.TimeSpan?), Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Change(string proposedId, Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ChangeAsync(string proposedId, Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected BlobLeaseClient() => throw null; + public BlobLeaseClient(Azure.Storage.Blobs.Specialized.BlobBaseClient client, string leaseId = default(string)) => throw null; + public BlobLeaseClient(Azure.Storage.Blobs.BlobContainerClient client, string leaseId = default(string)) => throw null; + public static readonly System.TimeSpan InfiniteLeaseDuration; + public virtual string LeaseId { get => throw null; } + public virtual Azure.Response Release(Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReleaseAsync(Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReleaseInternal(Azure.RequestConditions conditions, bool async, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Renew(Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RenewAsync(Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Uri Uri { get => throw null; } + } + public class BlockBlobClient : Azure.Storage.Blobs.Specialized.BlobBaseClient + { + public virtual int BlockBlobMaxBlocks { get => throw null; } + public virtual int BlockBlobMaxStageBlockBytes { get => throw null; } + public virtual long BlockBlobMaxStageBlockLongBytes { get => throw null; } + public virtual int BlockBlobMaxUploadBlobBytes { get => throw null; } + public virtual long BlockBlobMaxUploadBlobLongBytes { get => throw null; } + public virtual Azure.Response CommitBlockList(System.Collections.Generic.IEnumerable base64BlockIds, Azure.Storage.Blobs.Models.CommitBlockListOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CommitBlockList(System.Collections.Generic.IEnumerable base64BlockIds, Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CommitBlockListAsync(System.Collections.Generic.IEnumerable base64BlockIds, Azure.Storage.Blobs.Models.CommitBlockListOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CommitBlockListAsync(System.Collections.Generic.IEnumerable base64BlockIds, Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected static Azure.Storage.Blobs.Specialized.BlockBlobClient CreateClient(System.Uri blobUri, Azure.Storage.Blobs.BlobClientOptions options, Azure.Core.Pipeline.HttpPipeline pipeline) => throw null; + protected BlockBlobClient() => throw null; + public BlockBlobClient(string connectionString, string containerName, string blobName) => throw null; + public BlockBlobClient(string connectionString, string blobContainerName, string blobName, Azure.Storage.Blobs.BlobClientOptions options) => throw null; + public BlockBlobClient(System.Uri blobUri, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlockBlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlockBlobClient(System.Uri blobUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public BlockBlobClient(System.Uri blobUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public virtual Azure.Response GetBlockList(Azure.Storage.Blobs.Models.BlockListTypes blockListTypes = default(Azure.Storage.Blobs.Models.BlockListTypes), string snapshot = default(string), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetBlockListAsync(Azure.Storage.Blobs.Models.BlockListTypes blockListTypes = default(Azure.Storage.Blobs.Models.BlockListTypes), string snapshot = default(string), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenWrite(bool overwrite, Azure.Storage.Blobs.Models.BlockBlobOpenWriteOptions options = default(Azure.Storage.Blobs.Models.BlockBlobOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool overwrite, Azure.Storage.Blobs.Models.BlockBlobOpenWriteOptions options = default(Azure.Storage.Blobs.Models.BlockBlobOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Query(string querySqlExpression, Azure.Storage.Blobs.Models.BlobQueryOptions options = default(Azure.Storage.Blobs.Models.BlobQueryOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> QueryAsync(string querySqlExpression, Azure.Storage.Blobs.Models.BlobQueryOptions options = default(Azure.Storage.Blobs.Models.BlobQueryOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response StageBlock(string base64BlockId, System.IO.Stream content, byte[] transactionalContentHash, Azure.Storage.Blobs.Models.BlobRequestConditions conditions, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response StageBlock(string base64BlockId, System.IO.Stream content, Azure.Storage.Blobs.Models.BlockBlobStageBlockOptions options = default(Azure.Storage.Blobs.Models.BlockBlobStageBlockOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> StageBlockAsync(string base64BlockId, System.IO.Stream content, byte[] transactionalContentHash, Azure.Storage.Blobs.Models.BlobRequestConditions conditions, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> StageBlockAsync(string base64BlockId, System.IO.Stream content, Azure.Storage.Blobs.Models.BlockBlobStageBlockOptions options = default(Azure.Storage.Blobs.Models.BlockBlobStageBlockOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response StageBlockFromUri(System.Uri sourceUri, string base64BlockId, Azure.Storage.Blobs.Models.StageBlockFromUriOptions options = default(Azure.Storage.Blobs.Models.StageBlockFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response StageBlockFromUri(System.Uri sourceUri, string base64BlockId, Azure.HttpRange sourceRange, byte[] sourceContentHash, Azure.RequestConditions sourceConditions, Azure.Storage.Blobs.Models.BlobRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> StageBlockFromUriAsync(System.Uri sourceUri, string base64BlockId, Azure.Storage.Blobs.Models.StageBlockFromUriOptions options = default(Azure.Storage.Blobs.Models.StageBlockFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> StageBlockFromUriAsync(System.Uri sourceUri, string base64BlockId, Azure.HttpRange sourceRange, byte[] sourceContentHash, Azure.RequestConditions sourceConditions, Azure.Storage.Blobs.Models.BlobRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response SyncUploadFromUri(System.Uri copySource, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SyncUploadFromUri(System.Uri copySource, Azure.Storage.Blobs.Models.BlobSyncUploadFromUriOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SyncUploadFromUriAsync(System.Uri copySource, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SyncUploadFromUriAsync(System.Uri copySource, Azure.Storage.Blobs.Models.BlobSyncUploadFromUriOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, Azure.Storage.Blobs.Models.BlobUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), System.IProgress progressHandler = default(System.IProgress), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, Azure.Storage.Blobs.Models.BlobUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), System.IProgress progressHandler = default(System.IProgress), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public Azure.Storage.Blobs.Specialized.BlockBlobClient WithCustomerProvidedKey(Azure.Storage.Blobs.Models.CustomerProvidedKey? customerProvidedKey) => throw null; + public Azure.Storage.Blobs.Specialized.BlockBlobClient WithEncryptionScope(string encryptionScope) => throw null; + public Azure.Storage.Blobs.Specialized.BlockBlobClient WithSnapshot(string snapshot) => throw null; + protected override sealed Azure.Storage.Blobs.Specialized.BlobBaseClient WithSnapshotCore(string snapshot) => throw null; + public Azure.Storage.Blobs.Specialized.BlockBlobClient WithVersion(string versionId) => throw null; + } + public class PageBlobClient : Azure.Storage.Blobs.Specialized.BlobBaseClient + { + public virtual Azure.Response ClearPages(Azure.HttpRange range, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ClearPagesAsync(Azure.HttpRange range, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(long size, Azure.Storage.Blobs.Models.PageBlobCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(long size, long? sequenceNumber = default(long?), Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(long size, Azure.Storage.Blobs.Models.PageBlobCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(long size, long? sequenceNumber = default(long?), Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(long size, Azure.Storage.Blobs.Models.PageBlobCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(long size, long? sequenceNumber = default(long?), Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(long size, Azure.Storage.Blobs.Models.PageBlobCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(long size, long? sequenceNumber = default(long?), Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = default(Azure.Storage.Blobs.Models.BlobHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected PageBlobClient() => throw null; + public PageBlobClient(string connectionString, string blobContainerName, string blobName) => throw null; + public PageBlobClient(string connectionString, string blobContainerName, string blobName, Azure.Storage.Blobs.BlobClientOptions options) => throw null; + public PageBlobClient(System.Uri blobUri, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public PageBlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public PageBlobClient(System.Uri blobUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public PageBlobClient(System.Uri blobUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default(Azure.Storage.Blobs.BlobClientOptions)) => throw null; + public virtual Azure.Pageable GetAllPageRanges(Azure.Storage.Blobs.Models.GetPageRangesOptions options = default(Azure.Storage.Blobs.Models.GetPageRangesOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetAllPageRangesAsync(Azure.Storage.Blobs.Models.GetPageRangesOptions options = default(Azure.Storage.Blobs.Models.GetPageRangesOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetAllPageRangesDiff(Azure.Storage.Blobs.Models.GetPageRangesDiffOptions options = default(Azure.Storage.Blobs.Models.GetPageRangesDiffOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetAllPageRangesDiffAsync(Azure.Storage.Blobs.Models.GetPageRangesDiffOptions options = default(Azure.Storage.Blobs.Models.GetPageRangesDiffOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetManagedDiskPageRangesDiff(Azure.HttpRange? range = default(Azure.HttpRange?), string snapshot = default(string), System.Uri previousSnapshotUri = default(System.Uri), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetManagedDiskPageRangesDiffAsync(Azure.HttpRange? range = default(Azure.HttpRange?), string snapshot = default(string), System.Uri previousSnapshotUri = default(System.Uri), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetPageRanges(Azure.HttpRange? range = default(Azure.HttpRange?), string snapshot = default(string), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesAsync(Azure.HttpRange? range = default(Azure.HttpRange?), string snapshot = default(string), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetPageRangesDiff(Azure.HttpRange? range = default(Azure.HttpRange?), string snapshot = default(string), string previousSnapshot = default(string), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesDiffAsync(Azure.HttpRange? range = default(Azure.HttpRange?), string snapshot = default(string), string previousSnapshot = default(string), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenWrite(bool overwrite, long position, Azure.Storage.Blobs.Models.PageBlobOpenWriteOptions options = default(Azure.Storage.Blobs.Models.PageBlobOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool overwrite, long position, Azure.Storage.Blobs.Models.PageBlobOpenWriteOptions options = default(Azure.Storage.Blobs.Models.PageBlobOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual int PageBlobMaxUploadPagesBytes { get => throw null; } + public virtual int PageBlobPageBytes { get => throw null; } + public virtual Azure.Response Resize(long size, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ResizeAsync(long size, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Blobs.Models.CopyFromUriOperation StartCopyIncremental(System.Uri sourceUri, string snapshot, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task StartCopyIncrementalAsync(System.Uri sourceUri, string snapshot, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UpdateSequenceNumber(Azure.Storage.Blobs.Models.SequenceNumberAction action, long? sequenceNumber = default(long?), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UpdateSequenceNumberAsync(Azure.Storage.Blobs.Models.SequenceNumberAction action, long? sequenceNumber = default(long?), Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.PageBlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UploadPages(System.IO.Stream content, long offset, byte[] transactionalContentHash, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response UploadPages(System.IO.Stream content, long offset, Azure.Storage.Blobs.Models.PageBlobUploadPagesOptions options = default(Azure.Storage.Blobs.Models.PageBlobUploadPagesOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadPagesAsync(System.IO.Stream content, long offset, byte[] transactionalContentHash, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadPagesAsync(System.IO.Stream content, long offset, Azure.Storage.Blobs.Models.PageBlobUploadPagesOptions options = default(Azure.Storage.Blobs.Models.PageBlobUploadPagesOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UploadPagesFromUri(System.Uri sourceUri, Azure.HttpRange sourceRange, Azure.HttpRange range, Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions options = default(Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UploadPagesFromUri(System.Uri sourceUri, Azure.HttpRange sourceRange, Azure.HttpRange range, byte[] sourceContentHash, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions, Azure.Storage.Blobs.Models.PageBlobRequestConditions sourceConditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadPagesFromUriAsync(System.Uri sourceUri, Azure.HttpRange sourceRange, Azure.HttpRange range, Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions options = default(Azure.Storage.Blobs.Models.PageBlobUploadPagesFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadPagesFromUriAsync(System.Uri sourceUri, Azure.HttpRange sourceRange, Azure.HttpRange range, byte[] sourceContentHash, Azure.Storage.Blobs.Models.PageBlobRequestConditions conditions, Azure.Storage.Blobs.Models.PageBlobRequestConditions sourceConditions, System.Threading.CancellationToken cancellationToken) => throw null; + public Azure.Storage.Blobs.Specialized.PageBlobClient WithCustomerProvidedKey(Azure.Storage.Blobs.Models.CustomerProvidedKey? customerProvidedKey) => throw null; + public Azure.Storage.Blobs.Specialized.PageBlobClient WithEncryptionScope(string encryptionScope) => throw null; + public Azure.Storage.Blobs.Specialized.PageBlobClient WithSnapshot(string snapshot) => throw null; + protected override sealed Azure.Storage.Blobs.Specialized.BlobBaseClient WithSnapshotCore(string snapshot) => throw null; + public Azure.Storage.Blobs.Specialized.PageBlobClient WithVersion(string versionId) => throw null; + } + public class SpecializedBlobClientOptions : Azure.Storage.Blobs.BlobClientOptions + { + public Azure.Storage.ClientSideEncryptionOptions ClientSideEncryption { get => throw null; set { } } + public SpecializedBlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = default(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion)) : base(default(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion)) => throw null; + } + public static partial class SpecializedBlobExtensions + { + public static Azure.Storage.Blobs.Specialized.AppendBlobClient GetAppendBlobClient(this Azure.Storage.Blobs.BlobContainerClient client, string blobName) => throw null; + public static Azure.Storage.Blobs.Specialized.BlobBaseClient GetBlobBaseClient(this Azure.Storage.Blobs.BlobContainerClient client, string blobName) => throw null; + public static Azure.Storage.Blobs.Specialized.BlobLeaseClient GetBlobLeaseClient(this Azure.Storage.Blobs.Specialized.BlobBaseClient client, string leaseId = default(string)) => throw null; + public static Azure.Storage.Blobs.Specialized.BlobLeaseClient GetBlobLeaseClient(this Azure.Storage.Blobs.BlobContainerClient client, string leaseId = default(string)) => throw null; + public static Azure.Storage.Blobs.Specialized.BlockBlobClient GetBlockBlobClient(this Azure.Storage.Blobs.BlobContainerClient client, string blobName) => throw null; + public static Azure.Storage.Blobs.Specialized.PageBlobClient GetPageBlobClient(this Azure.Storage.Blobs.BlobContainerClient client, string blobName) => throw null; + public static Azure.Storage.Blobs.BlobContainerClient GetParentBlobContainerClient(this Azure.Storage.Blobs.Specialized.BlobBaseClient client) => throw null; + public static Azure.Storage.Blobs.BlobServiceClient GetParentBlobServiceClient(this Azure.Storage.Blobs.BlobContainerClient client) => throw null; + public static void UpdateClientSideKeyEncryptionKey(this Azure.Storage.Blobs.BlobClient client, Azure.Storage.ClientSideEncryptionOptions encryptionOptionsOverride = default(Azure.Storage.ClientSideEncryptionOptions), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.Threading.Tasks.Task UpdateClientSideKeyEncryptionKeyAsync(this Azure.Storage.Blobs.BlobClient client, Azure.Storage.ClientSideEncryptionOptions encryptionOptionsOverride = default(Azure.Storage.ClientSideEncryptionOptions), Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default(Azure.Storage.Blobs.Models.BlobRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static Azure.Storage.Blobs.BlobClient WithClientSideEncryptionOptions(this Azure.Storage.Blobs.BlobClient client, Azure.Storage.ClientSideEncryptionOptions clientSideEncryptionOptions) => throw null; + } + } + } + namespace Sas + { + [System.Flags] + public enum BlobAccountSasPermissions + { + Read = 1, + Add = 2, + Create = 4, + Write = 8, + Delete = 16, + List = 32, + All = -1, + } + [System.Flags] + public enum BlobContainerSasPermissions + { + Read = 1, + Add = 2, + Create = 4, + Write = 8, + Delete = 16, + List = 32, + Tag = 64, + DeleteBlobVersion = 128, + Move = 256, + Execute = 512, + SetImmutabilityPolicy = 1024, + Filter = 2048, + All = -1, + } + public class BlobSasBuilder + { + public string BlobContainerName { get => throw null; set { } } + public string BlobName { get => throw null; set { } } + public string BlobVersionId { get => throw null; set { } } + public string CacheControl { get => throw null; set { } } + public string ContentDisposition { get => throw null; set { } } + public string ContentEncoding { get => throw null; set { } } + public string ContentLanguage { get => throw null; set { } } + public string ContentType { get => throw null; set { } } + public string CorrelationId { get => throw null; set { } } + public BlobSasBuilder() => throw null; + public BlobSasBuilder(Azure.Storage.Sas.BlobSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public BlobSasBuilder(Azure.Storage.Sas.BlobContainerSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public string EncryptionScope { get => throw null; set { } } + public override bool Equals(object obj) => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; set { } } + public override int GetHashCode() => throw null; + public string Identifier { get => throw null; set { } } + public Azure.Storage.Sas.SasIPRange IPRange { get => throw null; set { } } + public string Permissions { get => throw null; } + public string PreauthorizedAgentObjectId { get => throw null; set { } } + public Azure.Storage.Sas.SasProtocol Protocol { get => throw null; set { } } + public string Resource { get => throw null; set { } } + public void SetPermissions(Azure.Storage.Sas.BlobSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.BlobAccountSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.BlobContainerSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.SnapshotSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.BlobVersionSasPermissions permissions) => throw null; + public void SetPermissions(string rawPermissions, bool normalize = default(bool)) => throw null; + public void SetPermissions(string rawPermissions) => throw null; + public string Snapshot { get => throw null; set { } } + public System.DateTimeOffset StartsOn { get => throw null; set { } } + public Azure.Storage.Sas.BlobSasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) => throw null; + public Azure.Storage.Sas.BlobSasQueryParameters ToSasQueryParameters(Azure.Storage.Blobs.Models.UserDelegationKey userDelegationKey, string accountName) => throw null; + public override string ToString() => throw null; + public string Version { get => throw null; set { } } + } + [System.Flags] + public enum BlobSasPermissions + { + Read = 1, + Add = 2, + Create = 4, + Write = 8, + Delete = 16, + Tag = 32, + DeleteBlobVersion = 64, + List = 128, + Move = 256, + Execute = 512, + SetImmutabilityPolicy = 1024, + PermanentDelete = 2048, + All = -1, + } + public sealed class BlobSasQueryParameters : Azure.Storage.Sas.SasQueryParameters + { + public static Azure.Storage.Sas.BlobSasQueryParameters Empty { get => throw null; } + public System.DateTimeOffset KeyExpiresOn { get => throw null; } + public string KeyObjectId { get => throw null; } + public string KeyService { get => throw null; } + public System.DateTimeOffset KeyStartsOn { get => throw null; } + public string KeyTenantId { get => throw null; } + public string KeyVersion { get => throw null; } + public override string ToString() => throw null; + } + [System.Flags] + public enum BlobVersionSasPermissions + { + Delete = 1, + SetImmutabilityPolicy = 2, + PermanentDelete = 4, + All = -1, + } + [System.Flags] + public enum SnapshotSasPermissions + { + Read = 1, + Write = 2, + Delete = 4, + SetImmutabilityPolicy = 8, + PermanentDelete = 16, + All = -1, + } + } + } +} +namespace Microsoft +{ + namespace Extensions + { + namespace Azure + { + public static partial class BlobClientBuilderExtensions + { + public static IAzureClientBuilder AddBlobServiceClient(this TBuilder builder, string connectionString) where TBuilder : IAzureClientFactoryBuilder => throw null; + public static IAzureClientBuilder AddBlobServiceClient(this TBuilder builder, System.Uri serviceUri) where TBuilder : IAzureClientFactoryBuilderWithCredential => throw null; + public static IAzureClientBuilder AddBlobServiceClient(this TBuilder builder, System.Uri serviceUri, StorageSharedKeyCredential sharedKeyCredential) where TBuilder : IAzureClientFactoryBuilder => throw null; + public static IAzureClientBuilder AddBlobServiceClient(this TBuilder builder, TConfiguration configuration) where TBuilder : IAzureClientFactoryBuilderWithConfiguration => throw null; + } + } + } +} diff --git a/csharp/ql/test/resources/stubs/Azure.Storage.Common/12.18.1/Azure.Storage.Common.cs b/csharp/ql/test/resources/stubs/Azure.Storage.Common/12.18.1/Azure.Storage.Common.cs new file mode 100644 index 000000000000..81a5990aa39e --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Storage.Common/12.18.1/Azure.Storage.Common.cs @@ -0,0 +1,192 @@ +// This file contains auto-generated code. +// Generated from `Azure.Storage.Common, Version=12.18.1.0, Culture=neutral, PublicKeyToken=92742159e12e44c8`. +namespace Azure +{ + namespace Storage + { + public class ClientSideEncryptionOptions + { + public ClientSideEncryptionOptions(Azure.Storage.ClientSideEncryptionVersion version) => throw null; + public Azure.Storage.ClientSideEncryptionVersion EncryptionVersion { get => throw null; } + public Azure.Core.Cryptography.IKeyEncryptionKey KeyEncryptionKey { get => throw null; set { } } + public Azure.Core.Cryptography.IKeyEncryptionKeyResolver KeyResolver { get => throw null; set { } } + public string KeyWrapAlgorithm { get => throw null; set { } } + } + public enum ClientSideEncryptionVersion + { + V1_0 = 1, + V2_0 = 2, + } + public class DownloadTransferValidationOptions + { + public bool AutoValidateChecksum { get => throw null; set { } } + public Azure.Storage.StorageChecksumAlgorithm ChecksumAlgorithm { get => throw null; set { } } + public DownloadTransferValidationOptions() => throw null; + } + namespace Sas + { + public class AccountSasBuilder + { + public AccountSasBuilder() => throw null; + public AccountSasBuilder(Azure.Storage.Sas.AccountSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasServices services, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes) => throw null; + public string EncryptionScope { get => throw null; set { } } + public override bool Equals(object obj) => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; set { } } + public override int GetHashCode() => throw null; + public Azure.Storage.Sas.SasIPRange IPRange { get => throw null; set { } } + public string Permissions { get => throw null; } + public Azure.Storage.Sas.SasProtocol Protocol { get => throw null; set { } } + public Azure.Storage.Sas.AccountSasResourceTypes ResourceTypes { get => throw null; set { } } + public Azure.Storage.Sas.AccountSasServices Services { get => throw null; set { } } + public void SetPermissions(Azure.Storage.Sas.AccountSasPermissions permissions) => throw null; + public void SetPermissions(string rawPermissions) => throw null; + public System.DateTimeOffset StartsOn { get => throw null; set { } } + public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) => throw null; + public override string ToString() => throw null; + public string Version { get => throw null; set { } } + } + [System.Flags] + public enum AccountSasPermissions + { + Read = 1, + Write = 2, + Delete = 4, + List = 8, + Add = 16, + Create = 32, + Update = 64, + Process = 128, + Tag = 256, + Filter = 512, + DeleteVersion = 1024, + SetImmutabilityPolicy = 2048, + PermanentDelete = 4096, + All = -1, + } + [System.Flags] + public enum AccountSasResourceTypes + { + Service = 1, + Container = 2, + Object = 4, + All = -1, + } + [System.Flags] + public enum AccountSasServices + { + Blobs = 1, + Queues = 2, + Files = 4, + Tables = 8, + All = -1, + } + public struct SasIPRange : System.IEquatable + { + public SasIPRange(System.Net.IPAddress start, System.Net.IPAddress end = default(System.Net.IPAddress)) => throw null; + public System.Net.IPAddress End { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Sas.SasIPRange other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Sas.SasIPRange left, Azure.Storage.Sas.SasIPRange right) => throw null; + public static bool operator !=(Azure.Storage.Sas.SasIPRange left, Azure.Storage.Sas.SasIPRange right) => throw null; + public static Azure.Storage.Sas.SasIPRange Parse(string s) => throw null; + public System.Net.IPAddress Start { get => throw null; } + public override string ToString() => throw null; + } + public enum SasProtocol + { + None = 0, + HttpsAndHttp = 1, + Https = 2, + } + public class SasQueryParameters + { + public string AgentObjectId { get => throw null; } + protected void AppendProperties(System.Text.StringBuilder stringBuilder) => throw null; + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public string ContentEncoding { get => throw null; } + public string ContentLanguage { get => throw null; } + public string ContentType { get => throw null; } + public string CorrelationId { get => throw null; } + protected static Azure.Storage.Sas.SasQueryParameters Create(System.Collections.Generic.IDictionary values) => throw null; + protected static Azure.Storage.Sas.SasQueryParameters Create(string version, Azure.Storage.Sas.AccountSasServices? services, Azure.Storage.Sas.AccountSasResourceTypes? resourceTypes, Azure.Storage.Sas.SasProtocol protocol, System.DateTimeOffset startsOn, System.DateTimeOffset expiresOn, Azure.Storage.Sas.SasIPRange ipRange, string identifier, string resource, string permissions, string signature, string cacheControl = default(string), string contentDisposition = default(string), string contentEncoding = default(string), string contentLanguage = default(string), string contentType = default(string), string authorizedAadObjectId = default(string), string unauthorizedAadObjectId = default(string), string correlationId = default(string), int? directoryDepth = default(int?), string encryptionScope = default(string)) => throw null; + protected static Azure.Storage.Sas.SasQueryParameters Create(string version, Azure.Storage.Sas.AccountSasServices? services, Azure.Storage.Sas.AccountSasResourceTypes? resourceTypes, Azure.Storage.Sas.SasProtocol protocol, System.DateTimeOffset startsOn, System.DateTimeOffset expiresOn, Azure.Storage.Sas.SasIPRange ipRange, string identifier, string resource, string permissions, string signature, string cacheControl = default(string), string contentDisposition = default(string), string contentEncoding = default(string), string contentLanguage = default(string), string contentType = default(string)) => throw null; + protected static Azure.Storage.Sas.SasQueryParameters Create(string version, Azure.Storage.Sas.AccountSasServices? services, Azure.Storage.Sas.AccountSasResourceTypes? resourceTypes, Azure.Storage.Sas.SasProtocol protocol, System.DateTimeOffset startsOn, System.DateTimeOffset expiresOn, Azure.Storage.Sas.SasIPRange ipRange, string identifier, string resource, string permissions, string signature, string cacheControl = default(string), string contentDisposition = default(string), string contentEncoding = default(string), string contentLanguage = default(string), string contentType = default(string), string authorizedAadObjectId = default(string), string unauthorizedAadObjectId = default(string), string correlationId = default(string), int? directoryDepth = default(int?)) => throw null; + protected SasQueryParameters() => throw null; + protected SasQueryParameters(System.Collections.Generic.IDictionary values) => throw null; + protected SasQueryParameters(string version, Azure.Storage.Sas.AccountSasServices? services, Azure.Storage.Sas.AccountSasResourceTypes? resourceTypes, Azure.Storage.Sas.SasProtocol protocol, System.DateTimeOffset startsOn, System.DateTimeOffset expiresOn, Azure.Storage.Sas.SasIPRange ipRange, string identifier, string resource, string permissions, string signature, string cacheControl = default(string), string contentDisposition = default(string), string contentEncoding = default(string), string contentLanguage = default(string), string contentType = default(string), string authorizedAadObjectId = default(string), string unauthorizedAadObjectId = default(string), string correlationId = default(string), int? directoryDepth = default(int?), string encryptionScope = default(string)) => throw null; + protected SasQueryParameters(string version, Azure.Storage.Sas.AccountSasServices? services, Azure.Storage.Sas.AccountSasResourceTypes? resourceTypes, Azure.Storage.Sas.SasProtocol protocol, System.DateTimeOffset startsOn, System.DateTimeOffset expiresOn, Azure.Storage.Sas.SasIPRange ipRange, string identifier, string resource, string permissions, string signature, string cacheControl = default(string), string contentDisposition = default(string), string contentEncoding = default(string), string contentLanguage = default(string), string contentType = default(string)) => throw null; + protected SasQueryParameters(string version, Azure.Storage.Sas.AccountSasServices? services, Azure.Storage.Sas.AccountSasResourceTypes? resourceTypes, Azure.Storage.Sas.SasProtocol protocol, System.DateTimeOffset startsOn, System.DateTimeOffset expiresOn, Azure.Storage.Sas.SasIPRange ipRange, string identifier, string resource, string permissions, string signature, string cacheControl = default(string), string contentDisposition = default(string), string contentEncoding = default(string), string contentLanguage = default(string), string contentType = default(string), string authorizedAadObjectId = default(string), string unauthorizedAadObjectId = default(string), string correlationId = default(string), int? directoryDepth = default(int?)) => throw null; + public const string DefaultSasVersion = default; + public int? DirectoryDepth { get => throw null; } + public static Azure.Storage.Sas.SasQueryParameters Empty { get => throw null; } + public string EncryptionScope { get => throw null; } + public System.DateTimeOffset ExpiresOn { get => throw null; } + public string Identifier { get => throw null; } + public Azure.Storage.Sas.SasIPRange IPRange { get => throw null; } + public string Permissions { get => throw null; } + public string PreauthorizedAgentObjectId { get => throw null; } + public Azure.Storage.Sas.SasProtocol Protocol { get => throw null; } + public string Resource { get => throw null; } + public Azure.Storage.Sas.AccountSasResourceTypes? ResourceTypes { get => throw null; } + public Azure.Storage.Sas.AccountSasServices? Services { get => throw null; } + public string Signature { get => throw null; } + public System.DateTimeOffset StartsOn { get => throw null; } + public override string ToString() => throw null; + public string Version { get => throw null; } + } + } + public enum StorageChecksumAlgorithm + { + Auto = 0, + None = 1, + MD5 = 2, + StorageCrc64 = 3, + } + // public class StorageCrc64HashAlgorithm : System.IO.Hashing.NonCryptographicHashAlgorithm + // { + // public override void Append(System.ReadOnlySpan source) => throw null; + // public static Azure.Storage.StorageCrc64HashAlgorithm Create() => throw null; + // protected override void GetCurrentHashCore(System.Span destination) => throw null; + // public override void Reset() => throw null; + // internal StorageCrc64HashAlgorithm() : base(default(int)) { } + // } + public static partial class StorageExtensions + { + public static System.IDisposable CreateServiceTimeoutScope(System.TimeSpan? timeout) => throw null; + } + public class StorageSharedKeyCredential + { + public string AccountName { get => throw null; } + protected static string ComputeSasSignature(Azure.Storage.StorageSharedKeyCredential credential, string message) => throw null; + public StorageSharedKeyCredential(string accountName, string accountKey) => throw null; + public void SetAccountKey(string accountKey) => throw null; + } + public struct StorageTransferOptions : System.IEquatable + { + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.StorageTransferOptions obj) => throw null; + public override int GetHashCode() => throw null; + public int? InitialTransferLength { get => throw null; set { } } + public long? InitialTransferSize { get => throw null; set { } } + public int? MaximumConcurrency { get => throw null; set { } } + public int? MaximumTransferLength { get => throw null; set { } } + public long? MaximumTransferSize { get => throw null; set { } } + public static bool operator ==(Azure.Storage.StorageTransferOptions left, Azure.Storage.StorageTransferOptions right) => throw null; + public static bool operator !=(Azure.Storage.StorageTransferOptions left, Azure.Storage.StorageTransferOptions right) => throw null; + } + public class TransferValidationOptions + { + public TransferValidationOptions() => throw null; + public Azure.Storage.DownloadTransferValidationOptions Download { get => throw null; } + public Azure.Storage.UploadTransferValidationOptions Upload { get => throw null; } + } + public class UploadTransferValidationOptions + { + public Azure.Storage.StorageChecksumAlgorithm ChecksumAlgorithm { get => throw null; set { } } + public UploadTransferValidationOptions() => throw null; + public System.ReadOnlyMemory PrecalculatedChecksum { get => throw null; set { } } + } + } +} diff --git a/csharp/ql/test/resources/stubs/Azure.Storage.Files.DataLake/12.22.0/Azure.Storage.Files.DataLake.cs b/csharp/ql/test/resources/stubs/Azure.Storage.Files.DataLake/12.22.0/Azure.Storage.Files.DataLake.cs new file mode 100644 index 000000000000..9df2abf3e29a --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Storage.Files.DataLake/12.22.0/Azure.Storage.Files.DataLake.cs @@ -0,0 +1,1276 @@ +// This file contains auto-generated code. +// Generated from `Azure.Storage.Files.DataLake, Version=12.22.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8`. +namespace Azure +{ + namespace Storage + { + namespace Files + { + namespace DataLake + { + public class DataLakeClientOptions : Azure.Core.ClientOptions + { + public Azure.Storage.Files.DataLake.Models.DataLakeAudience? Audience { get => throw null; set { } } + public DataLakeClientOptions(Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion version = default(Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion)) => throw null; + public Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey? CustomerProvidedKey { get => throw null; set { } } + public bool EnableTenantDiscovery { get => throw null; set { } } + public System.Uri GeoRedundantSecondaryUri { get => throw null; set { } } + public enum ServiceVersion + { + V2019_02_02 = 1, + V2019_07_07 = 2, + V2019_12_12 = 3, + V2020_02_10 = 4, + V2020_04_08 = 5, + V2020_06_12 = 6, + V2020_08_04 = 7, + V2020_10_02 = 8, + V2020_12_06 = 9, + V2021_02_12 = 10, + V2021_04_10 = 11, + V2021_06_08 = 12, + V2021_08_06 = 13, + V2021_10_04 = 14, + V2021_12_02 = 15, + V2022_11_02 = 16, + V2023_01_03 = 17, + V2023_05_03 = 18, + V2023_08_03 = 19, + V2023_11_03 = 20, + V2024_02_04 = 21, + V2024_05_04 = 22, + V2024_08_04 = 23, + V2024_11_04 = 24, + V2025_01_05 = 25, + V2025_05_05 = 26, + } + public Azure.Storage.TransferValidationOptions TransferValidation { get => throw null; } + public Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion Version { get => throw null; } + } + public class DataLakeDirectoryClient : Azure.Storage.Files.DataLake.DataLakePathClient + { + public virtual Azure.Response Create(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateFile(string fileName, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateFile(string fileName, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateFileAsync(string fileName, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateFileAsync(string fileName, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateSubDirectory(string path, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateSubDirectory(string path, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateSubDirectoryAsync(string path, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateSubDirectoryAsync(string path, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + protected DataLakeDirectoryClient() => throw null; + public DataLakeDirectoryClient(System.Uri directoryUri) => throw null; + public DataLakeDirectoryClient(System.Uri directoryUri, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeDirectoryClient(string connectionString, string fileSystemName, string directoryPath) => throw null; + public DataLakeDirectoryClient(string connectionString, string fileSystemName, string directoryPath, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeDirectoryClient(System.Uri directoryUri, Azure.Storage.StorageSharedKeyCredential credential) => throw null; + public DataLakeDirectoryClient(System.Uri directoryUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeDirectoryClient(System.Uri directoryUri, Azure.AzureSasCredential credential) => throw null; + public DataLakeDirectoryClient(System.Uri directoryUri, Azure.AzureSasCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeDirectoryClient(System.Uri directoryUri, Azure.Core.TokenCredential credential) => throw null; + public DataLakeDirectoryClient(System.Uri directoryUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public virtual Azure.Response Delete(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteFile(string fileName, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteFileAsync(string fileName, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteSubDirectory(string path, string continuation = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteSubDirectoryAsync(string path, string continuation = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public override System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) => throw null; + public override System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder) => throw null; + public override System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, out string stringToSign) => throw null; + public override System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey) => throw null; + public override System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, out string stringToSign) => throw null; + public override System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey) => throw null; + public override System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, out string stringToSign) => throw null; + public override Azure.Response GetAccessControl(bool? userPrincipalName = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> GetAccessControlAsync(bool? userPrincipalName = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Files.DataLake.DataLakeFileClient GetFileClient(string fileName) => throw null; + public virtual Azure.Pageable GetPaths(bool recursive = default(bool), bool userPrincipalName = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetPathsAsync(bool recursive = default(bool), bool userPrincipalName = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetProperties(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> GetPropertiesAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Files.DataLake.DataLakeDirectoryClient GetSubDirectoryClient(string subdirectoryName) => throw null; + public virtual Azure.Response Rename(string destinationPath, string destinationFileSystem = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions sourceConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions destinationConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RenameAsync(string destinationPath, string destinationFileSystem = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions sourceConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions destinationConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Response SetAccessControlList(System.Collections.Generic.IList accessControlList, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> SetAccessControlListAsync(System.Collections.Generic.IList accessControlList, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Response SetHttpHeaders(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> SetHttpHeadersAsync(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Response SetPermissions(Azure.Storage.Files.DataLake.Models.PathPermissions permissions = default(Azure.Storage.Files.DataLake.Models.PathPermissions), string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> SetPermissionsAsync(Azure.Storage.Files.DataLake.Models.PathPermissions permissions = default(Azure.Storage.Files.DataLake.Models.PathPermissions), string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public Azure.Storage.Files.DataLake.DataLakeDirectoryClient WithCustomerProvidedKey(Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey? customerProvidedKey) => throw null; + } + public class DataLakeFileClient : Azure.Storage.Files.DataLake.DataLakePathClient + { + public virtual Azure.Response Append(System.IO.Stream content, long offset, Azure.Storage.Files.DataLake.Models.DataLakeFileAppendOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileAppendOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Append(System.IO.Stream content, long offset, byte[] contentHash, string leaseId, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendAsync(System.IO.Stream content, long offset, Azure.Storage.Files.DataLake.Models.DataLakeFileAppendOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileAppendOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AppendAsync(System.IO.Stream content, long offset, byte[] contentHash, string leaseId, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Create(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, System.Threading.CancellationToken cancellationToken) => throw null; + protected DataLakeFileClient() => throw null; + public DataLakeFileClient(System.Uri fileUri) => throw null; + public DataLakeFileClient(System.Uri fileUri, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeFileClient(string connectionString, string fileSystemName, string filePath) => throw null; + public DataLakeFileClient(string connectionString, string fileSystemName, string filePath, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeFileClient(System.Uri fileUri, Azure.Storage.StorageSharedKeyCredential credential) => throw null; + public DataLakeFileClient(System.Uri fileUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeFileClient(System.Uri fileUri, Azure.AzureSasCredential credential) => throw null; + public DataLakeFileClient(System.Uri fileUri, Azure.AzureSasCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeFileClient(System.Uri fileUri, Azure.Core.TokenCredential credential) => throw null; + public DataLakeFileClient(System.Uri fileUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public virtual Azure.Response Delete(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Flush(long position, Azure.Storage.Files.DataLake.Models.DataLakeFileFlushOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileFlushOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Flush(long position, bool? retainUncommittedData, bool? close, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> FlushAsync(long position, Azure.Storage.Files.DataLake.Models.DataLakeFileFlushOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileFlushOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> FlushAsync(long position, bool? retainUncommittedData, bool? close, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public override Azure.Response GetAccessControl(bool? userPrincipalName = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> GetAccessControlAsync(bool? userPrincipalName = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetProperties(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> GetPropertiesAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual int MaxUploadBytes { get => throw null; } + public virtual long MaxUploadLongBytes { get => throw null; } + public virtual System.IO.Stream OpenRead(Azure.Storage.Files.DataLake.Models.DataLakeOpenReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenRead(long position = default(long), int? bufferSize = default(int?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenRead(bool allowfileModifications, long position = default(long), int? bufferSize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(Azure.Storage.Files.DataLake.Models.DataLakeOpenReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(long position = default(long), int? bufferSize = default(int?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(bool allowfileModifications, long position = default(long), int? bufferSize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenWrite(bool overwrite, Azure.Storage.Files.DataLake.Models.DataLakeFileOpenWriteOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool overwrite, Azure.Storage.Files.DataLake.Models.DataLakeFileOpenWriteOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Query(string querySqlExpression, Azure.Storage.Files.DataLake.Models.DataLakeQueryOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeQueryOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> QueryAsync(string querySqlExpression, Azure.Storage.Files.DataLake.Models.DataLakeQueryOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeQueryOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Read() => throw null; + public virtual Azure.Response Read(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Read(Azure.HttpRange range, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, bool rangeGetContentHash, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Read(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReadAsync() => throw null; + public virtual System.Threading.Tasks.Task> ReadAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReadAsync(Azure.HttpRange range, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, bool rangeGetContentHash, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> ReadAsync(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ReadContent() => throw null; + public virtual Azure.Response ReadContent(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response ReadContent(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReadContentAsync() => throw null; + public virtual System.Threading.Tasks.Task> ReadContentAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> ReadContentAsync(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ReadStreaming() => throw null; + public virtual Azure.Response ReadStreaming(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response ReadStreaming(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReadStreamingAsync() => throw null; + public virtual System.Threading.Tasks.Task> ReadStreamingAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> ReadStreamingAsync(Azure.Storage.Files.DataLake.Models.DataLakeFileReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ReadTo(System.IO.Stream destination, Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ReadTo(string path, Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ReadTo(System.IO.Stream destination, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, Azure.Storage.StorageTransferOptions transferOptions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response ReadTo(string path, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, Azure.Storage.StorageTransferOptions transferOptions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ReadToAsync(System.IO.Stream destination, Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task ReadToAsync(string path, Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileReadToOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task ReadToAsync(System.IO.Stream destination, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, Azure.Storage.StorageTransferOptions transferOptions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ReadToAsync(string path, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, Azure.Storage.StorageTransferOptions transferOptions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Rename(string destinationPath, string destinationFileSystem = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions sourceConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions destinationConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RenameAsync(string destinationPath, string destinationFileSystem = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions sourceConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions destinationConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ScheduleDeletion(Azure.Storage.Files.DataLake.Models.DataLakeFileScheduleDeletionOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ScheduleDeletionAsync(Azure.Storage.Files.DataLake.Models.DataLakeFileScheduleDeletionOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Response SetAccessControlList(System.Collections.Generic.IList accessControlList, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> SetAccessControlListAsync(System.Collections.Generic.IList accessControlList, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Response SetHttpHeaders(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> SetHttpHeadersAsync(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override Azure.Response SetPermissions(Azure.Storage.Files.DataLake.Models.PathPermissions permissions, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public override System.Threading.Tasks.Task> SetPermissionsAsync(Azure.Storage.Files.DataLake.Models.PathPermissions permissions, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, Azure.Storage.Files.DataLake.Models.DataLakeFileUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.IProgress progressHandler = default(System.IProgress), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(string path, Azure.Storage.Files.DataLake.Models.DataLakeFileUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(string path, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.IProgress progressHandler = default(System.IProgress), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(string path) => throw null; + public virtual Azure.Response Upload(string path, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, Azure.Storage.Files.DataLake.Models.DataLakeFileUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.IProgress progressHandler = default(System.IProgress), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path, Azure.Storage.Files.DataLake.Models.DataLakeFileUploadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.IProgress progressHandler = default(System.IProgress), Azure.Storage.StorageTransferOptions transferOptions = default(Azure.Storage.StorageTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(string path, bool overwrite = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public Azure.Storage.Files.DataLake.DataLakeFileClient WithCustomerProvidedKey(Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey? customerProvidedKey) => throw null; + } + public class DataLakeFileSystemClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateSasUri { get => throw null; } + public virtual Azure.Response Create(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(Azure.Storage.Files.DataLake.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.DataLake.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateDirectory(string path, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateDirectory(string path, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateDirectoryAsync(string path, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateDirectoryAsync(string path, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateFile(string path, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateFile(string path, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateFileAsync(string path, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateFileAsync(string path, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.DataLake.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.DataLake.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + protected DataLakeFileSystemClient() => throw null; + public DataLakeFileSystemClient(System.Uri fileSystemUri) => throw null; + public DataLakeFileSystemClient(System.Uri fileSystemUri, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeFileSystemClient(string connectionString, string fileSystemName) => throw null; + public DataLakeFileSystemClient(string connectionString, string fileSystemName, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeFileSystemClient(System.Uri fileSystemUri, Azure.Storage.StorageSharedKeyCredential credential) => throw null; + public DataLakeFileSystemClient(System.Uri fileSystemUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeFileSystemClient(System.Uri fileSystemUri, Azure.AzureSasCredential credential) => throw null; + public DataLakeFileSystemClient(System.Uri fileSystemUri, Azure.AzureSasCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeFileSystemClient(System.Uri fileSystemUri, Azure.Core.TokenCredential credential) => throw null; + public DataLakeFileSystemClient(System.Uri fileSystemUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public virtual Azure.Response Delete(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteDirectory(string path, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteDirectoryAsync(string path, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteFile(string path, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteFileAsync(string path, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Exists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeFileSystemSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeFileSystemSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, out string stringToSign) => throw null; + public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeFileSystemSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey) => throw null; + public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeFileSystemSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, out string stringToSign) => throw null; + public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey) => throw null; + public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, out string stringToSign) => throw null; + public virtual Azure.Response GetAccessPolicy(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetAccessPolicyAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetDeletedPaths(string pathPrefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetDeletedPathsAsync(string pathPrefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Files.DataLake.DataLakeDirectoryClient GetDirectoryClient(string directoryName) => throw null; + public virtual Azure.Storage.Files.DataLake.DataLakeFileClient GetFileClient(string fileName) => throw null; + protected virtual Azure.Storage.Files.DataLake.DataLakeServiceClient GetParentServiceClientCore() => throw null; + public virtual Azure.Pageable GetPaths(string path = default(string), bool recursive = default(bool), bool userPrincipalName = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetPathsAsync(string path = default(string), bool recursive = default(bool), bool userPrincipalName = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetProperties(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual string Name { get => throw null; } + public virtual Azure.Response SetAccessPolicy(Azure.Storage.Files.DataLake.Models.PublicAccessType accessType = default(Azure.Storage.Files.DataLake.Models.PublicAccessType), System.Collections.Generic.IEnumerable permissions = default(System.Collections.Generic.IEnumerable), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetAccessPolicyAsync(Azure.Storage.Files.DataLake.Models.PublicAccessType accessType = default(Azure.Storage.Files.DataLake.Models.PublicAccessType), System.Collections.Generic.IEnumerable permissions = default(System.Collections.Generic.IEnumerable), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UndeletePath(string deletedPath, string deletionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UndeletePathAsync(string deletedPath, string deletionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + } + public class DataLakeLeaseClient + { + public virtual Azure.Response Acquire(System.TimeSpan duration, Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> AcquireAsync(System.TimeSpan duration, Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Break(System.TimeSpan? breakPeriod = default(System.TimeSpan?), Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> BreakAsync(System.TimeSpan? breakPeriod = default(System.TimeSpan?), Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Change(string proposedId, Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ChangeAsync(string proposedId, Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected DataLakeLeaseClient() => throw null; + public DataLakeLeaseClient(Azure.Storage.Files.DataLake.DataLakePathClient client, string leaseId = default(string)) => throw null; + public DataLakeLeaseClient(Azure.Storage.Files.DataLake.DataLakeFileSystemClient client, string leaseId = default(string)) => throw null; + public static readonly System.TimeSpan InfiniteLeaseDuration; + public virtual string LeaseId { get => throw null; } + public virtual Azure.Response Release(Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReleaseAsync(Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Renew(Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RenewAsync(Azure.RequestConditions conditions = default(Azure.RequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Uri Uri { get => throw null; } + } + public static partial class DataLakeLeaseClientExtensions + { + public static Azure.Storage.Files.DataLake.DataLakeLeaseClient GetDataLakeLeaseClient(this Azure.Storage.Files.DataLake.DataLakePathClient client, string leaseId = default(string)) => throw null; + public static Azure.Storage.Files.DataLake.DataLakeLeaseClient GetDataLakeLeaseClient(this Azure.Storage.Files.DataLake.DataLakeFileSystemClient client, string leaseId = default(string)) => throw null; + } + public class DataLakePathClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateSasUri { get => throw null; } + public virtual Azure.Response Create(Azure.Storage.Files.DataLake.Models.PathResourceType resourceType, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(Azure.Storage.Files.DataLake.Models.PathResourceType resourceType, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.DataLake.Models.PathResourceType resourceType, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.DataLake.Models.PathResourceType resourceType, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.DataLake.Models.PathResourceType resourceType, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.DataLake.Models.PathResourceType resourceType, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.DataLake.Models.PathResourceType resourceType, Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakePathCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.DataLake.Models.PathResourceType resourceType, Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, string permissions, string umask, System.Threading.CancellationToken cancellationToken) => throw null; + protected DataLakePathClient() => throw null; + public DataLakePathClient(System.Uri pathUri) => throw null; + public DataLakePathClient(System.Uri pathUri, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakePathClient(string connectionString, string fileSystemName, string path) => throw null; + public DataLakePathClient(string connectionString, string fileSystemName, string path, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakePathClient(System.Uri pathUri, Azure.Storage.StorageSharedKeyCredential credential) => throw null; + public DataLakePathClient(System.Uri pathUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakePathClient(System.Uri pathUri, Azure.AzureSasCredential credential) => throw null; + public DataLakePathClient(System.Uri pathUri, Azure.AzureSasCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakePathClient(System.Uri pathUri, Azure.Core.TokenCredential credential) => throw null; + public DataLakePathClient(System.Uri pathUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakePathClient(Azure.Storage.Files.DataLake.DataLakeFileSystemClient fileSystemClient, string path) => throw null; + public virtual Azure.Response Delete(bool? recursive = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(bool? recursive = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(bool? recursive = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(bool? recursive = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Exists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual string FileSystemName { get => throw null; } + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, out string stringToSign) => throw null; + public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey) => throw null; + public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, out string stringToSign) => throw null; + public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey) => throw null; + public virtual System.Uri GenerateUserDelegationSasUri(Azure.Storage.Sas.DataLakeSasBuilder builder, Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, out string stringToSign) => throw null; + public virtual Azure.Response GetAccessControl(bool? userPrincipalName = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetAccessControlAsync(bool? userPrincipalName = default(bool?), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Files.DataLake.DataLakeDirectoryClient GetParentDirectoryClientCore() => throw null; + protected virtual Azure.Storage.Files.DataLake.DataLakeFileSystemClient GetParentFileSystemClientCore() => throw null; + public virtual Azure.Response GetProperties(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual string Name { get => throw null; } + public virtual string Path { get => throw null; } + public virtual Azure.Response RemoveAccessControlRecursive(System.Collections.Generic.IList accessControlList, string continuationToken = default(string), Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions options = default(Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RemoveAccessControlRecursiveAsync(System.Collections.Generic.IList accessControlList, string continuationToken = default(string), Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions options = default(Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Rename(string destinationPath, string destinationFileSystem = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions sourceConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions destinationConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RenameAsync(string destinationPath, string destinationFileSystem = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions sourceConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions destinationConditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetAccessControlList(System.Collections.Generic.IList accessControlList, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetAccessControlListAsync(System.Collections.Generic.IList accessControlList, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetAccessControlRecursive(System.Collections.Generic.IList accessControlList, string continuationToken = default(string), Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions options = default(Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetAccessControlRecursiveAsync(System.Collections.Generic.IList accessControlList, string continuationToken = default(string), Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions options = default(Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetHttpHeaders(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetHttpHeadersAsync(Azure.Storage.Files.DataLake.Models.PathHttpHeaders httpHeaders = default(Azure.Storage.Files.DataLake.Models.PathHttpHeaders), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetPermissions(Azure.Storage.Files.DataLake.Models.PathPermissions permissions, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetPermissionsAsync(Azure.Storage.Files.DataLake.Models.PathPermissions permissions, string owner = default(string), string group = default(string), Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UpdateAccessControlRecursive(System.Collections.Generic.IList accessControlList, string continuationToken = default(string), Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions options = default(Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UpdateAccessControlRecursiveAsync(System.Collections.Generic.IList accessControlList, string continuationToken = default(string), Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions options = default(Azure.Storage.Files.DataLake.Models.AccessControlChangeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + public Azure.Storage.Files.DataLake.DataLakePathClient WithCustomerProvidedKey(Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey? customerProvidedKey) => throw null; + } + public class DataLakeServiceClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateAccountSasUri { get => throw null; } + public virtual Azure.Response CreateFileSystem(string fileSystemName, Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateFileSystem(string fileSystemName, Azure.Storage.Files.DataLake.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateFileSystemAsync(string fileSystemName, Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions options = default(Azure.Storage.Files.DataLake.Models.DataLakeFileSystemCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateFileSystemAsync(string fileSystemName, Azure.Storage.Files.DataLake.Models.PublicAccessType publicAccessType, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + protected DataLakeServiceClient() => throw null; + public DataLakeServiceClient(System.Uri serviceUri) => throw null; + public DataLakeServiceClient(System.Uri serviceUri, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeServiceClient(string connectionString) => throw null; + public DataLakeServiceClient(string connectionString, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeServiceClient(System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential credential) => throw null; + public DataLakeServiceClient(System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeServiceClient(System.Uri serviceUri, Azure.AzureSasCredential credential) => throw null; + public DataLakeServiceClient(System.Uri serviceUri, Azure.AzureSasCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public DataLakeServiceClient(System.Uri serviceUri, Azure.Core.TokenCredential credential) => throw null; + public DataLakeServiceClient(System.Uri serviceUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options) => throw null; + public virtual Azure.Response DeleteFileSystem(string fileSystemName, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteFileSystemAsync(string fileSystemName, Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions conditions = default(Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes, out string stringToSign) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasBuilder builder) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasBuilder builder, out string stringToSign) => throw null; + public virtual Azure.Storage.Files.DataLake.DataLakeFileSystemClient GetFileSystemClient(string fileSystemName) => throw null; + public virtual Azure.Pageable GetFileSystems(Azure.Storage.Files.DataLake.Models.FileSystemTraits traits = default(Azure.Storage.Files.DataLake.Models.FileSystemTraits), Azure.Storage.Files.DataLake.Models.FileSystemStates states = default(Azure.Storage.Files.DataLake.Models.FileSystemStates), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetFileSystems(Azure.Storage.Files.DataLake.Models.FileSystemTraits traits, string prefix, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.AsyncPageable GetFileSystemsAsync(Azure.Storage.Files.DataLake.Models.FileSystemTraits traits = default(Azure.Storage.Files.DataLake.Models.FileSystemTraits), Azure.Storage.Files.DataLake.Models.FileSystemStates states = default(Azure.Storage.Files.DataLake.Models.FileSystemStates), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetFileSystemsAsync(Azure.Storage.Files.DataLake.Models.FileSystemTraits traits, string prefix, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetUserDelegationKey(System.DateTimeOffset? startsOn, System.DateTimeOffset expiresOn, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetUserDelegationKeyAsync(System.DateTimeOffset? startsOn, System.DateTimeOffset expiresOn, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetProperties(Azure.Storage.Files.DataLake.Models.DataLakeServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task SetPropertiesAsync(Azure.Storage.Files.DataLake.Models.DataLakeServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UndeleteFileSystem(string deletedFileSystemName, string deleteFileSystemVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UndeleteFileSystemAsync(string deletedFileSystemName, string deleteFileSystemVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + } + public class DataLakeUriBuilder + { + public string AccountName { get => throw null; set { } } + public DataLakeUriBuilder(System.Uri uri) => throw null; + public string DirectoryOrFilePath { get => throw null; set { } } + public string FileSystemName { get => throw null; set { } } + public string Host { get => throw null; set { } } + public int Port { get => throw null; set { } } + public string Query { get => throw null; set { } } + public Azure.Storage.Sas.DataLakeSasQueryParameters Sas { get => throw null; set { } } + public string Scheme { get => throw null; set { } } + public string Snapshot { get => throw null; set { } } + public override string ToString() => throw null; + public System.Uri ToUri() => throw null; + } + namespace Models + { + public struct AccessControlChangeCounters + { + public long ChangedDirectoriesCount { get => throw null; } + public long ChangedFilesCount { get => throw null; } + public long FailedChangesCount { get => throw null; } + } + public struct AccessControlChangeFailure + { + public string ErrorMessage { get => throw null; } + public bool IsDirectory { get => throw null; } + public string Name { get => throw null; } + } + public class AccessControlChangeOptions + { + public int? BatchSize { get => throw null; set { } } + public bool? ContinueOnFailure { get => throw null; set { } } + public AccessControlChangeOptions() => throw null; + public int? MaxBatches { get => throw null; set { } } + public System.IProgress> ProgressHandler { get => throw null; set { } } + } + public struct AccessControlChangeResult + { + public Azure.Storage.Files.DataLake.Models.AccessControlChangeFailure[] BatchFailures { get => throw null; } + public string ContinuationToken { get => throw null; } + public Azure.Storage.Files.DataLake.Models.AccessControlChangeCounters Counters { get => throw null; } + } + public struct AccessControlChanges + { + public Azure.Storage.Files.DataLake.Models.AccessControlChangeCounters AggregateCounters { get => throw null; } + public Azure.Storage.Files.DataLake.Models.AccessControlChangeCounters BatchCounters { get => throw null; } + public Azure.Storage.Files.DataLake.Models.AccessControlChangeFailure[] BatchFailures { get => throw null; } + public string ContinuationToken { get => throw null; } + } + public enum AccessControlType + { + Other = 0, + User = 1, + Group = 2, + Mask = 4, + } + public enum CopyStatus + { + Pending = 0, + Success = 1, + Aborted = 2, + Failed = 3, + } + public class DataLakeAccessOptions + { + public System.Collections.Generic.IList AccessControlList { get => throw null; set { } } + public DataLakeAccessOptions() => throw null; + public string Group { get => throw null; set { } } + public string Owner { get => throw null; set { } } + public string Permissions { get => throw null; set { } } + public string Umask { get => throw null; set { } } + } + public class DataLakeAccessPolicy + { + public DataLakeAccessPolicy() => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; set { } } + public string Permissions { get => throw null; set { } } + public System.DateTimeOffset? PolicyExpiresOn { get => throw null; set { } } + public System.DateTimeOffset? PolicyStartsOn { get => throw null; set { } } + public System.DateTimeOffset StartsOn { get => throw null; set { } } + } + public class DataLakeAclChangeFailedException : System.Exception, System.Runtime.Serialization.ISerializable + { + public string ContinuationToken { get => throw null; } + public DataLakeAclChangeFailedException(string message, System.Exception exception, string continuationToken) => throw null; + public DataLakeAclChangeFailedException(string message, Azure.RequestFailedException exception, string continuationToken) => throw null; + protected DataLakeAclChangeFailedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + } + public class DataLakeAnalyticsLogging + { + public DataLakeAnalyticsLogging() => throw null; + public bool Delete { get => throw null; set { } } + public bool Read { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeRetentionPolicy RetentionPolicy { get => throw null; set { } } + public string Version { get => throw null; set { } } + public bool Write { get => throw null; set { } } + } + public struct DataLakeAudience : System.IEquatable + { + public static Azure.Storage.Files.DataLake.Models.DataLakeAudience CreateDataLakeServiceAccountAudience(string storageAccountName) => throw null; + public DataLakeAudience(string value) => throw null; + public static Azure.Storage.Files.DataLake.Models.DataLakeAudience DefaultAudience { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Files.DataLake.Models.DataLakeAudience other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Files.DataLake.Models.DataLakeAudience left, Azure.Storage.Files.DataLake.Models.DataLakeAudience right) => throw null; + public static implicit operator Azure.Storage.Files.DataLake.Models.DataLakeAudience(string value) => throw null; + public static bool operator !=(Azure.Storage.Files.DataLake.Models.DataLakeAudience left, Azure.Storage.Files.DataLake.Models.DataLakeAudience right) => throw null; + public override string ToString() => throw null; + } + public class DataLakeCorsRule + { + public string AllowedHeaders { get => throw null; set { } } + public string AllowedMethods { get => throw null; set { } } + public string AllowedOrigins { get => throw null; set { } } + public DataLakeCorsRule() => throw null; + public string ExposedHeaders { get => throw null; set { } } + public int MaxAgeInSeconds { get => throw null; set { } } + } + public struct DataLakeCustomerProvidedKey : System.IEquatable + { + public DataLakeCustomerProvidedKey(string key) => throw null; + public DataLakeCustomerProvidedKey(byte[] key) => throw null; + public Azure.Storage.Files.DataLake.Models.DataLakeEncryptionAlgorithmType EncryptionAlgorithm { get => throw null; } + public string EncryptionKey { get => throw null; } + public string EncryptionKeyHash { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey left, Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey right) => throw null; + public static bool operator !=(Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey left, Azure.Storage.Files.DataLake.Models.DataLakeCustomerProvidedKey right) => throw null; + public override string ToString() => throw null; + } + public enum DataLakeEncryptionAlgorithmType + { + Aes256 = 0, + } + public class DataLakeFileAppendOptions + { + public byte[] ContentHash { get => throw null; set { } } + public DataLakeFileAppendOptions() => throw null; + public bool? Flush { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseAction? LeaseAction { get => throw null; set { } } + public System.TimeSpan? LeaseDuration { get => throw null; set { } } + public string LeaseId { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public string ProposedLeaseId { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public enum DataLakeFileExpirationOrigin + { + CreationTime = 0, + Now = 1, + } + public class DataLakeFileFlushOptions + { + public bool? Close { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions Conditions { get => throw null; set { } } + public DataLakeFileFlushOptions() => throw null; + public Azure.Storage.Files.DataLake.Models.PathHttpHeaders HttpHeaders { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseAction? LeaseAction { get => throw null; set { } } + public System.TimeSpan? LeaseDuration { get => throw null; set { } } + public string ProposedLeaseId { get => throw null; set { } } + public bool? RetainUncommittedData { get => throw null; set { } } + } + public class DataLakeFileOpenWriteOptions + { + public long? BufferSize { get => throw null; set { } } + public bool? Close { get => throw null; set { } } + public DataLakeFileOpenWriteOptions() => throw null; + public Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions OpenConditions { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class DataLakeFileReadOptions + { + public Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions Conditions { get => throw null; set { } } + public DataLakeFileReadOptions() => throw null; + public Azure.HttpRange Range { get => throw null; set { } } + public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class DataLakeFileReadResult + { + public System.BinaryData Content { get => throw null; } + public Azure.Storage.Files.DataLake.Models.FileDownloadDetails Details { get => throw null; } + } + public class DataLakeFileReadStreamingResult : System.IDisposable + { + public System.IO.Stream Content { get => throw null; } + public Azure.Storage.Files.DataLake.Models.FileDownloadDetails Details { get => throw null; } + public void Dispose() => throw null; + } + public class DataLakeFileReadToOptions + { + public Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions Conditions { get => throw null; set { } } + public DataLakeFileReadToOptions() => throw null; + public Azure.Storage.StorageTransferOptions TransferOptions { get => throw null; set { } } + public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class DataLakeFileScheduleDeletionOptions + { + public DataLakeFileScheduleDeletionOptions(System.DateTimeOffset? expiresOn) => throw null; + public DataLakeFileScheduleDeletionOptions(System.TimeSpan timeToExpire, Azure.Storage.Files.DataLake.Models.DataLakeFileExpirationOrigin setRelativeTo) => throw null; + public DataLakeFileScheduleDeletionOptions() => throw null; + public System.DateTimeOffset? ExpiresOn { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeFileExpirationOrigin? SetExpiryRelativeTo { get => throw null; } + public System.TimeSpan? TimeToExpire { get => throw null; } + } + public class DataLakeFileSystemCreateOptions + { + public DataLakeFileSystemCreateOptions() => throw null; + public Azure.Storage.Files.DataLake.Models.DataLakeFileSystemEncryptionScopeOptions EncryptionScopeOptions { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.PublicAccessType PublicAccessType { get => throw null; set { } } + } + public class DataLakeFileSystemEncryptionScopeOptions + { + public DataLakeFileSystemEncryptionScopeOptions() => throw null; + public string DefaultEncryptionScope { get => throw null; set { } } + public bool PreventEncryptionScopeOverride { get => throw null; set { } } + } + public class DataLakeFileUploadOptions + { + public bool? Close { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions Conditions { get => throw null; set { } } + public DataLakeFileUploadOptions() => throw null; + public string EncryptionContext { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.PathHttpHeaders HttpHeaders { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public string Permissions { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.StorageTransferOptions TransferOptions { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + public string Umask { get => throw null; set { } } + } + public class DataLakeLease + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string LeaseId { get => throw null; } + public int? LeaseTime { get => throw null; } + } + public enum DataLakeLeaseAction + { + Acquire = 0, + AutoRenew = 1, + Release = 2, + AcquireRelease = 3, + } + public enum DataLakeLeaseDuration + { + Infinite = 0, + Fixed = 1, + } + public enum DataLakeLeaseState + { + Available = 0, + Leased = 1, + Expired = 2, + Breaking = 3, + Broken = 4, + } + public enum DataLakeLeaseStatus + { + Locked = 0, + Unlocked = 1, + } + public class DataLakeMetrics + { + public DataLakeMetrics() => throw null; + public bool Enabled { get => throw null; set { } } + public bool? IncludeApis { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeRetentionPolicy RetentionPolicy { get => throw null; set { } } + public string Version { get => throw null; set { } } + } + public static class DataLakeModelFactory + { + public static Azure.Storage.Files.DataLake.Models.DataLakeFileReadResult DataLakeFileReadResult(System.BinaryData content, Azure.Storage.Files.DataLake.Models.FileDownloadDetails details) => throw null; + public static Azure.Storage.Files.DataLake.Models.DataLakeFileReadStreamingResult DataLakeFileReadStreamingResult(System.IO.Stream content, Azure.Storage.Files.DataLake.Models.FileDownloadDetails details) => throw null; + public static Azure.Storage.Files.DataLake.Models.DataLakeQueryError DataLakeQueryError(string name = default(string), string description = default(string), bool isFatal = default(bool), long position = default(long)) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileDownloadDetails FileDownloadDetails(System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, string contentRange, Azure.ETag eTag, string contentEncoding, string cacheControl, string contentDisposition, string contentLanguage, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, byte[] contentHash, System.DateTimeOffset createdOn, string encryptionContext, System.Collections.Generic.IList accessControlList) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileDownloadDetails FileDownloadDetails(System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, string contentRange, Azure.ETag eTag, string contentEncoding, string cacheControl, string contentDisposition, string contentLanguage, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, byte[] contentHash, System.DateTimeOffset createdOn, string encryptionContext) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileDownloadDetails FileDownloadDetails(System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, string contentRange, Azure.ETag eTag, string contentEncoding, string cacheControl, string contentDisposition, string contentLanguage, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, byte[] contentHash, System.DateTimeOffset createdOn) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileDownloadDetails FileDownloadDetails(System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, string contentRange, Azure.ETag eTag, string contentEncoding, string cacheControl, string contentDisposition, string contentLanguage, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, byte[] contentHash) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileDownloadInfo FileDownloadInfo(long contentLength, System.IO.Stream content, byte[] contentHash, Azure.Storage.Files.DataLake.Models.FileDownloadDetails properties) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileSystemInfo FileSystemInfo(Azure.ETag etag, System.DateTimeOffset lastModified) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileSystemItem FileSystemItem(string name = default(string), bool? isDeleted = default(bool?), string versionId = default(string), Azure.Storage.Files.DataLake.Models.FileSystemProperties properties = default(Azure.Storage.Files.DataLake.Models.FileSystemProperties)) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileSystemItem FileSystemItem(string name, Azure.Storage.Files.DataLake.Models.FileSystemProperties properties) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileSystemProperties FileSystemProperties(System.DateTimeOffset lastModified = default(System.DateTimeOffset), Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus? leaseStatus = default(Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus?), Azure.Storage.Files.DataLake.Models.DataLakeLeaseState? leaseState = default(Azure.Storage.Files.DataLake.Models.DataLakeLeaseState?), Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration? leaseDuration = default(Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration?), Azure.Storage.Files.DataLake.Models.PublicAccessType? publicAccess = default(Azure.Storage.Files.DataLake.Models.PublicAccessType?), bool? hasImmutabilityPolicy = default(bool?), bool? hasLegalHold = default(bool?), Azure.ETag eTag = default(Azure.ETag), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), int? remainingRetentionDays = default(int?)) => throw null; + public static Azure.Storage.Files.DataLake.Models.FileSystemProperties FileSystemProperties(System.DateTimeOffset lastModified, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus? leaseStatus, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState? leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration? leaseDuration, Azure.Storage.Files.DataLake.Models.PublicAccessType? publicAccess, bool? hasImmutabilityPolicy, bool? hasLegalHold, Azure.ETag eTag) => throw null; + public static Azure.Storage.Files.DataLake.Models.DataLakeLease Lease(Azure.ETag eTag, System.DateTimeOffset lastModified, string leaseId, int? leaseTime) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathAccessControl PathAccessControl(string owner, string group, Azure.Storage.Files.DataLake.Models.PathPermissions permissions, System.Collections.Generic.IList acl) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathContentInfo PathContentInfo(string contentHash, Azure.ETag eTag, System.DateTimeOffset lastModified, string acceptRanges, string cacheControl, string contentDisposition, string contentEncoding, string contentLanguage, long contentLength, string contentRange, string contentType, System.Collections.Generic.IDictionary metadata) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathCreateInfo PathCreateInfo(Azure.Storage.Files.DataLake.Models.PathInfo pathInfo, string continuation) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathInfo PathInfo(Azure.ETag eTag, System.DateTimeOffset lastModified) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathItem PathItem(string name, bool? isDirectory, System.DateTimeOffset lastModified, Azure.ETag eTag, long? contentLength, string owner, string group, string permissions, System.DateTimeOffset? createdOn, System.DateTimeOffset? expiresOn, string encryptionContext) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathItem PathItem(string name, bool? isDirectory, System.DateTimeOffset lastModified, Azure.ETag eTag, long? contentLength, string owner, string group, string permissions, System.DateTimeOffset? createdOn, System.DateTimeOffset? expiresOn) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathItem PathItem(string name, bool? isDirectory, System.DateTimeOffset lastModified, Azure.ETag eTag, long? contentLength, string owner, string group, string permissions) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathProperties PathProperties(System.DateTimeOffset lastModified, System.DateTimeOffset creationTime, System.Collections.Generic.IDictionary metadata, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, bool isIncrementalCopy, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, long contentLength, string contentType, Azure.ETag eTag, byte[] contentHash, string contentEncoding, string contentDisposition, string contentLanguage, string cacheControl, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, string accessTier, string archiveStatus, System.DateTimeOffset accessTierChangeTime, bool isDirectory, string encryptionContext, string owner, string group, string permissions, System.Collections.Generic.IList accessControlList) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathProperties PathProperties(System.DateTimeOffset lastModified, System.DateTimeOffset creationTime, System.Collections.Generic.IDictionary metadata, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, bool isIncrementalCopy, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, long contentLength, string contentType, Azure.ETag eTag, byte[] contentHash, string contentEncoding, string contentDisposition, string contentLanguage, string cacheControl, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, string accessTier, string archiveStatus, System.DateTimeOffset accessTierChangeTime, bool isDirectory, string encryptionContext, string owner, string group, string permissions) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathProperties PathProperties(System.DateTimeOffset lastModified, System.DateTimeOffset creationTime, System.Collections.Generic.IDictionary metadata, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, bool isIncrementalCopy, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, long contentLength, string contentType, Azure.ETag eTag, byte[] contentHash, string contentEncoding, string contentDisposition, string contentLanguage, string cacheControl, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, string accessTier, string archiveStatus, System.DateTimeOffset accessTierChangeTime, bool isDirectory, string encryptionContext) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathProperties PathProperties(System.DateTimeOffset lastModified, System.DateTimeOffset creationTime, System.Collections.Generic.IDictionary metadata, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, bool isIncrementalCopy, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, long contentLength, string contentType, Azure.ETag eTag, byte[] contentHash, string contentEncoding, string contentDisposition, string contentLanguage, string cacheControl, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, string accessTier, string archiveStatus, System.DateTimeOffset accessTierChangeTime, bool isDirectory) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathProperties PathProperties(System.DateTimeOffset lastModified, System.DateTimeOffset creationTime, System.Collections.Generic.IDictionary metadata, System.DateTimeOffset copyCompletionTime, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.DataLake.Models.CopyStatus copyStatus, bool isIncrementalCopy, Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration leaseDuration, Azure.Storage.Files.DataLake.Models.DataLakeLeaseState leaseState, Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus leaseStatus, long contentLength, string contentType, Azure.ETag eTag, byte[] contentHash, string contentEncoding, string contentDisposition, string contentLanguage, string cacheControl, string acceptRanges, bool isServerEncrypted, string encryptionKeySha256, string accessTier, string archiveStatus, System.DateTimeOffset accessTierChangeTime) => throw null; + public static Azure.Storage.Files.DataLake.Models.UserDelegationKey UserDelegationKey(string signedObjectId, string signedTenantId, System.DateTimeOffset signedStart, System.DateTimeOffset signedExpiry, string signedService, string signedVersion, string value) => throw null; + } + public class DataLakeOpenReadOptions + { + public int? BufferSize { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions Conditions { get => throw null; set { } } + public DataLakeOpenReadOptions(bool allowModifications) => throw null; + public long Position { get => throw null; set { } } + public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class DataLakePathCreateOptions + { + public Azure.Storage.Files.DataLake.Models.DataLakeAccessOptions AccessOptions { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions Conditions { get => throw null; set { } } + public DataLakePathCreateOptions() => throw null; + public string EncryptionContext { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.PathHttpHeaders HttpHeaders { get => throw null; set { } } + public System.TimeSpan? LeaseDuration { get => throw null; set { } } + public string LeaseId { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakePathScheduleDeletionOptions ScheduleDeletionOptions { get => throw null; set { } } + } + public class DataLakePathScheduleDeletionOptions + { + public DataLakePathScheduleDeletionOptions(System.DateTimeOffset? expiresOn) => throw null; + public DataLakePathScheduleDeletionOptions(System.TimeSpan? timeToExpire) => throw null; + public System.DateTimeOffset? ExpiresOn { get => throw null; } + public System.TimeSpan? TimeToExpire { get => throw null; } + } + public class DataLakeQueryArrowField + { + public DataLakeQueryArrowField() => throw null; + public string Name { get => throw null; set { } } + public int Precision { get => throw null; set { } } + public int Scale { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeQueryArrowFieldType Type { get => throw null; set { } } + } + public enum DataLakeQueryArrowFieldType + { + Int64 = 0, + Bool = 1, + Timestamp = 2, + String = 3, + Double = 4, + Decimal = 5, + } + public class DataLakeQueryArrowOptions : Azure.Storage.Files.DataLake.Models.DataLakeQueryTextOptions + { + public DataLakeQueryArrowOptions() => throw null; + public System.Collections.Generic.IList Schema { get => throw null; set { } } + } + public class DataLakeQueryCsvTextOptions : Azure.Storage.Files.DataLake.Models.DataLakeQueryTextOptions + { + public string ColumnSeparator { get => throw null; set { } } + public DataLakeQueryCsvTextOptions() => throw null; + public char? EscapeCharacter { get => throw null; set { } } + public bool HasHeaders { get => throw null; set { } } + public char? QuotationCharacter { get => throw null; set { } } + public string RecordSeparator { get => throw null; set { } } + } + public class DataLakeQueryError + { + public string Description { get => throw null; } + public bool IsFatal { get => throw null; } + public string Name { get => throw null; } + public long Position { get => throw null; } + } + public class DataLakeQueryJsonTextOptions : Azure.Storage.Files.DataLake.Models.DataLakeQueryTextOptions + { + public DataLakeQueryJsonTextOptions() => throw null; + public string RecordSeparator { get => throw null; set { } } + } + public class DataLakeQueryOptions + { + public Azure.Storage.Files.DataLake.Models.DataLakeRequestConditions Conditions { get => throw null; set { } } + public DataLakeQueryOptions() => throw null; + public event System.Action ErrorHandler; + public Azure.Storage.Files.DataLake.Models.DataLakeQueryTextOptions InputTextConfiguration { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeQueryTextOptions OutputTextConfiguration { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + } + public class DataLakeQueryParquetTextOptions : Azure.Storage.Files.DataLake.Models.DataLakeQueryTextOptions + { + public DataLakeQueryParquetTextOptions() => throw null; + } + public abstract class DataLakeQueryTextOptions + { + protected DataLakeQueryTextOptions() => throw null; + } + public class DataLakeRequestConditions : Azure.RequestConditions + { + public DataLakeRequestConditions() => throw null; + public string LeaseId { get => throw null; set { } } + public override string ToString() => throw null; + } + public class DataLakeRetentionPolicy + { + public DataLakeRetentionPolicy() => throw null; + public int? Days { get => throw null; set { } } + public bool Enabled { get => throw null; set { } } + } + public class DataLakeServiceProperties + { + public System.Collections.Generic.IList Cors { get => throw null; set { } } + public DataLakeServiceProperties() => throw null; + public string DefaultServiceVersion { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeRetentionPolicy DeleteRetentionPolicy { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeMetrics HourMetrics { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeAnalyticsLogging Logging { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeMetrics MinuteMetrics { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.DataLakeStaticWebsite StaticWebsite { get => throw null; set { } } + } + public class DataLakeSignedIdentifier + { + public Azure.Storage.Files.DataLake.Models.DataLakeAccessPolicy AccessPolicy { get => throw null; set { } } + public DataLakeSignedIdentifier() => throw null; + public string Id { get => throw null; set { } } + } + public class DataLakeStaticWebsite + { + public DataLakeStaticWebsite() => throw null; + public string DefaultIndexDocumentPath { get => throw null; set { } } + public bool Enabled { get => throw null; set { } } + public string ErrorDocument404Path { get => throw null; set { } } + public string IndexDocument { get => throw null; set { } } + } + public class FileDownloadDetails + { + public string AcceptRanges { get => throw null; } + public System.Collections.Generic.IList AccessControlList { get => throw null; } + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public string ContentEncoding { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string ContentLanguage { get => throw null; } + public string ContentRange { get => throw null; } + public System.DateTimeOffset CopyCompletedOn { get => throw null; } + public string CopyId { get => throw null; } + public string CopyProgress { get => throw null; } + public System.Uri CopySource { get => throw null; } + public Azure.Storage.Files.DataLake.Models.CopyStatus CopyStatus { get => throw null; } + public string CopyStatusDescription { get => throw null; } + public System.DateTimeOffset CreatedOn { get => throw null; } + public string EncryptionContext { get => throw null; } + public string EncryptionKeySha256 { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration LeaseDuration { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseState LeaseState { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus LeaseStatus { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + } + public class FileDownloadInfo + { + public System.IO.Stream Content { get => throw null; } + public byte[] ContentHash { get => throw null; } + public long ContentLength { get => throw null; } + public Azure.Storage.Files.DataLake.Models.FileDownloadDetails Properties { get => throw null; } + } + public class FileSystemAccessPolicy + { + public FileSystemAccessPolicy() => throw null; + public Azure.Storage.Files.DataLake.Models.PublicAccessType DataLakePublicAccess { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public System.Collections.Generic.IEnumerable SignedIdentifiers { get => throw null; } + } + public class FileSystemInfo + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public class FileSystemItem + { + public bool? IsDeleted { get => throw null; } + public string Name { get => throw null; } + public Azure.Storage.Files.DataLake.Models.FileSystemProperties Properties { get => throw null; } + public string VersionId { get => throw null; } + } + public class FileSystemProperties + { + public string DefaultEncryptionScope { get => throw null; } + public System.DateTimeOffset? DeletedOn { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public bool? HasImmutabilityPolicy { get => throw null; } + public bool? HasLegalHold { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration? LeaseDuration { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseState? LeaseState { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus? LeaseStatus { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public bool? PreventEncryptionScopeOverride { get => throw null; } + public Azure.Storage.Files.DataLake.Models.PublicAccessType? PublicAccess { get => throw null; } + public int? RemainingRetentionDays { get => throw null; } + } + [System.Flags] + public enum FileSystemStates + { + None = 0, + Deleted = 1, + System = 2, + } + [System.Flags] + public enum FileSystemTraits + { + None = 0, + Metadata = 1, + } + public class PathAccessControl + { + public System.Collections.Generic.IEnumerable AccessControlList { get => throw null; } + public string Group { get => throw null; } + public string Owner { get => throw null; } + public Azure.Storage.Files.DataLake.Models.PathPermissions Permissions { get => throw null; } + } + public static partial class PathAccessControlExtensions + { + public static System.Collections.Generic.IList ParseAccessControlList(string s) => throw null; + public static Azure.Storage.Files.DataLake.Models.RolePermissions ParseOctalRolePermissions(char c) => throw null; + public static Azure.Storage.Files.DataLake.Models.RolePermissions ParseSymbolicRolePermissions(string s, bool allowStickyBit = default(bool)) => throw null; + public static string ToAccessControlListString(System.Collections.Generic.IList accessControlList) => throw null; + public static string ToOctalRolePermissions(this Azure.Storage.Files.DataLake.Models.RolePermissions rolePermissions) => throw null; + public static string ToSymbolicRolePermissions(this Azure.Storage.Files.DataLake.Models.RolePermissions rolePermissions) => throw null; + public static string ToSymbolicRolePermissions(this Azure.Storage.Files.DataLake.Models.RolePermissions rolePermissions, bool stickyBit) => throw null; + } + public class PathAccessControlItem + { + public Azure.Storage.Files.DataLake.Models.AccessControlType AccessControlType { get => throw null; set { } } + public PathAccessControlItem() => throw null; + public PathAccessControlItem(Azure.Storage.Files.DataLake.Models.AccessControlType accessControlType, Azure.Storage.Files.DataLake.Models.RolePermissions permissions, bool defaultScope = default(bool), string entityId = default(string)) => throw null; + public bool DefaultScope { get => throw null; set { } } + public string EntityId { get => throw null; set { } } + public static Azure.Storage.Files.DataLake.Models.PathAccessControlItem Parse(string s) => throw null; + public Azure.Storage.Files.DataLake.Models.RolePermissions Permissions { get => throw null; set { } } + public override string ToString() => throw null; + } + public class PathContentInfo + { + public string AcceptRanges { get => throw null; } + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public string ContentEncoding { get => throw null; } + public string ContentHash { get => throw null; } + public string ContentLanguage { get => throw null; } + public long ContentLength { get => throw null; } + public string ContentRange { get => throw null; } + public string ContentType { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + } + public class PathCreateInfo + { + public string Continuation { get => throw null; } + public Azure.Storage.Files.DataLake.Models.PathInfo PathInfo { get => throw null; } + } + public class PathDeletedItem + { + public System.DateTimeOffset? DeletedOn { get => throw null; } + public string DeletionId { get => throw null; } + public string Path { get => throw null; } + public int? RemainingRetentionDays { get => throw null; } + } + public enum PathGetPropertiesAction + { + GetAccessControl = 0, + GetStatus = 1, + } + public class PathHttpHeaders + { + public string CacheControl { get => throw null; set { } } + public string ContentDisposition { get => throw null; set { } } + public string ContentEncoding { get => throw null; set { } } + public byte[] ContentHash { get => throw null; set { } } + public string ContentLanguage { get => throw null; set { } } + public string ContentType { get => throw null; set { } } + public PathHttpHeaders() => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + public override string ToString() => throw null; + } + public class PathInfo + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public class PathItem + { + public long? ContentLength { get => throw null; } + public System.DateTimeOffset? CreatedOn { get => throw null; } + public string EncryptionContext { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset? ExpiresOn { get => throw null; } + public string Group { get => throw null; } + public bool? IsDirectory { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string Name { get => throw null; } + public string Owner { get => throw null; } + public string Permissions { get => throw null; } + } + public enum PathLeaseAction + { + Acquire = 0, + Break = 1, + Change = 2, + Renew = 3, + Release = 4, + } + public class PathPermissions + { + public PathPermissions() => throw null; + public PathPermissions(Azure.Storage.Files.DataLake.Models.RolePermissions owner, Azure.Storage.Files.DataLake.Models.RolePermissions group, Azure.Storage.Files.DataLake.Models.RolePermissions other, bool stickyBit = default(bool), bool extendedInfoInAcl = default(bool)) => throw null; + public bool ExtendedAcls { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.RolePermissions Group { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.RolePermissions Other { get => throw null; set { } } + public Azure.Storage.Files.DataLake.Models.RolePermissions Owner { get => throw null; set { } } + public static Azure.Storage.Files.DataLake.Models.PathPermissions ParseOctalPermissions(string s) => throw null; + public static Azure.Storage.Files.DataLake.Models.PathPermissions ParseSymbolicPermissions(string s) => throw null; + public bool StickyBit { get => throw null; set { } } + public string ToOctalPermissions() => throw null; + public string ToSymbolicPermissions() => throw null; + } + public class PathProperties + { + public string AcceptRanges { get => throw null; } + public System.Collections.Generic.IList AccessControlList { get => throw null; set { } } + public string AccessTier { get => throw null; } + public System.DateTimeOffset AccessTierChangedOn { get => throw null; } + public string ArchiveStatus { get => throw null; } + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public string ContentEncoding { get => throw null; } + public byte[] ContentHash { get => throw null; } + public string ContentLanguage { get => throw null; } + public long ContentLength { get => throw null; } + public string ContentType { get => throw null; } + public System.DateTimeOffset CopyCompletedOn { get => throw null; } + public string CopyId { get => throw null; } + public string CopyProgress { get => throw null; } + public System.Uri CopySource { get => throw null; } + public Azure.Storage.Files.DataLake.Models.CopyStatus CopyStatus { get => throw null; } + public string CopyStatusDescription { get => throw null; } + public System.DateTimeOffset CreatedOn { get => throw null; } + public string EncryptionContext { get => throw null; } + public string EncryptionKeySha256 { get => throw null; } + public string EncryptionScope { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset ExpiresOn { get => throw null; } + public string Group { get => throw null; } + public bool IsDirectory { get => throw null; } + public bool IsIncrementalCopy { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseDuration LeaseDuration { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseState LeaseState { get => throw null; } + public Azure.Storage.Files.DataLake.Models.DataLakeLeaseStatus LeaseStatus { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public string Owner { get => throw null; } + public string Permissions { get => throw null; } + } + public enum PathRenameMode + { + Legacy = 0, + Posix = 1, + } + public enum PathResourceType + { + Directory = 0, + File = 1, + } + public enum PathUpdateAction + { + Append = 0, + Flush = 1, + SetProperties = 2, + SetAccessControl = 3, + SetAccessControlRecursive = 4, + } + public enum PublicAccessType + { + None = 0, + FileSystem = 1, + Path = 2, + } + public struct ReleasedObjectInfo : System.IEquatable + { + public ReleasedObjectInfo(Azure.ETag eTag, System.DateTimeOffset lastModified) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Files.DataLake.Models.ReleasedObjectInfo other) => throw null; + public Azure.ETag ETag { get => throw null; } + public override int GetHashCode() => throw null; + public System.DateTimeOffset LastModified { get => throw null; } + public static bool operator ==(Azure.Storage.Files.DataLake.Models.ReleasedObjectInfo left, Azure.Storage.Files.DataLake.Models.ReleasedObjectInfo right) => throw null; + public static bool operator !=(Azure.Storage.Files.DataLake.Models.ReleasedObjectInfo left, Azure.Storage.Files.DataLake.Models.ReleasedObjectInfo right) => throw null; + public override string ToString() => throw null; + } + public class RemovePathAccessControlItem + { + public Azure.Storage.Files.DataLake.Models.AccessControlType AccessControlType { get => throw null; } + public RemovePathAccessControlItem(Azure.Storage.Files.DataLake.Models.AccessControlType accessControlType, bool defaultScope = default(bool), string entityId = default(string)) => throw null; + public bool DefaultScope { get => throw null; } + public string EntityId { get => throw null; } + public static Azure.Storage.Files.DataLake.Models.RemovePathAccessControlItem Parse(string serializedAccessControl) => throw null; + public static System.Collections.Generic.IList ParseAccessControlList(string s) => throw null; + public static string ToAccessControlListString(System.Collections.Generic.IList accessControlList) => throw null; + public override string ToString() => throw null; + } + [System.Flags] + public enum RolePermissions + { + None = 0, + Execute = 1, + Write = 2, + Read = 4, + } + public class UserDelegationKey + { + public System.DateTimeOffset SignedExpiresOn { get => throw null; } + public string SignedObjectId { get => throw null; } + public string SignedService { get => throw null; } + public System.DateTimeOffset SignedStartsOn { get => throw null; } + public string SignedTenantId { get => throw null; } + public string SignedVersion { get => throw null; } + public string Value { get => throw null; } + } + } + namespace Specialized + { + public static partial class SpecializedDataLakeExtensions + { + public static Azure.Storage.Files.DataLake.DataLakeDirectoryClient GetParentDirectoryClient(this Azure.Storage.Files.DataLake.DataLakePathClient client) => throw null; + public static Azure.Storage.Files.DataLake.DataLakeFileSystemClient GetParentFileSystemClient(this Azure.Storage.Files.DataLake.DataLakePathClient client) => throw null; + public static Azure.Storage.Files.DataLake.DataLakeServiceClient GetParentServiceClient(this Azure.Storage.Files.DataLake.DataLakeFileSystemClient client) => throw null; + } + } + } + } + namespace Sas + { + [System.Flags] + public enum DataLakeAccountSasPermissions + { + Read = 1, + Add = 2, + Create = 4, + Write = 8, + Delete = 16, + List = 32, + All = -1, + } + [System.Flags] + public enum DataLakeFileSystemSasPermissions + { + Read = 1, + Add = 2, + Create = 4, + Write = 8, + Delete = 16, + List = 32, + Move = 64, + Execute = 128, + ManageOwnership = 256, + ManageAccessControl = 512, + All = -1, + } + public class DataLakeSasBuilder + { + public string AgentObjectId { get => throw null; set { } } + public string CacheControl { get => throw null; set { } } + public string ContentDisposition { get => throw null; set { } } + public string ContentEncoding { get => throw null; set { } } + public string ContentLanguage { get => throw null; set { } } + public string ContentType { get => throw null; set { } } + public string CorrelationId { get => throw null; set { } } + public DataLakeSasBuilder() => throw null; + public DataLakeSasBuilder(Azure.Storage.Sas.DataLakeSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public DataLakeSasBuilder(Azure.Storage.Sas.DataLakeFileSystemSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public string EncryptionScope { get => throw null; set { } } + public override bool Equals(object obj) => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; set { } } + public string FileSystemName { get => throw null; set { } } + public override int GetHashCode() => throw null; + public string Identifier { get => throw null; set { } } + public Azure.Storage.Sas.SasIPRange IPRange { get => throw null; set { } } + public bool? IsDirectory { get => throw null; set { } } + public string Path { get => throw null; set { } } + public string Permissions { get => throw null; } + public string PreauthorizedAgentObjectId { get => throw null; set { } } + public Azure.Storage.Sas.SasProtocol Protocol { get => throw null; set { } } + public string Resource { get => throw null; set { } } + public void SetPermissions(Azure.Storage.Sas.DataLakeSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.DataLakeAccountSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.DataLakeFileSystemSasPermissions permissions) => throw null; + public void SetPermissions(string rawPermissions, bool normalize = default(bool)) => throw null; + public void SetPermissions(string rawPermissions) => throw null; + public System.DateTimeOffset StartsOn { get => throw null; set { } } + public Azure.Storage.Sas.DataLakeSasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) => throw null; + public Azure.Storage.Sas.DataLakeSasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, out string stringToSign) => throw null; + public Azure.Storage.Sas.DataLakeSasQueryParameters ToSasQueryParameters(Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, string accountName) => throw null; + public Azure.Storage.Sas.DataLakeSasQueryParameters ToSasQueryParameters(Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, string accountName, out string stringToSign) => throw null; + public override string ToString() => throw null; + public string Version { get => throw null; set { } } + } + [System.Flags] + public enum DataLakeSasPermissions + { + Read = 1, + Add = 2, + Create = 4, + Write = 8, + Delete = 16, + List = 32, + Move = 64, + Execute = 128, + ManageOwnership = 256, + ManageAccessControl = 512, + All = -1, + } + public sealed class DataLakeSasQueryParameters : Azure.Storage.Sas.SasQueryParameters + { + public static Azure.Storage.Sas.DataLakeSasQueryParameters Empty { get => throw null; } + public System.DateTimeOffset KeyExpiresOn { get => throw null; } + public string KeyObjectId { get => throw null; } + public string KeyService { get => throw null; } + public System.DateTimeOffset KeyStartsOn { get => throw null; } + public string KeyTenantId { get => throw null; } + public string KeyVersion { get => throw null; } + public override string ToString() => throw null; + } + } + } +} +// namespace Microsoft +// { +// namespace Extensions +// { +// namespace Azure +// { +// public static partial class DataLakeClientBuilderExtensions +// { +// public static Azure.Core.Extensions.IAzureClientBuilder AddDataLakeServiceClient(this TBuilder builder, System.Uri serviceUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddDataLakeServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddDataLakeServiceClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddDataLakeServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.Core.TokenCredential tokenCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddDataLakeServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.AzureSasCredential sasCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// } +// } +// } +// } diff --git a/csharp/ql/test/resources/stubs/Azure.Storage.Files.Shares/12.22.0/Azure.Storage.Files.Shares.cs b/csharp/ql/test/resources/stubs/Azure.Storage.Files.Shares/12.22.0/Azure.Storage.Files.Shares.cs new file mode 100644 index 000000000000..25f415ba53be --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Storage.Files.Shares/12.22.0/Azure.Storage.Files.Shares.cs @@ -0,0 +1,1345 @@ +// This file contains auto-generated code. +// Generated from `Azure.Storage.Files.Shares, Version=12.22.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8`. +namespace Azure +{ + namespace Storage + { + namespace Files + { + namespace Shares + { + namespace Models + { + public class CloseHandlesResult + { + public int ClosedHandlesCount { get => throw null; } + public int FailedHandlesCount { get => throw null; } + } + [System.Flags] + public enum CopyableFileSmbProperties + { + None = 0, + FileAttributes = 1, + CreatedOn = 2, + LastWrittenOn = 4, + ChangedOn = 8, + All = -1, + } + public enum CopyStatus + { + Pending = 0, + Success = 1, + Aborted = 2, + Failed = 3, + } + public enum FileLastWrittenMode + { + Now = 0, + Preserve = 1, + } + public class FileLeaseReleaseInfo + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public static class FileModelFactory + { + public static Azure.Storage.Files.Shares.Models.CloseHandlesResult ClosedHandlesInfo(int closedHandlesCount) => throw null; + public static Azure.Storage.Files.Shares.Models.CloseHandlesResult ClosedHandlesInfo(int closedHandlesCount, int failedHandlesCount) => throw null; + } + public enum FilePermissionFormat + { + Sddl = 0, + Binary = 1, + } + public class FilePosixProperties + { + public FilePosixProperties() => throw null; + public Azure.Storage.Files.Shares.Models.NfsFileMode FileMode { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.NfsFileType? FileType { get => throw null; } + public string Group { get => throw null; set { } } + public long? LinkCount { get => throw null; } + public string Owner { get => throw null; set { } } + } + public class FileSmbProperties + { + public FileSmbProperties() => throw null; + public override bool Equals(object other) => throw null; + public Azure.Storage.Files.Shares.Models.NtfsFileAttributes? FileAttributes { get => throw null; set { } } + public System.DateTimeOffset? FileChangedOn { get => throw null; set { } } + public System.DateTimeOffset? FileCreatedOn { get => throw null; set { } } + public string FileId { get => throw null; } + public System.DateTimeOffset? FileLastWrittenOn { get => throw null; set { } } + public string FilePermissionKey { get => throw null; set { } } + public override int GetHashCode() => throw null; + public string ParentId { get => throw null; } + } + public static class FilesModelFactory + { + public static Azure.Storage.Files.Shares.Models.FilePosixProperties FilePosixProperties(Azure.Storage.Files.Shares.Models.NfsFileMode fileMode, string owner, string group, Azure.Storage.Files.Shares.Models.NfsFileType fileType, long? linkCount) => throw null; + public static Azure.Storage.Files.Shares.Models.FileSmbProperties FileSmbProperties(System.DateTimeOffset? fileChangedOn, string fileId, string parentId) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileItem ShareFileItem(bool isDirectory = default(bool), string name = default(string), long? fileSize = default(long?), string id = default(string), Azure.Storage.Files.Shares.Models.ShareFileItemProperties properties = default(Azure.Storage.Files.Shares.Models.ShareFileItemProperties), Azure.Storage.Files.Shares.Models.NtfsFileAttributes? fileAttributes = default(Azure.Storage.Files.Shares.Models.NtfsFileAttributes?), string permissionKey = default(string)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareDirectoryInfo StorageDirectoryInfo(Azure.ETag eTag = default(Azure.ETag), System.DateTimeOffset lastModified = default(System.DateTimeOffset), Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default(Azure.Storage.Files.Shares.Models.FileSmbProperties), Azure.Storage.Files.Shares.Models.FilePosixProperties posixProperties = default(Azure.Storage.Files.Shares.Models.FilePosixProperties)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareDirectoryProperties StorageDirectoryProperties(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.ETag eTag = default(Azure.ETag), System.DateTimeOffset lastModified = default(System.DateTimeOffset), bool isServerEncrypted = default(bool), Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default(Azure.Storage.Files.Shares.Models.FileSmbProperties), Azure.Storage.Files.Shares.Models.FilePosixProperties posixProperties = default(Azure.Storage.Files.Shares.Models.FilePosixProperties)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareDirectoryProperties StorageDirectoryProperties(System.Collections.Generic.IDictionary metadata, Azure.ETag eTag, System.DateTimeOffset lastModified, bool isServerEncrypted, string fileAttributes, System.DateTimeOffset fileCreationTime, System.DateTimeOffset fileLastWriteTime, System.DateTimeOffset fileChangeTime, string filePermissionKey, string fileId, string fileParentId) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileDownloadInfo StorageFileDownloadInfo(System.DateTimeOffset lastModified = default(System.DateTimeOffset), System.Collections.Generic.IEnumerable contentLanguage = default(System.Collections.Generic.IEnumerable), string acceptRanges = default(string), System.DateTimeOffset copyCompletionTime = default(System.DateTimeOffset), string copyStatusDescription = default(string), string contentDisposition = default(string), string copyProgress = default(string), System.Uri copySource = default(System.Uri), Azure.Storage.Files.Shares.Models.CopyStatus copyStatus = default(Azure.Storage.Files.Shares.Models.CopyStatus), byte[] fileContentHash = default(byte[]), bool isServerEncrypted = default(bool), string cacheControl = default(string), string fileAttributes = default(string), System.Collections.Generic.IEnumerable contentEncoding = default(System.Collections.Generic.IEnumerable), System.DateTimeOffset fileCreationTime = default(System.DateTimeOffset), byte[] contentHash = default(byte[]), System.DateTimeOffset fileLastWriteTime = default(System.DateTimeOffset), Azure.ETag eTag = default(Azure.ETag), System.DateTimeOffset fileChangeTime = default(System.DateTimeOffset), string contentRange = default(string), string filePermissionKey = default(string), string contentType = default(string), string fileId = default(string), long contentLength = default(long), string fileParentId = default(string), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.IO.Stream content = default(System.IO.Stream), string copyId = default(string)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileDownloadDetails StorageFileDownloadProperties(System.DateTimeOffset lastModified = default(System.DateTimeOffset), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), string contentRange = default(string), Azure.ETag eTag = default(Azure.ETag), System.Collections.Generic.IEnumerable contentEncoding = default(System.Collections.Generic.IEnumerable), string cacheControl = default(string), string contentDisposition = default(string), System.Collections.Generic.IEnumerable contentLanguage = default(System.Collections.Generic.IEnumerable), string acceptRanges = default(string), System.DateTimeOffset copyCompletedOn = default(System.DateTimeOffset), string copyStatusDescription = default(string), string copyId = default(string), string copyProgress = default(string), System.Uri copySource = default(System.Uri), Azure.Storage.Files.Shares.Models.CopyStatus copyStatus = default(Azure.Storage.Files.Shares.Models.CopyStatus), byte[] fileContentHash = default(byte[]), bool isServiceEncrypted = default(bool), Azure.Storage.Files.Shares.Models.ShareLeaseDuration leaseDuration = default(Azure.Storage.Files.Shares.Models.ShareLeaseDuration), Azure.Storage.Files.Shares.Models.ShareLeaseState leaseState = default(Azure.Storage.Files.Shares.Models.ShareLeaseState), Azure.Storage.Files.Shares.Models.ShareLeaseStatus leaseStatus = default(Azure.Storage.Files.Shares.Models.ShareLeaseStatus), Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default(Azure.Storage.Files.Shares.Models.FileSmbProperties), Azure.Storage.Files.Shares.Models.FilePosixProperties posixProperties = default(Azure.Storage.Files.Shares.Models.FilePosixProperties)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileDownloadDetails StorageFileDownloadProperties(System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, string contentType, string contentRange, Azure.ETag eTag, System.Collections.Generic.IEnumerable contentEncoding, string cacheControl, string contentDisposition, System.Collections.Generic.IEnumerable contentLanguage, string acceptRanges, System.DateTimeOffset copyCompletedOn, string copyStatusDescription, string copyId, string copyProgress, System.Uri copySource, Azure.Storage.Files.Shares.Models.CopyStatus copyStatus, byte[] fileContentHash, bool isServiceEncrypted) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileInfo StorageFileInfo(Azure.ETag eTag = default(Azure.ETag), System.DateTimeOffset lastModified = default(System.DateTimeOffset), bool isServerEncrypted = default(bool), string filePermissionKey = default(string), string fileAttributes = default(string), System.DateTimeOffset fileCreationTime = default(System.DateTimeOffset), System.DateTimeOffset fileLastWriteTime = default(System.DateTimeOffset), System.DateTimeOffset fileChangeTime = default(System.DateTimeOffset), string fileId = default(string), string fileParentId = default(string), Azure.Storage.Files.Shares.Models.NfsFileMode nfsFileMode = default(Azure.Storage.Files.Shares.Models.NfsFileMode), string owner = default(string), string group = default(string), Azure.Storage.Files.Shares.Models.NfsFileType nfsFileType = default(Azure.Storage.Files.Shares.Models.NfsFileType)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileInfo StorageFileInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, bool isServerEncrypted, string filePermissionKey, string fileAttributes, System.DateTimeOffset fileCreationTime, System.DateTimeOffset fileLastWriteTime, System.DateTimeOffset fileChangeTime, string fileId, string fileParentId) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileItem StorageFileItem(bool isDirectory, string name, long? fileSize) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileProperties StorageFileProperties(System.DateTimeOffset lastModified = default(System.DateTimeOffset), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), long contentLength = default(long), string contentType = default(string), Azure.ETag eTag = default(Azure.ETag), byte[] contentHash = default(byte[]), System.Collections.Generic.IEnumerable contentEncoding = default(System.Collections.Generic.IEnumerable), string cacheControl = default(string), string contentDisposition = default(string), System.Collections.Generic.IEnumerable contentLanguage = default(System.Collections.Generic.IEnumerable), System.DateTimeOffset copyCompletedOn = default(System.DateTimeOffset), string copyStatusDescription = default(string), string copyId = default(string), string copyProgress = default(string), string copySource = default(string), Azure.Storage.Files.Shares.Models.CopyStatus copyStatus = default(Azure.Storage.Files.Shares.Models.CopyStatus), bool isServerEncrypted = default(bool), Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default(Azure.Storage.Files.Shares.Models.FileSmbProperties), Azure.Storage.Files.Shares.Models.FilePosixProperties posixProperties = default(Azure.Storage.Files.Shares.Models.FilePosixProperties)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileProperties StorageFileProperties(System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, long contentLength, string contentType, Azure.ETag eTag, byte[] contentHash, System.Collections.Generic.IEnumerable contentEncoding, string cacheControl, string contentDisposition, System.Collections.Generic.IEnumerable contentLanguage, System.DateTimeOffset copyCompletedOn, string copyStatusDescription, string copyId, string copyProgress, string copySource, Azure.Storage.Files.Shares.Models.CopyStatus copyStatus, bool isServerEncrypted, string fileAttributes, System.DateTimeOffset fileCreationTime, System.DateTimeOffset fileLastWriteTime, System.DateTimeOffset fileChangeTime, string filePermissionKey, string fileId, string fileParentId) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileProperties StorageFileProperties(System.DateTimeOffset lastModified, System.Collections.Generic.IDictionary metadata, long contentLength, string contentType, Azure.ETag eTag, byte[] contentHash, System.Collections.Generic.IEnumerable contentEncoding, string cacheControl, string contentDisposition, System.Collections.Generic.IEnumerable contentLanguage, System.DateTimeOffset copyCompletedOn, string copyStatusDescription, string copyId, string copyProgress, string copySource, Azure.Storage.Files.Shares.Models.CopyStatus copyStatus, bool isServerEncrypted, Azure.Storage.Files.Shares.Models.NtfsFileAttributes fileAttributes, System.DateTimeOffset fileCreationTime, System.DateTimeOffset fileLastWriteTime, System.DateTimeOffset fileChangeTime, string filePermissionKey, string fileId, string fileParentId) => throw null; + } + public enum ModeCopyMode + { + Source = 0, + Override = 1, + } + public class NfsFileMode + { + public NfsFileMode() => throw null; + public bool EffectiveGroupIdentity { get => throw null; set { } } + public bool EffectiveUserIdentity { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.PosixRolePermissions Group { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.PosixRolePermissions Other { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.PosixRolePermissions Owner { get => throw null; set { } } + public static Azure.Storage.Files.Shares.Models.NfsFileMode ParseOctalFileMode(string modeString) => throw null; + public static Azure.Storage.Files.Shares.Models.NfsFileMode ParseSymbolicFileMode(string modeString) => throw null; + public bool StickyBit { get => throw null; set { } } + public string ToOctalFileMode() => throw null; + public override string ToString() => throw null; + public string ToSymbolicFileMode() => throw null; + } + public struct NfsFileType : System.IEquatable + { + public NfsFileType(string value) => throw null; + public static Azure.Storage.Files.Shares.Models.NfsFileType Directory { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Files.Shares.Models.NfsFileType other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Files.Shares.Models.NfsFileType left, Azure.Storage.Files.Shares.Models.NfsFileType right) => throw null; + public static implicit operator Azure.Storage.Files.Shares.Models.NfsFileType(string value) => throw null; + public static bool operator !=(Azure.Storage.Files.Shares.Models.NfsFileType left, Azure.Storage.Files.Shares.Models.NfsFileType right) => throw null; + public static Azure.Storage.Files.Shares.Models.NfsFileType Regular { get => throw null; } + public static Azure.Storage.Files.Shares.Models.NfsFileType SymLink { get => throw null; } + public override string ToString() => throw null; + } + [System.Flags] + public enum NtfsFileAttributes + { + ReadOnly = 1, + Hidden = 2, + System = 4, + None = 8, + Directory = 16, + Archive = 32, + Temporary = 64, + Offline = 128, + NotContentIndexed = 256, + NoScrubData = 512, + } + public enum OwnerCopyMode + { + Source = 0, + Override = 1, + } + public enum PermissionCopyMode + { + Source = 0, + Override = 1, + } + public class PermissionInfo + { + public string FilePermissionKey { get => throw null; } + } + [System.Flags] + public enum PosixRolePermissions + { + None = 0, + Execute = 1, + Write = 2, + Read = 4, + } + public class ShareAccessPolicy + { + public ShareAccessPolicy() => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; set { } } + public string Permissions { get => throw null; set { } } + public System.DateTimeOffset? PolicyExpiresOn { get => throw null; set { } } + public System.DateTimeOffset? PolicyStartsOn { get => throw null; set { } } + public System.DateTimeOffset StartsOn { get => throw null; set { } } + } + public struct ShareAccessTier : System.IEquatable + { + public static Azure.Storage.Files.Shares.Models.ShareAccessTier Cool { get => throw null; } + public ShareAccessTier(string value) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Files.Shares.Models.ShareAccessTier other) => throw null; + public override int GetHashCode() => throw null; + public static Azure.Storage.Files.Shares.Models.ShareAccessTier Hot { get => throw null; } + public static bool operator ==(Azure.Storage.Files.Shares.Models.ShareAccessTier left, Azure.Storage.Files.Shares.Models.ShareAccessTier right) => throw null; + public static implicit operator Azure.Storage.Files.Shares.Models.ShareAccessTier(string value) => throw null; + public static bool operator !=(Azure.Storage.Files.Shares.Models.ShareAccessTier left, Azure.Storage.Files.Shares.Models.ShareAccessTier right) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareAccessTier Premium { get => throw null; } + public override string ToString() => throw null; + public static Azure.Storage.Files.Shares.Models.ShareAccessTier TransactionOptimized { get => throw null; } + } + public struct ShareAudience : System.IEquatable + { + public static Azure.Storage.Files.Shares.Models.ShareAudience CreateShareServiceAccountAudience(string storageAccountName) => throw null; + public ShareAudience(string value) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareAudience DefaultAudience { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Files.Shares.Models.ShareAudience other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Files.Shares.Models.ShareAudience left, Azure.Storage.Files.Shares.Models.ShareAudience right) => throw null; + public static implicit operator Azure.Storage.Files.Shares.Models.ShareAudience(string value) => throw null; + public static bool operator !=(Azure.Storage.Files.Shares.Models.ShareAudience left, Azure.Storage.Files.Shares.Models.ShareAudience right) => throw null; + public override string ToString() => throw null; + } + public class ShareCorsRule + { + public string AllowedHeaders { get => throw null; set { } } + public string AllowedMethods { get => throw null; set { } } + public string AllowedOrigins { get => throw null; set { } } + public ShareCorsRule() => throw null; + public string ExposedHeaders { get => throw null; set { } } + public int MaxAgeInSeconds { get => throw null; set { } } + } + public class ShareCreateOptions + { + public Azure.Storage.Files.Shares.Models.ShareAccessTier? AccessTier { get => throw null; set { } } + public ShareCreateOptions() => throw null; + public bool? EnablePaidBursting { get => throw null; set { } } + public bool? EnableSnapshotVirtualDirectoryAccess { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public long? PaidBurstingMaxBandwidthMibps { get => throw null; set { } } + public long? PaidBurstingMaxIops { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareProtocols? Protocols { get => throw null; set { } } + public long? ProvisionedMaxBandwidthMibps { get => throw null; set { } } + public long? ProvisionedMaxIops { get => throw null; set { } } + public int? QuotaInGB { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareRootSquash? RootSquash { get => throw null; set { } } + } + public class ShareDeleteOptions + { + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareDeleteOptions() => throw null; + public Azure.Storage.Files.Shares.Models.ShareSnapshotsDeleteOption? ShareSnapshotsDeleteOption { get => throw null; set { } } + } + public class ShareDirectoryCreateOptions + { + public ShareDirectoryCreateOptions() => throw null; + public Azure.Storage.Files.Shares.Models.ShareFilePermission FilePermission { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + public class ShareDirectoryGetFilesAndDirectoriesOptions + { + public ShareDirectoryGetFilesAndDirectoriesOptions() => throw null; + public bool? IncludeExtendedInfo { get => throw null; set { } } + public string Prefix { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareFileTraits Traits { get => throw null; set { } } + } + public class ShareDirectoryInfo + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + public class ShareDirectoryProperties + { + public Azure.ETag ETag { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + public class ShareDirectorySetHttpHeadersOptions + { + public ShareDirectorySetHttpHeadersOptions() => throw null; + public Azure.Storage.Files.Shares.Models.ShareFilePermission FilePermission { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + public struct ShareErrorCode : System.IEquatable + { + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AccountAlreadyExists { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AccountBeingCreated { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AccountIsDisabled { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AuthenticationFailed { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AuthorizationFailure { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AuthorizationPermissionMismatch { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AuthorizationProtocolMismatch { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AuthorizationResourceTypeMismatch { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AuthorizationServiceMismatch { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode AuthorizationSourceIPMismatch { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode CannotDeleteFileOrDirectory { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ClientCacheFlushDelay { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ConditionHeadersNotSupported { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ConditionNotMet { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ContainerQuotaDowngradeNotAllowed { get => throw null; } + public ShareErrorCode(string value) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareErrorCode DeletePending { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode DirectoryNotEmpty { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode EmptyMetadataKey { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Files.Shares.Models.ShareErrorCode other) => throw null; + public bool Equals(string value) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareErrorCode FeatureVersionMismatch { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode FileLockConflict { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode FileShareProvisionedBandwidthDowngradeNotAllowed { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode FileShareProvisionedIopsDowngradeNotAllowed { get => throw null; } + public override int GetHashCode() => throw null; + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InsufficientAccountPermissions { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InternalError { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidAuthenticationInfo { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidFileOrDirectoryPathName { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidHeaderValue { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidHttpVerb { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidInput { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidMd5 { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidMetadata { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidQueryParameterValue { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidRange { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidResourceName { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidUri { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidXmlDocument { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode InvalidXmlNodeValue { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode Md5Mismatch { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode MetadataTooLarge { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode MissingContentLengthHeader { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode MissingRequiredHeader { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode MissingRequiredQueryParameter { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode MissingRequiredXmlNode { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode MultipleConditionHeadersNotSupported { get => throw null; } + public static bool operator ==(Azure.Storage.Files.Shares.Models.ShareErrorCode left, Azure.Storage.Files.Shares.Models.ShareErrorCode right) => throw null; + public static bool operator ==(Azure.Storage.Files.Shares.Models.ShareErrorCode code, string value) => throw null; + public static bool operator ==(string value, Azure.Storage.Files.Shares.Models.ShareErrorCode code) => throw null; + public static implicit operator Azure.Storage.Files.Shares.Models.ShareErrorCode(string value) => throw null; + public static bool operator !=(Azure.Storage.Files.Shares.Models.ShareErrorCode left, Azure.Storage.Files.Shares.Models.ShareErrorCode right) => throw null; + public static bool operator !=(Azure.Storage.Files.Shares.Models.ShareErrorCode code, string value) => throw null; + public static bool operator !=(string value, Azure.Storage.Files.Shares.Models.ShareErrorCode code) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareErrorCode OperationTimedOut { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode OutOfRangeInput { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode OutOfRangeQueryParameterValue { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ParentNotFound { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode PreviousSnapshotNotFound { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ReadOnlyAttribute { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode RequestBodyTooLarge { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode RequestUrlFailedToParse { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ResourceAlreadyExists { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ResourceNotFound { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ResourceTypeMismatch { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ServerBusy { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ShareAlreadyExists { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ShareBeingDeleted { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ShareDisabled { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ShareHasSnapshots { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ShareNotFound { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ShareSnapshotCountExceeded { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ShareSnapshotInProgress { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode ShareSnapshotOperationNotSupported { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode SharingViolation { get => throw null; } + public override string ToString() => throw null; + public static Azure.Storage.Files.Shares.Models.ShareErrorCode UnsupportedHeader { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode UnsupportedHttpVerb { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode UnsupportedQueryParameter { get => throw null; } + public static Azure.Storage.Files.Shares.Models.ShareErrorCode UnsupportedXmlNode { get => throw null; } + } + public class ShareFileCopyInfo + { + public string CopyId { get => throw null; } + public Azure.Storage.Files.Shares.Models.CopyStatus CopyStatus { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public class ShareFileCopyOptions + { + public bool? Archive { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareFileCopyOptions() => throw null; + public string FilePermission { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.PermissionCopyMode? FilePermissionCopyMode { get => throw null; set { } } + public bool? IgnoreReadOnly { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ModeCopyMode? ModeCopyMode { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.OwnerCopyMode? OwnerCopyMode { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FilePermissionFormat? PermissionFormat { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.CopyableFileSmbProperties SmbPropertiesToCopy { get => throw null; set { } } + } + public class ShareFileCreateOptions + { + public ShareFileCreateOptions() => throw null; + public Azure.Storage.Files.Shares.Models.ShareFilePermission FilePermission { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders HttpHeaders { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + public class ShareFileDownloadDetails + { + public string AcceptRanges { get => throw null; } + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public System.Collections.Generic.IEnumerable ContentEncoding { get => throw null; } + public System.Collections.Generic.IEnumerable ContentLanguage { get => throw null; } + public string ContentRange { get => throw null; } + public System.DateTimeOffset CopyCompletedOn { get => throw null; } + public string CopyId { get => throw null; } + public string CopyProgress { get => throw null; } + public System.Uri CopySource { get => throw null; } + public Azure.Storage.Files.Shares.Models.CopyStatus CopyStatus { get => throw null; } + public string CopyStatusDescription { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public byte[] FileContentHash { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseDuration LeaseDuration { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseState LeaseState { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseStatus LeaseStatus { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + public class ShareFileDownloadInfo : System.IDisposable + { + public System.IO.Stream Content { get => throw null; } + public byte[] ContentHash { get => throw null; } + public long ContentLength { get => throw null; } + public string ContentType { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareFileDownloadDetails Details { get => throw null; } + public void Dispose() => throw null; + } + public class ShareFileDownloadOptions + { + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareFileDownloadOptions() => throw null; + public Azure.HttpRange Range { get => throw null; set { } } + public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class ShareFileGetRangeListDiffOptions + { + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareFileGetRangeListDiffOptions() => throw null; + public bool? IncludeRenames { get => throw null; set { } } + public string PreviousSnapshot { get => throw null; set { } } + public Azure.HttpRange? Range { get => throw null; set { } } + public string Snapshot { get => throw null; set { } } + } + public class ShareFileGetRangeListOptions + { + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareFileGetRangeListOptions() => throw null; + public Azure.HttpRange? Range { get => throw null; set { } } + public string Snapshot { get => throw null; set { } } + } + public class ShareFileHandle + { + public Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights? AccessRights { get => throw null; } + public string ClientIp { get => throw null; } + public string ClientName { get => throw null; } + public string FileId { get => throw null; } + public string HandleId { get => throw null; } + public System.DateTimeOffset? LastReconnectedOn { get => throw null; } + public System.DateTimeOffset? OpenedOn { get => throw null; } + public string ParentId { get => throw null; } + public string Path { get => throw null; } + public string SessionId { get => throw null; } + } + [System.Flags] + public enum ShareFileHandleAccessRights + { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + } + public class ShareFileHttpHeaders + { + public string CacheControl { get => throw null; set { } } + public string ContentDisposition { get => throw null; set { } } + public string[] ContentEncoding { get => throw null; set { } } + public byte[] ContentHash { get => throw null; set { } } + public string[] ContentLanguage { get => throw null; set { } } + public string ContentType { get => throw null; set { } } + public ShareFileHttpHeaders() => throw null; + public override bool Equals(object obj) => throw null; + public override int GetHashCode() => throw null; + } + public class ShareFileInfo + { + public Azure.ETag ETag { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + public class ShareFileItem + { + public Azure.Storage.Files.Shares.Models.NtfsFileAttributes? FileAttributes { get => throw null; } + public long? FileSize { get => throw null; } + public string Id { get => throw null; } + public bool IsDirectory { get => throw null; } + public string Name { get => throw null; } + public string PermissionKey { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareFileItemProperties Properties { get => throw null; } + } + public class ShareFileItemProperties + { + public System.DateTimeOffset? ChangedOn { get => throw null; } + public System.DateTimeOffset? CreatedOn { get => throw null; } + public Azure.ETag? ETag { get => throw null; } + public System.DateTimeOffset? LastAccessedOn { get => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; } + public System.DateTimeOffset? LastWrittenOn { get => throw null; } + } + public class ShareFileLease + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string LeaseId { get => throw null; } + public int? LeaseTime { get => throw null; } + } + public class ShareFileModifiedException : System.Exception, System.Runtime.Serialization.ISerializable + { + public Azure.ETag ActualETag { get => throw null; } + public ShareFileModifiedException(string message, System.Uri resourceUri, Azure.ETag expectedETag, Azure.ETag actualETag, Azure.HttpRange range) => throw null; + protected ShareFileModifiedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext streamingContext) => throw null; + public Azure.ETag ExpectedETag { get => throw null; } + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public Azure.HttpRange Range { get => throw null; } + public System.Uri ResourceUri { get => throw null; } + } + public class ShareFileOpenReadOptions + { + public int? BufferSize { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareFileOpenReadOptions(bool allowModifications) => throw null; + public long Position { get => throw null; set { } } + public Azure.Storage.DownloadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class ShareFileOpenWriteOptions + { + public long? BufferSize { get => throw null; set { } } + public ShareFileOpenWriteOptions() => throw null; + public long? MaxSize { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions OpenConditions { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class ShareFilePermission + { + public ShareFilePermission() => throw null; + public string Permission { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FilePermissionFormat? PermissionFormat { get => throw null; set { } } + } + public class ShareFileProperties + { + public string CacheControl { get => throw null; } + public string ContentDisposition { get => throw null; } + public System.Collections.Generic.IEnumerable ContentEncoding { get => throw null; } + public byte[] ContentHash { get => throw null; } + public System.Collections.Generic.IEnumerable ContentLanguage { get => throw null; } + public long ContentLength { get => throw null; } + public string ContentType { get => throw null; } + public System.DateTimeOffset CopyCompletedOn { get => throw null; } + public string CopyId { get => throw null; } + public string CopyProgress { get => throw null; } + public string CopySource { get => throw null; } + public Azure.Storage.Files.Shares.Models.CopyStatus CopyStatus { get => throw null; } + public string CopyStatusDescription { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseDuration LeaseDuration { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseState LeaseState { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseStatus LeaseStatus { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + public class ShareFileRangeInfo + { + public System.Collections.Generic.IEnumerable ClearRanges { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public long FileContentLength { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public System.Collections.Generic.IEnumerable Ranges { get => throw null; } + } + public enum ShareFileRangeWriteType + { + Update = 0, + Clear = 1, + } + public class ShareFileRenameOptions + { + public string ContentType { get => throw null; set { } } + public ShareFileRenameOptions() => throw null; + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions DestinationConditions { get => throw null; set { } } + public string FilePermission { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FilePermissionFormat? FilePermissionFormat { get => throw null; set { } } + public bool? IgnoreReadOnly { get => throw null; set { } } + public System.Collections.Generic.IDictionary Metadata { get => throw null; set { } } + public bool? ReplaceIfExists { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions SourceConditions { get => throw null; set { } } + } + public class ShareFileRequestConditions + { + public ShareFileRequestConditions() => throw null; + public string LeaseId { get => throw null; set { } } + public override string ToString() => throw null; + } + public class ShareFileSetHttpHeadersOptions + { + public ShareFileSetHttpHeadersOptions() => throw null; + public Azure.Storage.Files.Shares.Models.ShareFilePermission FilePermission { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders HttpHeaders { get => throw null; set { } } + public long? NewSize { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FilePosixProperties PosixProperties { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.FileSmbProperties SmbProperties { get => throw null; set { } } + } + [System.Flags] + public enum ShareFileTraits + { + None = 0, + Timestamps = 1, + ETag = 2, + Attributes = 4, + PermissionKey = 8, + All = -1, + } + public class ShareFileUploadInfo + { + public byte[] ContentHash { get => throw null; } + public Azure.ETag ETag { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public class ShareFileUploadOptions + { + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareFileUploadOptions() => throw null; + public System.IProgress ProgressHandler { get => throw null; set { } } + public Azure.Storage.StorageTransferOptions TransferOptions { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class ShareFileUploadRangeFromUriOptions + { + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareFileUploadRangeFromUriOptions() => throw null; + public Azure.Storage.Files.Shares.Models.FileLastWrittenMode? FileLastWrittenMode { get => throw null; set { } } + public Azure.HttpAuthorization SourceAuthentication { get => throw null; set { } } + } + public class ShareFileUploadRangeOptions + { + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareFileUploadRangeOptions() => throw null; + public Azure.Storage.Files.Shares.Models.FileLastWrittenMode? FileLastWrittenMode { get => throw null; set { } } + public System.IProgress ProgressHandler { get => throw null; set { } } + public byte[] TransactionalContentHash { get => throw null; set { } } + public Azure.Storage.UploadTransferValidationOptions TransferValidation { get => throw null; set { } } + } + public class ShareInfo + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + } + public class ShareItem + { + public bool? IsDeleted { get => throw null; } + public string Name { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareProperties Properties { get => throw null; } + public string Snapshot { get => throw null; } + public string VersionId { get => throw null; } + } + public enum ShareLeaseDuration + { + Infinite = 0, + Fixed = 1, + } + public enum ShareLeaseState + { + Available = 0, + Leased = 1, + Expired = 2, + Breaking = 3, + Broken = 4, + } + public enum ShareLeaseStatus + { + Locked = 0, + Unlocked = 1, + } + public class ShareMetrics + { + public ShareMetrics() => throw null; + public bool Enabled { get => throw null; set { } } + public bool? IncludeApis { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareRetentionPolicy RetentionPolicy { get => throw null; set { } } + public string Version { get => throw null; set { } } + } + public static class ShareModelFactory + { + public static Azure.Storage.Files.Shares.Models.FileLeaseReleaseInfo FileLeaseReleaseInfo(Azure.ETag eTag, System.DateTimeOffset lastModified) => throw null; + public static Azure.Storage.Files.Shares.Models.PermissionInfo PermissionInfo(string filePermissionKey) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileCopyInfo ShareFileCopyInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, string copyId, Azure.Storage.Files.Shares.Models.CopyStatus copyStatus) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileHandle ShareFileHandle(string handleId, string path, string fileId, string sessionId, string clientIp, string clientName, string parentId = default(string), System.DateTimeOffset? openedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastReconnectedOn = default(System.DateTimeOffset?), Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights? accessRights = default(Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights?)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileHandle ShareFileHandle(string handleId, string path, string fileId, string sessionId, string clientIp, string parentId = default(string), System.DateTimeOffset? openedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastReconnectedOn = default(System.DateTimeOffset?), Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights? accessRights = default(Azure.Storage.Files.Shares.Models.ShareFileHandleAccessRights?)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileHandle ShareFileHandle(string handleId, string path, string fileId, string sessionId, string clientIp, string parentId = default(string), System.DateTimeOffset? openedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastReconnectedOn = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileItemProperties ShareFileItemProperties(System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastAccessedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastWrittenOn = default(System.DateTimeOffset?), System.DateTimeOffset? changedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), Azure.ETag? etag = default(Azure.ETag?)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileLease ShareFileLease(Azure.ETag eTag, System.DateTimeOffset lastModified, string leaseId) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileRangeInfo ShareFileRangeInfo(System.DateTimeOffset lastModified, Azure.ETag eTag, long fileContentLength, System.Collections.Generic.IEnumerable ranges) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareFileUploadInfo ShareFileUploadInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, bool isServerEncrypted) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareInfo ShareInfo(Azure.ETag eTag, System.DateTimeOffset lastModified) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareItem ShareItem(string name, Azure.Storage.Files.Shares.Models.ShareProperties properties, string snapshot = default(string), bool? isDeleted = default(bool?), string versionId = default(string)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareItem ShareItem(string name, Azure.Storage.Files.Shares.Models.ShareProperties properties, string snapshot) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties(string accessTier = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), int? provisionedIops = default(int?), int? provisionedIngressMBps = default(int?), int? provisionedEgressMBps = default(int?), System.DateTimeOffset? nextAllowedQuotaDowngradeTime = default(System.DateTimeOffset?), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), int? remainingRetentionDays = default(int?), Azure.ETag? eTag = default(Azure.ETag?), System.DateTimeOffset? accessTierChangeTime = default(System.DateTimeOffset?), string accessTierTransitionState = default(string), Azure.Storage.Files.Shares.Models.ShareLeaseStatus? leaseStatus = default(Azure.Storage.Files.Shares.Models.ShareLeaseStatus?), Azure.Storage.Files.Shares.Models.ShareLeaseState? leaseState = default(Azure.Storage.Files.Shares.Models.ShareLeaseState?), Azure.Storage.Files.Shares.Models.ShareLeaseDuration? leaseDuration = default(Azure.Storage.Files.Shares.Models.ShareLeaseDuration?), int? quotaInGB = default(int?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Files.Shares.Models.ShareProtocols? protocols = default(Azure.Storage.Files.Shares.Models.ShareProtocols?), Azure.Storage.Files.Shares.Models.ShareRootSquash? rootSquash = default(Azure.Storage.Files.Shares.Models.ShareRootSquash?), bool? enableSnapshotVirtualDirectoryAccess = default(bool?), bool? enablePaidBursting = default(bool?), long? paidBurstingMaxIops = default(long?), long? paidBustingMaxBandwidthMibps = default(long?), long? includedBurstIops = default(long?), long? maxBurstCreditsForIops = default(long?), System.DateTimeOffset? nextAllowedProvisionedIopsDowngradeTime = default(System.DateTimeOffset?), System.DateTimeOffset? nextAllowedProvisionedBandwidthDowngradeTime = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties(string accessTier, System.DateTimeOffset? lastModified, int? provisionedIops, int? provisionedIngressMBps, int? provisionedEgressMBps, System.DateTimeOffset? nextAllowedQuotaDowngradeTime, System.DateTimeOffset? deletedOn, int? remainingRetentionDays, Azure.ETag? eTag, System.DateTimeOffset? accessTierChangeTime, string accessTierTransitionState, Azure.Storage.Files.Shares.Models.ShareLeaseStatus? leaseStatus, Azure.Storage.Files.Shares.Models.ShareLeaseState? leaseState, Azure.Storage.Files.Shares.Models.ShareLeaseDuration? leaseDuration, int? quotaInGB, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.ShareProtocols? protocols, Azure.Storage.Files.Shares.Models.ShareRootSquash? rootSquash, bool? enableSnapshotVirtualDirectoryAccess, bool? enablePaidBursting, long? paidBurstingMaxIops, long? paidBustingMaxBandwidthMibps) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties(string accessTier, System.DateTimeOffset? lastModified, int? provisionedIops, int? provisionedIngressMBps, int? provisionedEgressMBps, System.DateTimeOffset? nextAllowedQuotaDowngradeTime, System.DateTimeOffset? deletedOn, int? remainingRetentionDays, Azure.ETag? eTag, System.DateTimeOffset? accessTierChangeTime, string accessTierTransitionState, Azure.Storage.Files.Shares.Models.ShareLeaseStatus? leaseStatus, Azure.Storage.Files.Shares.Models.ShareLeaseState? leaseState, Azure.Storage.Files.Shares.Models.ShareLeaseDuration? leaseDuration, int? quotaInGB, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.ShareProtocols? protocols, Azure.Storage.Files.Shares.Models.ShareRootSquash? rootSquash, bool? enableSnapshotVirtualDirectoryAccess) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties(System.DateTimeOffset? lastModified, Azure.ETag? eTag, int? provisionedIops, int? provisionedIngressMBps, int? provisionedEgressMBps, System.DateTimeOffset? nextAllowedQuotaDowngradeTime, System.DateTimeOffset? deletedOn, int? remainingRetentionDays, int? quotaInGB, System.Collections.Generic.IDictionary metadata) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties(string accessTier = default(string), System.DateTimeOffset? lastModified = default(System.DateTimeOffset?), int? provisionedIops = default(int?), int? provisionedIngressMBps = default(int?), int? provisionedEgressMBps = default(int?), System.DateTimeOffset? nextAllowedQuotaDowngradeTime = default(System.DateTimeOffset?), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), int? remainingRetentionDays = default(int?), Azure.ETag? eTag = default(Azure.ETag?), System.DateTimeOffset? accessTierChangeTime = default(System.DateTimeOffset?), string accessTierTransitionState = default(string), Azure.Storage.Files.Shares.Models.ShareLeaseStatus? leaseStatus = default(Azure.Storage.Files.Shares.Models.ShareLeaseStatus?), Azure.Storage.Files.Shares.Models.ShareLeaseState? leaseState = default(Azure.Storage.Files.Shares.Models.ShareLeaseState?), Azure.Storage.Files.Shares.Models.ShareLeaseDuration? leaseDuration = default(Azure.Storage.Files.Shares.Models.ShareLeaseDuration?), int? quotaInGB = default(int?), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Files.Shares.Models.ShareProtocols? protocols = default(Azure.Storage.Files.Shares.Models.ShareProtocols?), Azure.Storage.Files.Shares.Models.ShareRootSquash? rootSquash = default(Azure.Storage.Files.Shares.Models.ShareRootSquash?)) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties(string accessTier, System.DateTimeOffset? lastModified, int? provisionedIops, int? provisionedIngressMBps, int? provisionedEgressMBps, System.DateTimeOffset? nextAllowedQuotaDowngradeTime, System.DateTimeOffset? deletedOn, int? remainingRetentionDays, Azure.ETag? eTag, System.DateTimeOffset? accessTierChangeTime, string accessTierTransitionState, Azure.Storage.Files.Shares.Models.ShareLeaseStatus? leaseStatus, Azure.Storage.Files.Shares.Models.ShareLeaseState? leaseState, Azure.Storage.Files.Shares.Models.ShareLeaseDuration? leaseDuration, int? quotaInGB, System.Collections.Generic.IDictionary metadata) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties(System.DateTimeOffset? lastModified, Azure.ETag? eTag, int? provisionedIops, int? provisionedIngressMBps, int? provisionedEgressMBps, System.DateTimeOffset? nextAllowedQuotaDowngradeTime, int? quotaInGB, System.Collections.Generic.IDictionary metadata) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareProperties ShareProperties(System.DateTimeOffset? lastModified, Azure.ETag? eTag, int? quotaInGB, System.Collections.Generic.IDictionary metadata) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareSnapshotInfo ShareSnapshotInfo(string snapshot, Azure.ETag eTag, System.DateTimeOffset lastModified) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareStatistics ShareStatistics(long shareUsageInBytes) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareStatistics ShareStatistics(int shareUsageBytes) => throw null; + public static Azure.Storage.Files.Shares.Models.StorageClosedHandlesSegment StorageClosedHandlesSegment(string marker, int numberOfHandlesClosed) => throw null; + public static Azure.Storage.Files.Shares.Models.StorageClosedHandlesSegment StorageClosedHandlesSegment(string marker, int numberOfHandlesClosed, int numberOfHandlesFailedToClose) => throw null; + } + public class ShareProperties + { + public string AccessTier { get => throw null; } + public System.DateTimeOffset? AccessTierChangeTime { get => throw null; } + public string AccessTierTransitionState { get => throw null; } + public System.DateTimeOffset? DeletedOn { get => throw null; } + public bool? EnablePaidBursting { get => throw null; } + public bool? EnableSnapshotVirtualDirectoryAccess { get => throw null; } + public Azure.ETag? ETag { get => throw null; } + public long? IncludedBurstIops { get => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseDuration? LeaseDuration { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseState? LeaseState { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareLeaseStatus? LeaseStatus { get => throw null; } + public long? MaxBurstCreditsForIops { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public System.DateTimeOffset? NextAllowedProvisionedBandwidthDowngradeTime { get => throw null; } + public System.DateTimeOffset? NextAllowedProvisionedIopsDowngradeTime { get => throw null; } + public System.DateTimeOffset? NextAllowedQuotaDowngradeTime { get => throw null; } + public long? PaidBurstingMaxBandwidthMibps { get => throw null; } + public long? PaidBurstingMaxIops { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareProtocols? Protocols { get => throw null; } + public int? ProvisionedBandwidthMiBps { get => throw null; } + public int? ProvisionedEgressMBps { get => throw null; } + public int? ProvisionedIngressMBps { get => throw null; } + public int? ProvisionedIops { get => throw null; } + public int? QuotaInGB { get => throw null; } + public int? RemainingRetentionDays { get => throw null; } + public Azure.Storage.Files.Shares.Models.ShareRootSquash? RootSquash { get => throw null; } + } + [System.Flags] + public enum ShareProtocols + { + Smb = 1, + Nfs = 2, + } + public class ShareProtocolSettings + { + public ShareProtocolSettings() => throw null; + public Azure.Storage.Files.Shares.Models.ShareSmbSettings Smb { get => throw null; set { } } + } + public class ShareRetentionPolicy + { + public ShareRetentionPolicy() => throw null; + public int? Days { get => throw null; set { } } + public bool Enabled { get => throw null; set { } } + } + public enum ShareRootSquash + { + NoRootSquash = 0, + RootSquash = 1, + AllSquash = 2, + } + public class ShareServiceProperties + { + public System.Collections.Generic.IList Cors { get => throw null; set { } } + public ShareServiceProperties() => throw null; + public Azure.Storage.Files.Shares.Models.ShareMetrics HourMetrics { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareMetrics MinuteMetrics { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareProtocolSettings Protocol { get => throw null; set { } } + } + public class ShareSetPropertiesOptions + { + public Azure.Storage.Files.Shares.Models.ShareAccessTier? AccessTier { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareFileRequestConditions Conditions { get => throw null; set { } } + public ShareSetPropertiesOptions() => throw null; + public bool? EnablePaidBursting { get => throw null; set { } } + public bool? EnableSnapshotVirtualDirectoryAccess { get => throw null; set { } } + public long? PaidBurstingMaxBandwidthMibps { get => throw null; set { } } + public long? PaidBurstingMaxIops { get => throw null; set { } } + public long? ProvisionedMaxBandwidthMibps { get => throw null; set { } } + public long? ProvisionedMaxIops { get => throw null; set { } } + public int? QuotaInGB { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareRootSquash? RootSquash { get => throw null; set { } } + } + public class ShareSignedIdentifier + { + public Azure.Storage.Files.Shares.Models.ShareAccessPolicy AccessPolicy { get => throw null; set { } } + public ShareSignedIdentifier() => throw null; + public string Id { get => throw null; set { } } + } + public class ShareSmbSettings + { + public ShareSmbSettings() => throw null; + public Azure.Storage.Files.Shares.Models.SmbMultichannel Multichannel { get => throw null; set { } } + } + public static class SharesModelFactory + { + public static Azure.Storage.Files.Shares.Models.FileSmbProperties FileSmbProperties(System.DateTimeOffset? fileChangedOn, string fileId, string parentId) => throw null; + public static Azure.Storage.Files.Shares.Models.ShareDirectoryInfo StorageDirectoryInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, string filePermissionKey, string fileAttributes, System.DateTimeOffset fileCreationTime, System.DateTimeOffset fileLastWriteTime, System.DateTimeOffset fileChangeTime, string fileId, string fileParentId) => throw null; + } + public class ShareSnapshotInfo + { + public Azure.ETag ETag { get => throw null; } + public System.DateTimeOffset LastModified { get => throw null; } + public string Snapshot { get => throw null; } + } + public enum ShareSnapshotsDeleteOption + { + Include = 0, + IncludeWithLeased = 1, + } + [System.Flags] + public enum ShareStates + { + None = 0, + Snapshots = 1, + Deleted = 2, + All = -1, + } + public class ShareStatistics + { + public int ShareUsageBytes { get => throw null; } + public long ShareUsageInBytes { get => throw null; } + } + public struct ShareTokenIntent : System.IEquatable + { + public static Azure.Storage.Files.Shares.Models.ShareTokenIntent Backup { get => throw null; } + public ShareTokenIntent(string value) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Files.Shares.Models.ShareTokenIntent other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Files.Shares.Models.ShareTokenIntent left, Azure.Storage.Files.Shares.Models.ShareTokenIntent right) => throw null; + public static implicit operator Azure.Storage.Files.Shares.Models.ShareTokenIntent(string value) => throw null; + public static bool operator !=(Azure.Storage.Files.Shares.Models.ShareTokenIntent left, Azure.Storage.Files.Shares.Models.ShareTokenIntent right) => throw null; + public override string ToString() => throw null; + } + [System.Flags] + public enum ShareTraits + { + None = 0, + Metadata = 1, + All = -1, + } + public class SmbMultichannel + { + public SmbMultichannel() => throw null; + public bool? Enabled { get => throw null; set { } } + } + public class StorageClosedHandlesSegment + { + public string Marker { get => throw null; } + public int NumberOfHandlesClosed { get => throw null; } + public int NumberOfHandlesFailedToClose { get => throw null; } + } + } + public class ShareClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateSasUri { get => throw null; } + public virtual Azure.Response Create(Azure.Storage.Files.Shares.Models.ShareCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? quotaInGB = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.Shares.Models.ShareCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? quotaInGB = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateDirectory(string directoryName, Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateDirectory(string directoryName, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateDirectoryAsync(string directoryName, Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateDirectoryAsync(string directoryName, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.Shares.Models.ShareCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(System.Collections.Generic.IDictionary metadata, int? quotaInGB, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.Shares.Models.ShareCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(System.Collections.Generic.IDictionary metadata, int? quotaInGB, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreatePermission(Azure.Storage.Files.Shares.Models.ShareFilePermission permission, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreatePermission(string permission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreatePermissionAsync(Azure.Storage.Files.Shares.Models.ShareFilePermission permission, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreatePermissionAsync(string permission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateSnapshot(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateSnapshotAsync(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected ShareClient() => throw null; + public ShareClient(string connectionString, string shareName) => throw null; + public ShareClient(string connectionString, string shareName, Azure.Storage.Files.Shares.ShareClientOptions options) => throw null; + public ShareClient(System.Uri shareUri, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareClient(System.Uri shareUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareClient(System.Uri shareUri, Azure.AzureSasCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareClient(System.Uri shareUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public virtual Azure.Response Delete(Azure.Storage.Files.Shares.Models.ShareDeleteOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Delete(bool includeSnapshots = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.Storage.Files.Shares.Models.ShareDeleteOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(bool includeSnapshots = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteDirectory(string directoryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteDirectoryAsync(string directoryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(Azure.Storage.Files.Shares.Models.ShareDeleteOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(bool includeSnapshots = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(Azure.Storage.Files.Shares.Models.ShareDeleteOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(bool includeSnapshots = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Exists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareSasBuilder builder) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareSasBuilder builder, out string stringToSign) => throw null; + public virtual Azure.Response> GetAccessPolicy(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response> GetAccessPolicy(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task>> GetAccessPolicyAsync(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task>> GetAccessPolicyAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Storage.Files.Shares.ShareDirectoryClient GetDirectoryClient(string directoryName) => throw null; + protected virtual Azure.Storage.Files.Shares.ShareServiceClient GetParentServiceClientCore() => throw null; + public virtual Azure.Response GetPermission(string filePermissionKey, Azure.Storage.Files.Shares.Models.FilePermissionFormat? filePermissionFormat = default(Azure.Storage.Files.Shares.Models.FilePermissionFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetPermission(string filePermissionKey, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> GetPermissionAsync(string filePermissionKey, Azure.Storage.Files.Shares.Models.FilePermissionFormat? filePermissionFormat = default(Azure.Storage.Files.Shares.Models.FilePermissionFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPermissionAsync(string filePermissionKey, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response GetProperties(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Storage.Files.Shares.ShareDirectoryClient GetRootDirectoryClient() => throw null; + public virtual Azure.Response GetStatistics(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetStatistics(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> GetStatisticsAsync(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetStatisticsAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string Name { get => throw null; } + public virtual Azure.Response SetAccessPolicy(System.Collections.Generic.IEnumerable permissions, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetAccessPolicy(System.Collections.Generic.IEnumerable permissions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> SetAccessPolicyAsync(System.Collections.Generic.IEnumerable permissions, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetAccessPolicyAsync(System.Collections.Generic.IEnumerable permissions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response SetProperties(Azure.Storage.Files.Shares.Models.ShareSetPropertiesOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetPropertiesAsync(Azure.Storage.Files.Shares.Models.ShareSetPropertiesOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetQuota(int quotaInGB = default(int), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetQuota(int quotaInGB, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> SetQuotaAsync(int quotaInGB = default(int), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetQuotaAsync(int quotaInGB, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Uri Uri { get => throw null; } + public virtual Azure.Storage.Files.Shares.ShareClient WithSnapshot(string snapshot) => throw null; + } + public class ShareClientOptions : Azure.Core.ClientOptions + { + public bool? AllowSourceTrailingDot { get => throw null; set { } } + public bool? AllowTrailingDot { get => throw null; set { } } + public Azure.Storage.Files.Shares.Models.ShareAudience? Audience { get => throw null; set { } } + public ShareClientOptions(Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion version = default(Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion)) => throw null; + public enum ServiceVersion + { + V2019_02_02 = 1, + V2019_07_07 = 2, + V2019_12_12 = 3, + V2020_02_10 = 4, + V2020_04_08 = 5, + V2020_06_12 = 6, + V2020_08_04 = 7, + V2020_10_02 = 8, + V2020_12_06 = 9, + V2021_02_12 = 10, + V2021_04_10 = 11, + V2021_06_08 = 12, + V2021_08_06 = 13, + V2021_10_04 = 14, + V2021_12_02 = 15, + V2022_11_02 = 16, + V2023_01_03 = 17, + V2023_05_03 = 18, + V2023_08_03 = 19, + V2023_11_03 = 20, + V2024_02_04 = 21, + V2024_05_04 = 22, + V2024_08_04 = 23, + V2024_11_04 = 24, + V2025_01_05 = 25, + V2025_05_05 = 26, + } + public Azure.Storage.Files.Shares.Models.ShareTokenIntent? ShareTokenIntent { get => throw null; set { } } + public Azure.Storage.TransferValidationOptions TransferValidation { get => throw null; } + public Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion Version { get => throw null; } + } + public class ShareDirectoryClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateSasUri { get => throw null; } + public virtual Azure.Response Create(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateFile(string fileName, long maxSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders = default(Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default(Azure.Storage.Files.Shares.Models.FileSmbProperties), string filePermission = default(string), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateFile(string fileName, long maxSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateFileAsync(string fileName, long maxSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders = default(Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders), System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default(Azure.Storage.Files.Shares.Models.FileSmbProperties), string filePermission = default(string), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateFileAsync(string fileName, long maxSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateIfNotExists(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectoryCreateOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateSubdirectory(string subdirectoryName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default(Azure.Storage.Files.Shares.Models.FileSmbProperties), string filePermission = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateSubdirectoryAsync(string subdirectoryName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties = default(Azure.Storage.Files.Shares.Models.FileSmbProperties), string filePermission = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected ShareDirectoryClient() => throw null; + public ShareDirectoryClient(string connectionString, string shareName, string directoryPath) => throw null; + public ShareDirectoryClient(string connectionString, string shareName, string directoryPath, Azure.Storage.Files.Shares.ShareClientOptions options) => throw null; + public ShareDirectoryClient(System.Uri directoryUri, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareDirectoryClient(System.Uri directoryUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareDirectoryClient(System.Uri directoryUri, Azure.AzureSasCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareDirectoryClient(System.Uri directoryUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public virtual Azure.Response Delete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteFile(string fileName, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteFile(string fileName, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DeleteFileAsync(string fileName, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteFileAsync(string fileName, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response DeleteIfExists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteSubdirectory(string subdirectoryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteSubdirectoryAsync(string subdirectoryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Exists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Files.Shares.Models.CloseHandlesResult ForceCloseAllHandles(bool? recursive = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task ForceCloseAllHandlesAsync(bool? recursive = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ForceCloseHandle(string handleId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ForceCloseHandleAsync(string handleId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareFileSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareFileSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareSasBuilder builder) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareSasBuilder builder, out string stringToSign) => throw null; + public virtual Azure.Storage.Files.Shares.ShareFileClient GetFileClient(string fileName) => throw null; + public virtual Azure.Pageable GetFilesAndDirectories(Azure.Storage.Files.Shares.Models.ShareDirectoryGetFilesAndDirectoriesOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectoryGetFilesAndDirectoriesOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetFilesAndDirectories(string prefix, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetFilesAndDirectoriesAsync(Azure.Storage.Files.Shares.Models.ShareDirectoryGetFilesAndDirectoriesOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectoryGetFilesAndDirectoriesOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetFilesAndDirectoriesAsync(string prefix, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetHandles(bool? recursive = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetHandlesAsync(bool? recursive = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Files.Shares.ShareDirectoryClient GetParentDirectoryClientCore() => throw null; + protected virtual Azure.Storage.Files.Shares.ShareClient GetParentShareClientCore() => throw null; + public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Files.Shares.ShareDirectoryClient GetSubdirectoryClient(string subdirectoryName) => throw null; + public virtual string Name { get => throw null; } + public virtual string Path { get => throw null; } + public virtual Azure.Response Rename(string destinationPath, Azure.Storage.Files.Shares.Models.ShareFileRenameOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileRenameOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RenameAsync(string destinationPath, Azure.Storage.Files.Shares.Models.ShareFileRenameOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileRenameOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetHttpHeaders(Azure.Storage.Files.Shares.Models.ShareDirectorySetHttpHeadersOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectorySetHttpHeadersOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetHttpHeaders(Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> SetHttpHeadersAsync(Azure.Storage.Files.Shares.Models.ShareDirectorySetHttpHeadersOptions options = default(Azure.Storage.Files.Shares.Models.ShareDirectorySetHttpHeadersOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetHttpHeadersAsync(Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual string ShareName { get => throw null; } + public virtual System.Uri Uri { get => throw null; } + public virtual Azure.Storage.Files.Shares.ShareDirectoryClient WithSnapshot(string snapshot) => throw null; + } + public class ShareFileClient + { + public virtual Azure.Response AbortCopy(string copyId, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response AbortCopy(string copyId, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AbortCopyAsync(string copyId, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task AbortCopyAsync(string copyId, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateSasUri { get => throw null; } + public virtual Azure.Response ClearRange(Azure.HttpRange range, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ClearRangeAsync(Azure.HttpRange range, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(long maxSize, Azure.Storage.Files.Shares.Models.ShareFileCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileCreateOptions), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(long maxSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Create(long maxSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(long maxSize, Azure.Storage.Files.Shares.Models.ShareFileCreateOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileCreateOptions), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(long maxSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> CreateAsync(long maxSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response CreateHardLink(string targetFile, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateHardLinkAsync(string targetFile, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected ShareFileClient() => throw null; + public ShareFileClient(string connectionString, string shareName, string filePath) => throw null; + public ShareFileClient(string connectionString, string shareName, string filePath, Azure.Storage.Files.Shares.ShareClientOptions options) => throw null; + public ShareFileClient(System.Uri fileUri, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareFileClient(System.Uri fileUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareFileClient(System.Uri fileUri, Azure.AzureSasCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareFileClient(System.Uri fileUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public virtual Azure.Response Delete(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Delete(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response DeleteIfExists(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Download(Azure.Storage.Files.Shares.Models.ShareFileDownloadOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileDownloadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Download(Azure.HttpRange range, bool rangeGetContentHash, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Download(Azure.HttpRange range, bool rangeGetContentHash, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadAsync(Azure.Storage.Files.Shares.Models.ShareFileDownloadOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileDownloadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DownloadAsync(Azure.HttpRange range, bool rangeGetContentHash, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadAsync(Azure.HttpRange range, bool rangeGetContentHash, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Exists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Files.Shares.Models.CloseHandlesResult ForceCloseAllHandles(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task ForceCloseAllHandlesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ForceCloseHandle(string handleId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ForceCloseHandleAsync(string handleId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareFileSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareFileSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareSasBuilder builder) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.ShareSasBuilder builder, out string stringToSign) => throw null; + protected static System.Threading.Tasks.Task GetCopyAuthorizationHeaderAsync(Azure.Storage.Files.Shares.ShareFileClient client, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Pageable GetHandles(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetHandlesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Files.Shares.ShareClient GetParentShareClientCore() => throw null; + protected virtual Azure.Storage.Files.Shares.ShareDirectoryClient GetParentShareDirectoryClientCore() => throw null; + public virtual Azure.Response GetProperties(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response GetRangeList(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetRangeList(Azure.HttpRange range, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetRangeList(Azure.HttpRange range, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> GetRangeListAsync(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetRangeListAsync(Azure.HttpRange range, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetRangeListAsync(Azure.HttpRange range, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response GetRangeListDiff(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetRangeListDiffAsync(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileGetRangeListDiffOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual string Name { get => throw null; } + public virtual System.IO.Stream OpenRead(Azure.Storage.Files.Shares.Models.ShareFileOpenReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenRead(long position = default(long), int? bufferSize = default(int?), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenRead(bool allowfileModifications, long position = default(long), int? bufferSize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(Azure.Storage.Files.Shares.Models.ShareFileOpenReadOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(long position = default(long), int? bufferSize = default(int?), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(bool allowfileModifications, long position = default(long), int? bufferSize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.IO.Stream OpenWrite(bool overwrite, long position, Azure.Storage.Files.Shares.Models.ShareFileOpenWriteOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool overwrite, long position, Azure.Storage.Files.Shares.Models.ShareFileOpenWriteOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileOpenWriteOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual string Path { get => throw null; } + public virtual Azure.Response Rename(string destinationPath, Azure.Storage.Files.Shares.Models.ShareFileRenameOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileRenameOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RenameAsync(string destinationPath, Azure.Storage.Files.Shares.Models.ShareFileRenameOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileRenameOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetHttpHeaders(Azure.Storage.Files.Shares.Models.ShareFileSetHttpHeadersOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileSetHttpHeadersOptions), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetHttpHeaders(long? newSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response SetHttpHeaders(long? newSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> SetHttpHeadersAsync(Azure.Storage.Files.Shares.Models.ShareFileSetHttpHeadersOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileSetHttpHeadersOptions), Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetHttpHeadersAsync(long? newSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> SetHttpHeadersAsync(long? newSize, Azure.Storage.Files.Shares.Models.ShareFileHttpHeaders httpHeaders, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions = default(Azure.Storage.Files.Shares.Models.ShareFileRequestConditions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string ShareName { get => throw null; } + public virtual Azure.Response StartCopy(System.Uri sourceUri, Azure.Storage.Files.Shares.Models.ShareFileCopyOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileCopyOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response StartCopy(System.Uri sourceUri, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, Azure.Storage.Files.Shares.Models.PermissionCopyMode? filePermissionCopyMode, bool? ignoreReadOnly, bool? setArchiveAttribute, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response StartCopy(System.Uri sourceUri, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> StartCopyAsync(System.Uri sourceUri, Azure.Storage.Files.Shares.Models.ShareFileCopyOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileCopyOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> StartCopyAsync(System.Uri sourceUri, System.Collections.Generic.IDictionary metadata, Azure.Storage.Files.Shares.Models.FileSmbProperties smbProperties, string filePermission, Azure.Storage.Files.Shares.Models.PermissionCopyMode? filePermissionCopyMode, bool? ignoreReadOnly, bool? setArchiveAttribute, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> StartCopyAsync(System.Uri sourceUri, System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Upload(System.IO.Stream stream, Azure.Storage.Files.Shares.Models.ShareFileUploadOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileUploadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, System.IProgress progressHandler, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Upload(System.IO.Stream content, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream stream, Azure.Storage.Files.Shares.Models.ShareFileUploadOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileUploadOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, System.IProgress progressHandler, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadAsync(System.IO.Stream content, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response UploadRange(Azure.HttpRange range, System.IO.Stream content, Azure.Storage.Files.Shares.Models.ShareFileUploadRangeOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileUploadRangeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UploadRange(Azure.HttpRange range, System.IO.Stream content, byte[] transactionalContentHash, System.IProgress progressHandler, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response UploadRange(Azure.Storage.Files.Shares.Models.ShareFileRangeWriteType writeType, Azure.HttpRange range, System.IO.Stream content, byte[] transactionalContentHash = default(byte[]), System.IProgress progressHandler = default(System.IProgress), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadRangeAsync(Azure.HttpRange range, System.IO.Stream content, Azure.Storage.Files.Shares.Models.ShareFileUploadRangeOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileUploadRangeOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadRangeAsync(Azure.HttpRange range, System.IO.Stream content, byte[] transactionalContentHash, System.IProgress progressHandler, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadRangeAsync(Azure.Storage.Files.Shares.Models.ShareFileRangeWriteType writeType, Azure.HttpRange range, System.IO.Stream content, byte[] transactionalContentHash = default(byte[]), System.IProgress progressHandler = default(System.IProgress), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UploadRangeFromUri(System.Uri sourceUri, Azure.HttpRange range, Azure.HttpRange sourceRange, Azure.Storage.Files.Shares.Models.ShareFileUploadRangeFromUriOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileUploadRangeFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UploadRangeFromUri(System.Uri sourceUri, Azure.HttpRange range, Azure.HttpRange sourceRange, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response UploadRangeFromUri(System.Uri sourceUri, Azure.HttpRange range, Azure.HttpRange sourceRange, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadRangeFromUriAsync(System.Uri sourceUri, Azure.HttpRange range, Azure.HttpRange sourceRange, Azure.Storage.Files.Shares.Models.ShareFileUploadRangeFromUriOptions options = default(Azure.Storage.Files.Shares.Models.ShareFileUploadRangeFromUriOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UploadRangeFromUriAsync(System.Uri sourceUri, Azure.HttpRange range, Azure.HttpRange sourceRange, Azure.Storage.Files.Shares.Models.ShareFileRequestConditions conditions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> UploadRangeFromUriAsync(System.Uri sourceUri, Azure.HttpRange range, Azure.HttpRange sourceRange, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Uri Uri { get => throw null; } + public virtual Azure.Storage.Files.Shares.ShareFileClient WithSnapshot(string shareSnapshot) => throw null; + } + public class ShareServiceClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateAccountSasUri { get => throw null; } + public virtual Azure.Response CreateShare(string shareName, Azure.Storage.Files.Shares.Models.ShareCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateShare(string shareName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? quotaInGB = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateShareAsync(string shareName, Azure.Storage.Files.Shares.Models.ShareCreateOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateShareAsync(string shareName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), int? quotaInGB = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected ShareServiceClient() => throw null; + public ShareServiceClient(string connectionString) => throw null; + public ShareServiceClient(string connectionString, Azure.Storage.Files.Shares.ShareClientOptions options) => throw null; + public ShareServiceClient(System.Uri serviceUri, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareServiceClient(System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareServiceClient(System.Uri serviceUri, Azure.AzureSasCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public ShareServiceClient(System.Uri serviceUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.Shares.ShareClientOptions options = default(Azure.Storage.Files.Shares.ShareClientOptions)) => throw null; + public virtual Azure.Response DeleteShare(string shareName, Azure.Storage.Files.Shares.Models.ShareDeleteOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteShare(string shareName, bool includeSnapshots = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteShareAsync(string shareName, Azure.Storage.Files.Shares.Models.ShareDeleteOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteShareAsync(string shareName, bool includeSnapshots = default(bool), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes, out string stringToSign) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasBuilder builder) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasBuilder builder, out string stringToSign) => throw null; + public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Files.Shares.ShareClient GetShareClient(string shareName) => throw null; + public virtual Azure.Pageable GetShares(Azure.Storage.Files.Shares.Models.ShareTraits traits = default(Azure.Storage.Files.Shares.Models.ShareTraits), Azure.Storage.Files.Shares.Models.ShareStates states = default(Azure.Storage.Files.Shares.Models.ShareStates), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetSharesAsync(Azure.Storage.Files.Shares.Models.ShareTraits traits = default(Azure.Storage.Files.Shares.Models.ShareTraits), Azure.Storage.Files.Shares.Models.ShareStates states = default(Azure.Storage.Files.Shares.Models.ShareStates), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetProperties(Azure.Storage.Files.Shares.Models.ShareServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task SetPropertiesAsync(Azure.Storage.Files.Shares.Models.ShareServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UndeleteShare(string deletedShareName, string deletedShareVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UndeleteShareAsync(string deletedShareName, string deletedShareVersion, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + } + public class ShareUriBuilder + { + public string AccountName { get => throw null; set { } } + public ShareUriBuilder(System.Uri uri) => throw null; + public string DirectoryOrFilePath { get => throw null; set { } } + public string Host { get => throw null; set { } } + public int Port { get => throw null; set { } } + public string Query { get => throw null; set { } } + public Azure.Storage.Sas.SasQueryParameters Sas { get => throw null; set { } } + public string Scheme { get => throw null; set { } } + public string ShareName { get => throw null; set { } } + public string Snapshot { get => throw null; set { } } + public override string ToString() => throw null; + public System.Uri ToUri() => throw null; + } + namespace Specialized + { + public class ShareLeaseClient + { + public virtual Azure.Response Acquire(System.TimeSpan? duration = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Acquire(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> AcquireAsync(System.TimeSpan? duration = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> AcquireAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response Break(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> BreakAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Change(string proposedId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ChangeAsync(string proposedId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected ShareLeaseClient() => throw null; + public ShareLeaseClient(Azure.Storage.Files.Shares.ShareFileClient client, string leaseId = default(string)) => throw null; + public ShareLeaseClient(Azure.Storage.Files.Shares.ShareClient client, string leaseId = default(string)) => throw null; + protected virtual Azure.Storage.Files.Shares.ShareFileClient FileClient { get => throw null; } + public static readonly System.TimeSpan InfiniteLeaseDuration; + public virtual string LeaseId { get => throw null; } + public virtual Azure.Response Release(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReleaseAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Renew(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> RenewAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Files.Shares.ShareClient ShareClient { get => throw null; } + public System.Uri Uri { get => throw null; } + } + public static partial class SpecializedFileExtensions + { + public static Azure.Storage.Files.Shares.Specialized.ShareLeaseClient GetShareLeaseClient(this Azure.Storage.Files.Shares.ShareFileClient client, string leaseId = default(string)) => throw null; + public static Azure.Storage.Files.Shares.Specialized.ShareLeaseClient GetShareLeaseClient(this Azure.Storage.Files.Shares.ShareClient client, string leaseId = default(string)) => throw null; + } + public static partial class SpecializedShareExtensions + { + public static Azure.Storage.Files.Shares.ShareDirectoryClient GetParentDirectoryClient(this Azure.Storage.Files.Shares.ShareDirectoryClient client) => throw null; + public static Azure.Storage.Files.Shares.ShareServiceClient GetParentServiceClient(this Azure.Storage.Files.Shares.ShareClient client) => throw null; + public static Azure.Storage.Files.Shares.ShareClient GetParentShareClient(this Azure.Storage.Files.Shares.ShareDirectoryClient client) => throw null; + public static Azure.Storage.Files.Shares.ShareClient GetParentShareClient(this Azure.Storage.Files.Shares.ShareFileClient client) => throw null; + public static Azure.Storage.Files.Shares.ShareDirectoryClient GetParentShareDirectoryClient(this Azure.Storage.Files.Shares.ShareFileClient client) => throw null; + } + } + } + } + namespace Sas + { + [System.Flags] + public enum ShareAccountSasPermissions + { + Read = 1, + Add = 2, + Create = 4, + Write = 8, + Delete = 16, + List = 32, + All = -1, + } + [System.Flags] + public enum ShareFileSasPermissions + { + Read = 1, + Create = 2, + Write = 4, + Delete = 8, + All = -1, + } + public class ShareSasBuilder + { + public string CacheControl { get => throw null; set { } } + public string ContentDisposition { get => throw null; set { } } + public string ContentEncoding { get => throw null; set { } } + public string ContentLanguage { get => throw null; set { } } + public string ContentType { get => throw null; set { } } + public ShareSasBuilder() => throw null; + public ShareSasBuilder(Azure.Storage.Sas.ShareFileSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public ShareSasBuilder(Azure.Storage.Sas.ShareSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public override bool Equals(object obj) => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; set { } } + public string FilePath { get => throw null; set { } } + public override int GetHashCode() => throw null; + public string Identifier { get => throw null; set { } } + public Azure.Storage.Sas.SasIPRange IPRange { get => throw null; set { } } + public string Permissions { get => throw null; } + public Azure.Storage.Sas.SasProtocol Protocol { get => throw null; set { } } + public string Resource { get => throw null; set { } } + public void SetPermissions(Azure.Storage.Sas.ShareFileSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.ShareAccountSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.ShareSasPermissions permissions) => throw null; + public void SetPermissions(string rawPermissions, bool normalize = default(bool)) => throw null; + public void SetPermissions(string rawPermissions) => throw null; + public string ShareName { get => throw null; set { } } + public System.DateTimeOffset StartsOn { get => throw null; set { } } + public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) => throw null; + public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, out string stringToSign) => throw null; + public override string ToString() => throw null; + public string Version { get => throw null; set { } } + } + [System.Flags] + public enum ShareSasPermissions + { + Read = 1, + Create = 2, + Write = 4, + Delete = 8, + List = 16, + All = -1, + } + } + } +} +// namespace Microsoft +// { +// namespace Extensions +// { +// namespace Azure +// { +// public static partial class ShareClientBuilderExtensions +// { +// public static Azure.Core.Extensions.IAzureClientBuilder AddFileServiceClient(this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddFileServiceClient(this TBuilder builder, System.Uri serviceUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddFileServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddFileServiceClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddFileServiceClientWithCredential(this TBuilder builder, System.Uri serviceUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddShareServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.Core.TokenCredential tokenCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddShareServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.AzureSasCredential sasCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// } +// } +// } +// } diff --git a/csharp/ql/test/resources/stubs/Azure.Storage.Queues/12.22.0/Azure.Storage.Queues.cs b/csharp/ql/test/resources/stubs/Azure.Storage.Queues/12.22.0/Azure.Storage.Queues.cs new file mode 100644 index 000000000000..a552a2bbf6f4 --- /dev/null +++ b/csharp/ql/test/resources/stubs/Azure.Storage.Queues/12.22.0/Azure.Storage.Queues.cs @@ -0,0 +1,485 @@ +// This file contains auto-generated code. +// Generated from `Azure.Storage.Queues, Version=12.22.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8`. +namespace Azure +{ + namespace Storage + { + namespace Queues + { + namespace Models + { + public class PeekedMessage + { + public System.BinaryData Body { get => throw null; } + public long DequeueCount { get => throw null; } + public System.DateTimeOffset? ExpiresOn { get => throw null; } + public System.DateTimeOffset? InsertedOn { get => throw null; } + public string MessageId { get => throw null; } + public string MessageText { get => throw null; } + } + public class QueueAccessPolicy + { + public QueueAccessPolicy() => throw null; + public System.DateTimeOffset? ExpiresOn { get => throw null; set { } } + public string Permissions { get => throw null; set { } } + public System.DateTimeOffset? StartsOn { get => throw null; set { } } + } + public class QueueAnalyticsLogging + { + public QueueAnalyticsLogging() => throw null; + public bool Delete { get => throw null; set { } } + public bool Read { get => throw null; set { } } + public Azure.Storage.Queues.Models.QueueRetentionPolicy RetentionPolicy { get => throw null; set { } } + public string Version { get => throw null; set { } } + public bool Write { get => throw null; set { } } + } + public struct QueueAudience : System.IEquatable + { + public static Azure.Storage.Queues.Models.QueueAudience CreateQueueServiceAccountAudience(string storageAccountName) => throw null; + public QueueAudience(string value) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Queues.Models.QueueAudience other) => throw null; + public override int GetHashCode() => throw null; + public static bool operator ==(Azure.Storage.Queues.Models.QueueAudience left, Azure.Storage.Queues.Models.QueueAudience right) => throw null; + public static implicit operator Azure.Storage.Queues.Models.QueueAudience(string value) => throw null; + public static bool operator !=(Azure.Storage.Queues.Models.QueueAudience left, Azure.Storage.Queues.Models.QueueAudience right) => throw null; + public static Azure.Storage.Queues.Models.QueueAudience PublicAudience { get => throw null; } + public override string ToString() => throw null; + } + public class QueueCorsRule + { + public string AllowedHeaders { get => throw null; set { } } + public string AllowedMethods { get => throw null; set { } } + public string AllowedOrigins { get => throw null; set { } } + public QueueCorsRule() => throw null; + public string ExposedHeaders { get => throw null; set { } } + public int MaxAgeInSeconds { get => throw null; set { } } + } + public struct QueueErrorCode : System.IEquatable + { + public static Azure.Storage.Queues.Models.QueueErrorCode AccountAlreadyExists { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AccountBeingCreated { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AccountIsDisabled { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AuthenticationFailed { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AuthorizationFailure { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AuthorizationPermissionMismatch { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AuthorizationProtocolMismatch { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AuthorizationResourceTypeMismatch { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AuthorizationServiceMismatch { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode AuthorizationSourceIPMismatch { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode ConditionHeadersNotSupported { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode ConditionNotMet { get => throw null; } + public QueueErrorCode(string value) => throw null; + public static Azure.Storage.Queues.Models.QueueErrorCode EmptyMetadataKey { get => throw null; } + public override bool Equals(object obj) => throw null; + public bool Equals(Azure.Storage.Queues.Models.QueueErrorCode other) => throw null; + public bool Equals(string value) => throw null; + public static Azure.Storage.Queues.Models.QueueErrorCode FeatureVersionMismatch { get => throw null; } + public override int GetHashCode() => throw null; + public static Azure.Storage.Queues.Models.QueueErrorCode InsufficientAccountPermissions { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InternalError { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidAuthenticationInfo { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidHeaderValue { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidHttpVerb { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidInput { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidMarker { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidMd5 { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidMetadata { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidQueryParameterValue { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidRange { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidResourceName { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidUri { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidXmlDocument { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode InvalidXmlNodeValue { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode Md5Mismatch { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode MessageNotFound { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode MessageTooLarge { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode MetadataTooLarge { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode MissingContentLengthHeader { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode MissingRequiredHeader { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode MissingRequiredQueryParameter { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode MissingRequiredXmlNode { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode MultipleConditionHeadersNotSupported { get => throw null; } + public static bool operator ==(Azure.Storage.Queues.Models.QueueErrorCode left, Azure.Storage.Queues.Models.QueueErrorCode right) => throw null; + public static bool operator ==(Azure.Storage.Queues.Models.QueueErrorCode code, string value) => throw null; + public static bool operator ==(string value, Azure.Storage.Queues.Models.QueueErrorCode code) => throw null; + public static implicit operator Azure.Storage.Queues.Models.QueueErrorCode(string value) => throw null; + public static bool operator !=(Azure.Storage.Queues.Models.QueueErrorCode left, Azure.Storage.Queues.Models.QueueErrorCode right) => throw null; + public static bool operator !=(Azure.Storage.Queues.Models.QueueErrorCode code, string value) => throw null; + public static bool operator !=(string value, Azure.Storage.Queues.Models.QueueErrorCode code) => throw null; + public static Azure.Storage.Queues.Models.QueueErrorCode OperationTimedOut { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode OutOfRangeInput { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode OutOfRangeQueryParameterValue { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode PopReceiptMismatch { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode QueueAlreadyExists { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode QueueBeingDeleted { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode QueueDisabled { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode QueueNotEmpty { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode QueueNotFound { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode RequestBodyTooLarge { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode RequestUrlFailedToParse { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode ResourceAlreadyExists { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode ResourceNotFound { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode ResourceTypeMismatch { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode ServerBusy { get => throw null; } + public override string ToString() => throw null; + public static Azure.Storage.Queues.Models.QueueErrorCode UnsupportedHeader { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode UnsupportedHttpVerb { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode UnsupportedQueryParameter { get => throw null; } + public static Azure.Storage.Queues.Models.QueueErrorCode UnsupportedXmlNode { get => throw null; } + } + public class QueueGeoReplication + { + public System.DateTimeOffset? LastSyncedOn { get => throw null; } + public Azure.Storage.Queues.Models.QueueGeoReplicationStatus Status { get => throw null; } + } + public enum QueueGeoReplicationStatus + { + Live = 0, + Bootstrap = 1, + Unavailable = 2, + } + public class QueueItem + { + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public string Name { get => throw null; } + } + public class QueueMessage + { + public System.BinaryData Body { get => throw null; } + public long DequeueCount { get => throw null; } + public System.DateTimeOffset? ExpiresOn { get => throw null; } + public System.DateTimeOffset? InsertedOn { get => throw null; } + public string MessageId { get => throw null; } + public string MessageText { get => throw null; } + public System.DateTimeOffset? NextVisibleOn { get => throw null; } + public string PopReceipt { get => throw null; } + public Azure.Storage.Queues.Models.QueueMessage Update(Azure.Storage.Queues.Models.UpdateReceipt updated) => throw null; + } + public class QueueMetrics + { + public QueueMetrics() => throw null; + public bool Enabled { get => throw null; set { } } + public bool? IncludeApis { get => throw null; set { } } + public Azure.Storage.Queues.Models.QueueRetentionPolicy RetentionPolicy { get => throw null; set { } } + public string Version { get => throw null; set { } } + } + public class QueueProperties + { + public int ApproximateMessagesCount { get => throw null; } + public QueueProperties() => throw null; + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + } + public class QueueRetentionPolicy + { + public QueueRetentionPolicy() => throw null; + public int? Days { get => throw null; set { } } + public bool Enabled { get => throw null; set { } } + } + public class QueueServiceProperties + { + public System.Collections.Generic.IList Cors { get => throw null; set { } } + public QueueServiceProperties() => throw null; + public Azure.Storage.Queues.Models.QueueMetrics HourMetrics { get => throw null; set { } } + public Azure.Storage.Queues.Models.QueueAnalyticsLogging Logging { get => throw null; set { } } + public Azure.Storage.Queues.Models.QueueMetrics MinuteMetrics { get => throw null; set { } } + } + public class QueueServiceStatistics + { + public Azure.Storage.Queues.Models.QueueGeoReplication GeoReplication { get => throw null; } + } + public class QueueSignedIdentifier + { + public Azure.Storage.Queues.Models.QueueAccessPolicy AccessPolicy { get => throw null; set { } } + public QueueSignedIdentifier() => throw null; + public string Id { get => throw null; set { } } + } + public static class QueuesModelFactory + { + public static Azure.Storage.Queues.Models.PeekedMessage PeekedMessage(string messageId, string messageText, long dequeueCount, System.DateTimeOffset? insertedOn = default(System.DateTimeOffset?), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Queues.Models.PeekedMessage PeekedMessage(string messageId, System.BinaryData message, long dequeueCount, System.DateTimeOffset? insertedOn = default(System.DateTimeOffset?), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Queues.Models.QueueGeoReplication QueueGeoReplication(Azure.Storage.Queues.Models.QueueGeoReplicationStatus status, System.DateTimeOffset? lastSyncedOn = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Queues.Models.QueueItem QueueItem(string name, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary)) => throw null; + public static Azure.Storage.Queues.Models.QueueMessage QueueMessage(string messageId, string popReceipt, string messageText, long dequeueCount, System.DateTimeOffset? nextVisibleOn = default(System.DateTimeOffset?), System.DateTimeOffset? insertedOn = default(System.DateTimeOffset?), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Queues.Models.QueueMessage QueueMessage(string messageId, string popReceipt, System.BinaryData body, long dequeueCount, System.DateTimeOffset? nextVisibleOn = default(System.DateTimeOffset?), System.DateTimeOffset? insertedOn = default(System.DateTimeOffset?), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?)) => throw null; + public static Azure.Storage.Queues.Models.QueueProperties QueueProperties(System.Collections.Generic.IDictionary metadata, int approximateMessagesCount) => throw null; + public static Azure.Storage.Queues.Models.QueueServiceStatistics QueueServiceStatistics(Azure.Storage.Queues.Models.QueueGeoReplication geoReplication = default(Azure.Storage.Queues.Models.QueueGeoReplication)) => throw null; + public static Azure.Storage.Queues.Models.SendReceipt SendReceipt(string messageId, System.DateTimeOffset insertionTime, System.DateTimeOffset expirationTime, string popReceipt, System.DateTimeOffset timeNextVisible) => throw null; + public static Azure.Storage.Queues.Models.UpdateReceipt UpdateReceipt(string popReceipt, System.DateTimeOffset nextVisibleOn) => throw null; + } + [System.Flags] + public enum QueueTraits + { + None = 0, + Metadata = 1, + } + public class SendReceipt + { + public System.DateTimeOffset ExpirationTime { get => throw null; } + public System.DateTimeOffset InsertionTime { get => throw null; } + public string MessageId { get => throw null; } + public string PopReceipt { get => throw null; } + public System.DateTimeOffset TimeNextVisible { get => throw null; } + } + public class UpdateReceipt + { + public System.DateTimeOffset NextVisibleOn { get => throw null; } + public string PopReceipt { get => throw null; } + } + } + public class QueueClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateSasUri { get => throw null; } + public virtual Azure.Response ClearMessages(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task ClearMessagesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Create(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response CreateIfNotExists(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task CreateIfNotExistsAsync(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected QueueClient() => throw null; + public QueueClient(string connectionString, string queueName) => throw null; + public QueueClient(string connectionString, string queueName, Azure.Storage.Queues.QueueClientOptions options) => throw null; + public QueueClient(System.Uri queueUri, Azure.Storage.Queues.QueueClientOptions options = default(Azure.Storage.Queues.QueueClientOptions)) => throw null; + public QueueClient(System.Uri queueUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Queues.QueueClientOptions options = default(Azure.Storage.Queues.QueueClientOptions)) => throw null; + public QueueClient(System.Uri queueUri, Azure.AzureSasCredential credential, Azure.Storage.Queues.QueueClientOptions options = default(Azure.Storage.Queues.QueueClientOptions)) => throw null; + public QueueClient(System.Uri queueUri, Azure.Core.TokenCredential credential, Azure.Storage.Queues.QueueClientOptions options = default(Azure.Storage.Queues.QueueClientOptions)) => throw null; + public virtual Azure.Response Delete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteIfExists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> DeleteIfExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response DeleteMessage(string messageId, string popReceipt, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteMessageAsync(string messageId, string popReceipt, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response Exists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn, out string stringToSign) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.QueueSasBuilder builder) => throw null; + public virtual System.Uri GenerateSasUri(Azure.Storage.Sas.QueueSasBuilder builder, out string stringToSign) => throw null; + public virtual Azure.Response> GetAccessPolicy(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task>> GetAccessPolicyAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected virtual Azure.Storage.Queues.QueueServiceClient GetParentQueueServiceClientCore() => throw null; + public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual int MaxPeekableMessages { get => throw null; } + public virtual int MessageMaxBytes { get => throw null; } + protected virtual System.Uri MessagesUri { get => throw null; } + public virtual string Name { get => throw null; } + protected virtual System.Threading.Tasks.Task OnMessageDecodingFailedAsync(Azure.Storage.Queues.Models.QueueMessage receivedMessage, Azure.Storage.Queues.Models.PeekedMessage peekedMessage, bool isRunningSynchronously, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Azure.Response PeekMessage(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> PeekMessageAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response PeekMessages(int? maxMessages = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> PeekMessagesAsync(int? maxMessages = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ReceiveMessage(System.TimeSpan? visibilityTimeout = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReceiveMessageAsync(System.TimeSpan? visibilityTimeout = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ReceiveMessages() => throw null; + public virtual Azure.Response ReceiveMessages(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response ReceiveMessages(int? maxMessages = default(int?), System.TimeSpan? visibilityTimeout = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReceiveMessagesAsync() => throw null; + public virtual System.Threading.Tasks.Task> ReceiveMessagesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> ReceiveMessagesAsync(int? maxMessages = default(int?), System.TimeSpan? visibilityTimeout = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SendMessage(string messageText) => throw null; + public virtual Azure.Response SendMessage(string messageText, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SendMessage(string messageText, System.TimeSpan? visibilityTimeout = default(System.TimeSpan?), System.TimeSpan? timeToLive = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SendMessage(System.BinaryData message, System.TimeSpan? visibilityTimeout = default(System.TimeSpan?), System.TimeSpan? timeToLive = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SendMessageAsync(string messageText) => throw null; + public virtual System.Threading.Tasks.Task> SendMessageAsync(string messageText, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SendMessageAsync(string messageText, System.TimeSpan? visibilityTimeout = default(System.TimeSpan?), System.TimeSpan? timeToLive = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> SendMessageAsync(System.BinaryData message, System.TimeSpan? visibilityTimeout = default(System.TimeSpan?), System.TimeSpan? timeToLive = default(System.TimeSpan?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetAccessPolicy(System.Collections.Generic.IEnumerable permissions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task SetAccessPolicyAsync(System.Collections.Generic.IEnumerable permissions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync(System.Collections.Generic.IDictionary metadata, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UpdateMessage(string messageId, string popReceipt, string messageText = default(string), System.TimeSpan visibilityTimeout = default(System.TimeSpan), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response UpdateMessage(string messageId, string popReceipt, System.BinaryData message, System.TimeSpan visibilityTimeout = default(System.TimeSpan), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UpdateMessageAsync(string messageId, string popReceipt, string messageText = default(string), System.TimeSpan visibilityTimeout = default(System.TimeSpan), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> UpdateMessageAsync(string messageId, string popReceipt, System.BinaryData message, System.TimeSpan visibilityTimeout = default(System.TimeSpan), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + protected virtual Azure.Storage.Queues.QueueClient WithClientSideEncryptionOptionsCore(Azure.Storage.ClientSideEncryptionOptions clientSideEncryptionOptions) => throw null; + } + public class QueueClientOptions : Azure.Core.ClientOptions + { + public Azure.Storage.Queues.Models.QueueAudience? Audience { get => throw null; set { } } + public QueueClientOptions(Azure.Storage.Queues.QueueClientOptions.ServiceVersion version = default(Azure.Storage.Queues.QueueClientOptions.ServiceVersion)) => throw null; + public bool EnableTenantDiscovery { get => throw null; set { } } + public System.Uri GeoRedundantSecondaryUri { get => throw null; set { } } + public event Azure.Core.SyncAsyncEventHandler MessageDecodingFailed; + public Azure.Storage.Queues.QueueMessageEncoding MessageEncoding { get => throw null; set { } } + public enum ServiceVersion + { + V2019_02_02 = 1, + V2019_07_07 = 2, + V2019_12_12 = 3, + V2020_02_10 = 4, + V2020_04_08 = 5, + V2020_06_12 = 6, + V2020_08_04 = 7, + V2020_10_02 = 8, + V2020_12_06 = 9, + V2021_02_12 = 10, + V2021_04_10 = 11, + V2021_06_08 = 12, + V2021_08_06 = 13, + V2021_10_04 = 14, + V2021_12_02 = 15, + V2022_11_02 = 16, + V2023_01_03 = 17, + V2023_05_03 = 18, + V2023_08_03 = 19, + V2023_11_03 = 20, + V2024_02_04 = 21, + V2024_05_04 = 22, + V2024_08_04 = 23, + V2024_11_04 = 24, + V2025_01_05 = 25, + V2025_05_05 = 26, + } + public Azure.Storage.Queues.QueueClientOptions.ServiceVersion Version { get => throw null; } + } + public class QueueMessageDecodingFailedEventArgs : Azure.SyncAsyncEventArgs + { + public QueueMessageDecodingFailedEventArgs(Azure.Storage.Queues.QueueClient queueClient, Azure.Storage.Queues.Models.QueueMessage receivedMessage, Azure.Storage.Queues.Models.PeekedMessage peekedMessage, bool isRunningSynchronously, System.Threading.CancellationToken cancellationToken) : base(default(bool), default(System.Threading.CancellationToken)) => throw null; + public Azure.Storage.Queues.Models.PeekedMessage PeekedMessage { get => throw null; } + public Azure.Storage.Queues.QueueClient Queue { get => throw null; } + public Azure.Storage.Queues.Models.QueueMessage ReceivedMessage { get => throw null; } + } + public enum QueueMessageEncoding + { + None = 0, + Base64 = 1, + } + public class QueueServiceClient + { + public virtual string AccountName { get => throw null; } + public virtual bool CanGenerateAccountSasUri { get => throw null; } + public virtual Azure.Response CreateQueue(string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> CreateQueueAsync(string queueName, System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + protected QueueServiceClient() => throw null; + public QueueServiceClient(string connectionString) => throw null; + public QueueServiceClient(string connectionString, Azure.Storage.Queues.QueueClientOptions options) => throw null; + public QueueServiceClient(System.Uri serviceUri, Azure.Storage.Queues.QueueClientOptions options = default(Azure.Storage.Queues.QueueClientOptions)) => throw null; + public QueueServiceClient(System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Queues.QueueClientOptions options = default(Azure.Storage.Queues.QueueClientOptions)) => throw null; + public QueueServiceClient(System.Uri serviceUri, Azure.AzureSasCredential credential, Azure.Storage.Queues.QueueClientOptions options = default(Azure.Storage.Queues.QueueClientOptions)) => throw null; + public QueueServiceClient(System.Uri serviceUri, Azure.Core.TokenCredential credential, Azure.Storage.Queues.QueueClientOptions options = default(Azure.Storage.Queues.QueueClientOptions)) => throw null; + public virtual Azure.Response DeleteQueue(string queueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task DeleteQueueAsync(string queueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasPermissions permissions, System.DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes, out string stringToSign) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasBuilder builder) => throw null; + public System.Uri GenerateAccountSasUri(Azure.Storage.Sas.AccountSasBuilder builder, out string stringToSign) => throw null; + public virtual Azure.Response GetProperties(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetPropertiesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Storage.Queues.QueueClient GetQueueClient(string queueName) => throw null; + public virtual Azure.Pageable GetQueues(Azure.Storage.Queues.Models.QueueTraits traits = default(Azure.Storage.Queues.Models.QueueTraits), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.AsyncPageable GetQueuesAsync(Azure.Storage.Queues.Models.QueueTraits traits = default(Azure.Storage.Queues.Models.QueueTraits), string prefix = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response GetStatistics(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task> GetStatisticsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Azure.Response SetProperties(Azure.Storage.Queues.Models.QueueServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Threading.Tasks.Task SetPropertiesAsync(Azure.Storage.Queues.Models.QueueServiceProperties properties, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual System.Uri Uri { get => throw null; } + } + public class QueueUriBuilder + { + public string AccountName { get => throw null; set { } } + public QueueUriBuilder(System.Uri uri) => throw null; + public string Host { get => throw null; set { } } + public string MessageId { get => throw null; set { } } + public bool Messages { get => throw null; set { } } + public int Port { get => throw null; set { } } + public string Query { get => throw null; set { } } + public string QueueName { get => throw null; set { } } + public Azure.Storage.Sas.SasQueryParameters Sas { get => throw null; set { } } + public string Scheme { get => throw null; set { } } + public override string ToString() => throw null; + public System.Uri ToUri() => throw null; + } + namespace Specialized + { + public class ClientSideDecryptionFailureEventArgs + { + public System.Exception Exception { get => throw null; } + } + public class QueueClientSideEncryptionOptions : Azure.Storage.ClientSideEncryptionOptions + { + public QueueClientSideEncryptionOptions(Azure.Storage.ClientSideEncryptionVersion version) : base(default(Azure.Storage.ClientSideEncryptionVersion)) => throw null; + public event System.EventHandler DecryptionFailed; + } + public class SpecializedQueueClientOptions : Azure.Storage.Queues.QueueClientOptions + { + public Azure.Storage.ClientSideEncryptionOptions ClientSideEncryption { get => throw null; set { } } + public SpecializedQueueClientOptions(Azure.Storage.Queues.QueueClientOptions.ServiceVersion version = default(Azure.Storage.Queues.QueueClientOptions.ServiceVersion)) : base(default(Azure.Storage.Queues.QueueClientOptions.ServiceVersion)) => throw null; + } + public static partial class SpecializedQueueExtensions + { + public static Azure.Storage.Queues.QueueServiceClient GetParentQueueServiceClient(this Azure.Storage.Queues.QueueClient client) => throw null; + public static Azure.Storage.Queues.QueueClient WithClientSideEncryptionOptions(this Azure.Storage.Queues.QueueClient client, Azure.Storage.ClientSideEncryptionOptions clientSideEncryptionOptions) => throw null; + } + } + } + namespace Sas + { + [System.Flags] + public enum QueueAccountSasPermissions + { + Read = 1, + Write = 2, + Delete = 4, + List = 8, + Add = 16, + Update = 32, + Process = 64, + All = -1, + } + public class QueueSasBuilder + { + public QueueSasBuilder() => throw null; + public QueueSasBuilder(Azure.Storage.Sas.QueueSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public QueueSasBuilder(Azure.Storage.Sas.QueueAccountSasPermissions permissions, System.DateTimeOffset expiresOn) => throw null; + public override bool Equals(object obj) => throw null; + public System.DateTimeOffset ExpiresOn { get => throw null; set { } } + public override int GetHashCode() => throw null; + public string Identifier { get => throw null; set { } } + public Azure.Storage.Sas.SasIPRange IPRange { get => throw null; set { } } + public string Permissions { get => throw null; } + public Azure.Storage.Sas.SasProtocol Protocol { get => throw null; set { } } + public string QueueName { get => throw null; set { } } + public void SetPermissions(Azure.Storage.Sas.QueueSasPermissions permissions) => throw null; + public void SetPermissions(Azure.Storage.Sas.QueueAccountSasPermissions permissions) => throw null; + public void SetPermissions(string rawPermissions, bool normalize = default(bool)) => throw null; + public void SetPermissions(string rawPermissions) => throw null; + public System.DateTimeOffset StartsOn { get => throw null; set { } } + public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) => throw null; + public Azure.Storage.Sas.SasQueryParameters ToSasQueryParameters(Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, out string stringToSign) => throw null; + public override string ToString() => throw null; + public string Version { get => throw null; set { } } + } + [System.Flags] + public enum QueueSasPermissions + { + Read = 1, + Add = 2, + Update = 4, + Process = 8, + All = -1, + } + } + } +} +// namespace Microsoft +// { +// namespace Extensions +// { +// namespace Azure +// { +// public static partial class QueueClientBuilderExtensions +// { +// public static Azure.Core.Extensions.IAzureClientBuilder AddQueueServiceClient(this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddQueueServiceClient(this TBuilder builder, System.Uri serviceUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddQueueServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddQueueServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.Core.TokenCredential tokenCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddQueueServiceClient(this TBuilder builder, System.Uri serviceUri, Azure.AzureSasCredential sasCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder => throw null; +// public static Azure.Core.Extensions.IAzureClientBuilder AddQueueServiceClient(this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration => throw null; +// } +// } +// } +// } diff --git a/csharp/ql/test/resources/stubs/Microsoft.Azure.Storage.Blobs/11.2.3/Microsoft.Azure.Storage.Blob.cs b/csharp/ql/test/resources/stubs/Microsoft.Azure.Storage.Blobs/11.2.3/Microsoft.Azure.Storage.Blob.cs new file mode 100644 index 000000000000..fdf238867d3a --- /dev/null +++ b/csharp/ql/test/resources/stubs/Microsoft.Azure.Storage.Blobs/11.2.3/Microsoft.Azure.Storage.Blob.cs @@ -0,0 +1,1710 @@ +// This file contains auto-generated code. +// Generated from `Microsoft.Azure.Storage.Blob, Version=11.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35`. +namespace Microsoft +{ + namespace Azure + { + namespace Storage + { + namespace Blob + { + public abstract class BatchOperation + { + protected BatchOperation() => throw null; + } + public static partial class BlobAccountExtensions + { + public static Microsoft.Azure.Storage.Blob.CloudBlobClient CreateCloudBlobClient(this Microsoft.Azure.Storage.CloudStorageAccount account) => throw null; + } + public class BlobBatchException : Microsoft.Azure.Storage.StorageException + { + public System.Collections.Generic.IList ErrorResponses { get => throw null; } + public System.Collections.Generic.IList SuccessfulResponses { get => throw null; } + } + public sealed class BlobBatchSubOperationError + { + public string ErrorCode { get => throw null; } + public Microsoft.Azure.Storage.StorageExtendedErrorInformation ExtendedErrorInformation { get => throw null; } + public int OperationIndex { get => throw null; } + public System.Net.HttpStatusCode StatusCode { get => throw null; } + } + public sealed class BlobBatchSubOperationResponse + { + public System.Collections.Generic.Dictionary Headers { get => throw null; } + public int OperationIndex { get => throw null; } + public System.Net.HttpStatusCode StatusCode { get => throw null; } + } + public class BlobContainerEncryptionScopeOptions + { + public BlobContainerEncryptionScopeOptions() => throw null; + public string DefaultEncryptionScope { get => throw null; set { } } + public bool PreventEncryptionScopeOverride { get => throw null; set { } } + } + public sealed class BlobContainerPermissions + { + public BlobContainerPermissions() => throw null; + public Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType PublicAccess { get => throw null; set { } } + public Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicies SharedAccessPolicies { get => throw null; } + } + public sealed class BlobContainerProperties + { + public BlobContainerProperties() => throw null; + public Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions EncryptionScopeOptions { get => throw null; } + public string ETag { get => throw null; } + public bool? HasImmutabilityPolicy { get => throw null; } + public bool? HasLegalHold { get => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; } + public Microsoft.Azure.Storage.Blob.LeaseDuration LeaseDuration { get => throw null; } + public Microsoft.Azure.Storage.Blob.LeaseState LeaseState { get => throw null; } + public Microsoft.Azure.Storage.Blob.LeaseStatus LeaseStatus { get => throw null; } + public Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType? PublicAccess { get => throw null; } + } + public enum BlobContainerPublicAccessType + { + Off = 0, + Container = 1, + Blob = 2, + Unknown = 3, + } + public sealed class BlobContinuationToken : Microsoft.Azure.Storage.IContinuationToken + { + public BlobContinuationToken() => throw null; + public System.Xml.Schema.XmlSchema GetSchema() => throw null; + public string NextMarker { get => throw null; set { } } + public System.Threading.Tasks.Task ReadXmlAsync(System.Xml.XmlReader reader) => throw null; + public Microsoft.Azure.Storage.StorageLocation? TargetLocation { get => throw null; set { } } + public void WriteXml(System.Xml.XmlWriter writer) => throw null; + } + public sealed class BlobCustomerProvidedKey + { + public BlobCustomerProvidedKey(string key) => throw null; + public BlobCustomerProvidedKey(byte[] key) => throw null; + public string EncryptionAlgorithm { get => throw null; } + public string Key { get => throw null; } + public string KeySHA256 { get => throw null; } + } + public sealed class BlobDeleteBatchOperation : Microsoft.Azure.Storage.Blob.BatchOperation + { + public void AddSubOperation(Microsoft.Azure.Storage.Blob.CloudBlob blob, Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption = default(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions blobRequestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions)) => throw null; + public BlobDeleteBatchOperation() => throw null; + } + // public sealed class BlobEncryptionPolicy + // { + // public BlobEncryptionPolicy(Microsoft.Azure.KeyVault.Core.IKey key, Microsoft.Azure.KeyVault.Core.IKeyResolver keyResolver) => throw null; + // public Microsoft.Azure.KeyVault.Core.IKey Key { get => throw null; } + // public Microsoft.Azure.KeyVault.Core.IKeyResolver KeyResolver { get => throw null; } + // } + [System.Flags] + public enum BlobListingDetails + { + None = 0, + Snapshots = 1, + Metadata = 2, + UncommittedBlobs = 4, + Copy = 8, + Deleted = 16, + All = 31, + } + public sealed class BlobProperties + { + public int? AppendBlobCommittedBlockCount { get => throw null; } + public bool? BlobTierInferred { get => throw null; } + public System.DateTimeOffset? BlobTierLastModifiedTime { get => throw null; } + public Microsoft.Azure.Storage.Blob.BlobType BlobType { get => throw null; } + public string CacheControl { get => throw null; set { } } + public string ContentDisposition { get => throw null; set { } } + public string ContentEncoding { get => throw null; set { } } + public string ContentLanguage { get => throw null; set { } } + public string ContentMD5 { get => throw null; set { } } + public string ContentType { get => throw null; set { } } + public System.DateTimeOffset? Created { get => throw null; } + public BlobProperties() => throw null; + public BlobProperties(Microsoft.Azure.Storage.Blob.BlobProperties other) => throw null; + public System.DateTimeOffset? DeletedTime { get => throw null; } + public string EncryptionScope { get => throw null; } + public string ETag { get => throw null; } + public bool IsIncrementalCopy { get => throw null; } + public bool IsServerEncrypted { get => throw null; } + public System.DateTimeOffset? LastModified { get => throw null; } + public Microsoft.Azure.Storage.Blob.LeaseDuration LeaseDuration { get => throw null; } + public Microsoft.Azure.Storage.Blob.LeaseState LeaseState { get => throw null; } + public Microsoft.Azure.Storage.Blob.LeaseStatus LeaseStatus { get => throw null; } + public long Length { get => throw null; } + public long? PageBlobSequenceNumber { get => throw null; } + public Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? PremiumPageBlobTier { get => throw null; } + public Microsoft.Azure.Storage.Blob.RehydrationStatus? RehydrationStatus { get => throw null; } + public int? RemainingDaysBeforePermanentDelete { get => throw null; } + public Microsoft.Azure.Storage.Blob.StandardBlobTier? StandardBlobTier { get => throw null; } + } + public sealed class BlobRequestOptions : Microsoft.Azure.Storage.IRequestOptions + { + public bool? AbsorbConditionalErrorsOnRetry { get => throw null; set { } } + public Microsoft.Azure.Storage.Shared.Protocol.ChecksumOptions ChecksumOptions { get => throw null; set { } } + public BlobRequestOptions() => throw null; + public Microsoft.Azure.Storage.Blob.BlobCustomerProvidedKey CustomerProvidedKey { get => throw null; set { } } + public bool? DisableContentMD5Validation { get => throw null; set { } } + // public Microsoft.Azure.Storage.Blob.BlobEncryptionPolicy EncryptionPolicy { get => throw null; set { } } + public string EncryptionScope { get => throw null; set { } } + public Microsoft.Azure.Storage.RetryPolicies.LocationMode? LocationMode { get => throw null; set { } } + public System.TimeSpan? MaximumExecutionTime { get => throw null; set { } } + public System.TimeSpan? NetworkTimeout { get => throw null; set { } } + public int? ParallelOperationThreadCount { get => throw null; set { } } + public bool? RequireEncryption { get => throw null; set { } } + public Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy RetryPolicy { get => throw null; set { } } + public System.TimeSpan? ServerTimeout { get => throw null; set { } } + public long? SingleBlobUploadThresholdInBytes { get => throw null; set { } } + public bool? StoreBlobContentMD5 { get => throw null; set { } } + public bool? UseTransactionalMD5 { get => throw null; set { } } + } + public class BlobResultSegment + { + public Microsoft.Azure.Storage.Blob.BlobContinuationToken ContinuationToken { get => throw null; } + public BlobResultSegment(System.Collections.Generic.IEnumerable blobs, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken) => throw null; + public System.Collections.Generic.IEnumerable Results { get => throw null; } + } + public sealed class BlobSetTierBatchOperation : Microsoft.Azure.Storage.Blob.BatchOperation + { + public void AddSubOperation(Microsoft.Azure.Storage.Blob.CloudBlockBlob blockBlob, Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions blobRequestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions)) => throw null; + public void AddSubOperation(Microsoft.Azure.Storage.Blob.CloudPageBlob pageBlob, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions blobRequestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions)) => throw null; + public BlobSetTierBatchOperation() => throw null; + } + public enum BlobType + { + Unspecified = 0, + PageBlob = 1, + BlockBlob = 2, + AppendBlob = 3, + } + public enum BlockListingFilter + { + Committed = 0, + Uncommitted = 1, + All = 2, + } + public enum BlockSearchMode + { + Committed = 0, + Uncommitted = 1, + Latest = 2, + } + public class CloudAppendBlob : Microsoft.Azure.Storage.Blob.CloudBlob, Microsoft.Azure.Storage.Blob.ICloudBlob, Microsoft.Azure.Storage.Blob.IListBlobItem + { + public virtual long AppendBlock(System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum = default(Microsoft.Azure.Storage.Shared.Protocol.Checksum), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual long AppendBlock(System.Uri sourceUri, long offset, long count, Microsoft.Azure.Storage.Shared.Protocol.Checksum sourceContentChecksum, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task AppendBlockAsync(System.IO.Stream blockData, string contentMD5 = default(string)) => throw null; + public virtual System.Threading.Tasks.Task AppendBlockAsync(System.IO.Stream blockData, string contentMD5, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendBlockAsync(System.IO.Stream blockData, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AppendBlockAsync(System.IO.Stream blockData, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendBlockAsync(System.IO.Stream blockData, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendBlockAsync(System.Uri sourceUri, long offset, long count, string sourceContentMd5, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void AppendFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync(byte[] buffer, int index, int count) => throw null; + public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync(byte[] buffer, int index, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void AppendFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task AppendFromFileAsync(string path) => throw null; + public virtual System.Threading.Tasks.Task AppendFromFileAsync(string path, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AppendFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void AppendFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void AppendFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, long length) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, long length, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void AppendText(string content, System.Text.Encoding encoding = default(System.Text.Encoding), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task AppendTextAsync(string content) => throw null; + public virtual System.Threading.Tasks.Task AppendTextAsync(string content, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AppendTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AppendTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendBlock(System.IO.Stream blockData, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendBlock(System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendBlock(System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendBlock(System.Uri sourceUri, long offset, long count, Microsoft.Azure.Storage.Shared.Protocol.Checksum sourceContentChecksum, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromByteArray(byte[] buffer, int index, int count, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromFile(string path, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromStream(System.IO.Stream source, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromStream(System.IO.Stream source, long length, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendText(string content, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAppendText(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateOrReplace(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateOrReplace(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateSnapshot(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateSnapshot(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadText(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadText(System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenWrite(bool createNew, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenWrite(bool createNew, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(Microsoft.Azure.Storage.Blob.CloudAppendBlob source, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(Microsoft.Azure.Storage.Blob.CloudAppendBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadText(string content, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadText(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual void CreateOrReplace(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task CreateOrReplaceAsync() => throw null; + public virtual System.Threading.Tasks.Task CreateOrReplaceAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateOrReplaceAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateOrReplaceAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudAppendBlob CreateSnapshot(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync() => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public CloudAppendBlob(System.Uri blobAbsoluteUri) : base(default(System.Uri)) => throw null; + public CloudAppendBlob(System.Uri blobAbsoluteUri, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudAppendBlob(System.Uri blobAbsoluteUri, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public CloudAppendBlob(System.Uri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudAppendBlob(System.Uri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public CloudAppendBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudAppendBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public virtual string DownloadText(System.Text.Encoding encoding = default(System.Text.Encoding), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync() => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync(System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync(System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync(System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual long EndAppendBlock(System.IAsyncResult asyncResult) => throw null; + public virtual void EndAppendFromByteArray(System.IAsyncResult asyncResult) => throw null; + public virtual void EndAppendFromFile(System.IAsyncResult asyncResult) => throw null; + public virtual void EndAppendFromStream(System.IAsyncResult asyncResult) => throw null; + public virtual void EndAppendText(System.IAsyncResult asyncResult) => throw null; + public virtual void EndCreateOrReplace(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudAppendBlob EndCreateSnapshot(System.IAsyncResult asyncResult) => throw null; + public virtual string EndDownloadText(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobStream EndOpenWrite(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromByteArray(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromFile(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromStream(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadText(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobStream OpenWrite(bool createNew, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool createNew) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool createNew, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool createNew, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(bool createNew, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string StartCopy(Microsoft.Azure.Storage.Blob.CloudAppendBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudAppendBlob source) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudAppendBlob source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudAppendBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudAppendBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public int StreamWriteSizeInBytes { get => throw null; set { } } + public virtual void UploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void UploadFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void UploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void UploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public System.Threading.Tasks.Task UploadFromStreamAsyncHelper(System.IO.Stream source, long? length, bool createNew, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void UploadText(string content, System.Text.Encoding encoding = default(System.Text.Encoding), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + } + public class CloudBlob : Microsoft.Azure.Storage.Blob.IListBlobItem + { + public virtual void AbortCopy(string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task AbortCopyAsync(string copyId) => throw null; + public virtual System.Threading.Tasks.Task AbortCopyAsync(string copyId, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AbortCopyAsync(string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AbortCopyAsync(string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string AcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId = default(string)) => throw null; + public virtual System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAbortCopy(string copyId, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAbortCopy(string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginBreakLease(System.TimeSpan? breakPeriod, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginBreakLease(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDelete(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDelete(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadRangeToByteArray(byte[] target, int index, long? blobOffset, long? length, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadRangeToByteArray(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadRangeToStream(System.IO.Stream target, long? offset, long? length, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadRangeToStream(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToByteArray(byte[] target, int index, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToByteArray(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToFile(string path, System.IO.FileMode mode, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToFile(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToStream(System.IO.Stream target, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToStream(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginExists(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginExists(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginFetchAttributes(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginFetchAttributes(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetAccountProperties(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetAccountProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenRead(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenRead(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginRenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginRenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginRotateEncryptionKey(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginRotateEncryptionKey(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetMetadata(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetMetadata(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetProperties(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetProperties(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSnapshot(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSnapshot(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(System.Uri source, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(System.Uri source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUndelete(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUndelete(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public Microsoft.Azure.Storage.Blob.BlobType BlobType { get => throw null; } + public virtual System.TimeSpan BreakLease(System.TimeSpan? breakPeriod = default(System.TimeSpan?), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod) => throw null; + public virtual System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string ChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition) => throw null; + public virtual System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.Blob.CloudBlobContainer Container { get => throw null; } + public virtual Microsoft.Azure.Storage.Blob.CopyState CopyState { get => throw null; } + public CloudBlob(System.Uri blobAbsoluteUri) => throw null; + public CloudBlob(System.Uri blobAbsoluteUri, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) => throw null; + public CloudBlob(System.Uri blobAbsoluteUri, Microsoft.Azure.Storage.Blob.CloudBlobClient client) => throw null; + public CloudBlob(System.Uri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) => throw null; + public CloudBlob(System.Uri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client) => throw null; + public CloudBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) => throw null; + public CloudBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client) => throw null; + public virtual void Delete(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption = default(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync() => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual bool DeleteIfExists(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption = default(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DeleteIfExistsAsync() => throw null; + public virtual System.Threading.Tasks.Task DeleteIfExistsAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DeleteIfExistsAsync(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DeleteIfExistsAsync(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual int DownloadRangeToByteArray(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void DownloadRangeToStream(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual int DownloadToByteArray(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index) => throw null; + public virtual System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void DownloadToFile(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode) => throw null; + public virtual System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToFileParallelAsync(string path, System.IO.FileMode mode, int parallelIOCount, long? rangeSizeInBytes) => throw null; + public virtual System.Threading.Tasks.Task DownloadToFileParallelAsync(string path, System.IO.FileMode mode, int parallelIOCount, long? rangeSizeInBytes, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToFileParallelAsync(string path, System.IO.FileMode mode, int parallelIOCount, long? rangeSizeInBytes, long offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void DownloadToStream(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target) => throw null; + public virtual System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void EndAbortCopy(System.IAsyncResult asyncResult) => throw null; + public virtual string EndAcquireLease(System.IAsyncResult asyncResult) => throw null; + public virtual System.TimeSpan EndBreakLease(System.IAsyncResult asyncResult) => throw null; + public virtual string EndChangeLease(System.IAsyncResult asyncResult) => throw null; + public virtual void EndDelete(System.IAsyncResult asyncResult) => throw null; + public virtual bool EndDeleteIfExists(System.IAsyncResult asyncResult) => throw null; + public virtual int EndDownloadRangeToByteArray(System.IAsyncResult asyncResult) => throw null; + public virtual void EndDownloadRangeToStream(System.IAsyncResult asyncResult) => throw null; + public virtual int EndDownloadToByteArray(System.IAsyncResult asyncResult) => throw null; + public virtual void EndDownloadToFile(System.IAsyncResult asyncResult) => throw null; + public virtual void EndDownloadToStream(System.IAsyncResult asyncResult) => throw null; + public virtual bool EndExists(System.IAsyncResult asyncResult) => throw null; + public virtual void EndFetchAttributes(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.AccountProperties EndGetAccountProperties(System.IAsyncResult asyncResult) => throw null; + public virtual System.IO.Stream EndOpenRead(System.IAsyncResult asyncResult) => throw null; + public virtual void EndReleaseLease(System.IAsyncResult asyncResult) => throw null; + public virtual void EndRenewLease(System.IAsyncResult asyncResult) => throw null; + public virtual void EndRotateEncryptionKey(System.IAsyncResult asyncResult) => throw null; + public virtual void EndSetMetadata(System.IAsyncResult asyncResult) => throw null; + public virtual void EndSetProperties(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlob EndSnapshot(System.IAsyncResult asyncResult) => throw null; + public virtual string EndStartCopy(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUndelete(System.IAsyncResult asyncResult) => throw null; + public virtual bool Exists(Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync() => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync(bool primaryOnly, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void FetchAttributes(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task FetchAttributesAsync() => throw null; + public virtual System.Threading.Tasks.Task FetchAttributesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task FetchAttributesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task FetchAttributesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.AccountProperties GetAccountProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync() => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy) => throw null; + public string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, string groupPolicyIdentifier) => throw null; + public string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers) => throw null; + public string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers, string groupPolicyIdentifier) => throw null; + public string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers, string groupPolicyIdentifier, Microsoft.Azure.Storage.SharedAccessProtocol? protocols, Microsoft.Azure.Storage.IPAddressOrRange ipAddressOrRange) => throw null; + public string GetUserDelegationSharedAccessSignature(Microsoft.Azure.Storage.UserDelegationKey delegationKey, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers = default(Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders), Microsoft.Azure.Storage.SharedAccessProtocol? protocols = default(Microsoft.Azure.Storage.SharedAccessProtocol?), Microsoft.Azure.Storage.IPAddressOrRange ipAddressOrRange = default(Microsoft.Azure.Storage.IPAddressOrRange)) => throw null; + public bool IsDeleted { get => throw null; } + public bool IsSnapshot { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public virtual string Name { get => throw null; } + public virtual System.IO.Stream OpenRead(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync() => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task OpenReadAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.Blob.CloudBlobDirectory Parent { get => throw null; } + public Microsoft.Azure.Storage.Blob.BlobProperties Properties { get => throw null; } + public virtual void ReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition) => throw null; + public virtual System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void RenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition) => throw null; + public virtual System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void RotateEncryptionKey(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task RotateEncryptionKeyAsync() => throw null; + public virtual System.Threading.Tasks.Task RotateEncryptionKeyAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task RotateEncryptionKeyAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task RotateEncryptionKeyAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.Blob.CloudBlobClient ServiceClient { get => throw null; } + public virtual void SetMetadata(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync() => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void SetProperties(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SetPropertiesAsync() => throw null; + public virtual System.Threading.Tasks.Task SetPropertiesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SetPropertiesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SetPropertiesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlob Snapshot(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SnapshotAsync() => throw null; + public virtual System.Threading.Tasks.Task SnapshotAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SnapshotAsync(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SnapshotAsync(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.StorageUri SnapshotQualifiedStorageUri { get => throw null; } + public System.Uri SnapshotQualifiedUri { get => throw null; } + public System.DateTimeOffset? SnapshotTime { get => throw null; } + public virtual string StartCopy(System.Uri source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(System.Uri source) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(System.Uri source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(System.Uri source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(System.Uri source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(System.Uri source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(System.Uri source, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlockBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.StorageUri StorageUri { get => throw null; } + public int StreamMinimumReadSizeInBytes { get => throw null; set { } } + public virtual void Undelete(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UndeleteAsync() => throw null; + public virtual System.Threading.Tasks.Task UndeleteAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UndeleteAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UndeleteAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public System.Uri Uri { get => throw null; } + } + public class CloudBlobClient + { + public Microsoft.Azure.Storage.AuthenticationScheme AuthenticationScheme { get => throw null; set { } } + public System.Uri BaseUri { get => throw null; } + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetAccountProperties(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetAccountProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetBlobReferenceFromServer(System.Uri blobUri, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetBlobReferenceFromServer(System.Uri blobUri, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetBlobReferenceFromServer(Microsoft.Azure.Storage.StorageUri blobUri, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetServiceProperties(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetServiceProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetServiceStats(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetServiceStats(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetUserDelegationKey(System.DateTimeOffset keyStart, System.DateTimeOffset keyEnd, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetUserDelegationKey(System.DateTimeOffset keyStart, System.DateTimeOffset keyEnd, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListBlobsSegmented(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListBlobsSegmented(string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListContainersSegmented(Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListContainersSegmented(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListContainersSegmented(string prefix, Microsoft.Azure.Storage.Blob.ContainerListingDetails detailsIncluded, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetServiceProperties(Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetServiceProperties(Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public Microsoft.Azure.Storage.IBufferManager BufferManager { get => throw null; set { } } + public Microsoft.Azure.Storage.Auth.StorageCredentials Credentials { get => throw null; } + public CloudBlobClient(System.Uri baseUri, System.Net.Http.DelegatingHandler delegatingHandler = default(System.Net.Http.DelegatingHandler)) => throw null; + public CloudBlobClient(System.Uri baseUri, Microsoft.Azure.Storage.Auth.StorageCredentials credentials, System.Net.Http.DelegatingHandler delegatingHandler = default(System.Net.Http.DelegatingHandler)) => throw null; + public CloudBlobClient(Microsoft.Azure.Storage.StorageUri storageUri, Microsoft.Azure.Storage.Auth.StorageCredentials credentials, System.Net.Http.DelegatingHandler delegatingHandler = default(System.Net.Http.DelegatingHandler)) => throw null; + public string DefaultDelimiter { get => throw null; set { } } + public Microsoft.Azure.Storage.Blob.BlobRequestOptions DefaultRequestOptions { get => throw null; set { } } + public virtual Microsoft.Azure.Storage.Shared.Protocol.AccountProperties EndGetAccountProperties(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ICloudBlob EndGetBlobReferenceFromServer(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties EndGetServiceProperties(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.ServiceStats EndGetServiceStats(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.UserDelegationKey EndGetUserDelegationKey(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment EndListBlobsSegmented(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ContainerResultSegment EndListContainersSegmented(System.IAsyncResult asyncResult) => throw null; + public virtual void EndSetServiceProperties(System.IAsyncResult asyncResult) => throw null; + public System.Threading.Tasks.Task> ExecuteBatchAsync(Microsoft.Azure.Storage.Blob.BatchOperation batchOperation, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.AccountProperties GetAccountProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync() => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ICloudBlob GetBlobReferenceFromServer(System.Uri blobUri, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ICloudBlob GetBlobReferenceFromServer(Microsoft.Azure.Storage.StorageUri blobUri, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(System.Uri blobUri) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(System.Uri blobUri, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(System.Uri blobUri, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(System.Uri blobUri, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(Microsoft.Azure.Storage.StorageUri blobUri, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(Microsoft.Azure.Storage.StorageUri blobUri, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobContainer GetContainerReference(string containerName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobContainer GetRootContainerReference() => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties GetServiceProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetServicePropertiesAsync() => throw null; + public virtual System.Threading.Tasks.Task GetServicePropertiesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetServicePropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetServicePropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.ServiceStats GetServiceStats(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetServiceStatsAsync() => throw null; + public virtual System.Threading.Tasks.Task GetServiceStatsAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetServiceStatsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetServiceStatsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.UserDelegationKey GetUserDelegationKey(System.DateTimeOffset keyStart, System.DateTimeOffset keyEnd, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetUserDelegationKeyAsync(System.DateTimeOffset keyStart, System.DateTimeOffset keyEnd) => throw null; + public virtual System.Threading.Tasks.Task GetUserDelegationKeyAsync(System.DateTimeOffset keyStart, System.DateTimeOffset keyEnd, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Collections.Generic.IEnumerable ListBlobs(string prefix, bool useFlatBlobListing = default(bool), Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails = default(Microsoft.Azure.Storage.Blob.BlobListingDetails), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment ListBlobsSegmented(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment ListBlobsSegmented(string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Collections.Generic.IEnumerable ListContainers(string prefix = default(string), Microsoft.Azure.Storage.Blob.ContainerListingDetails detailsIncluded = default(Microsoft.Azure.Storage.Blob.ContainerListingDetails), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ContainerResultSegment ListContainersSegmented(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ContainerResultSegment ListContainersSegmented(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ContainerResultSegment ListContainersSegmented(string prefix, Microsoft.Azure.Storage.Blob.ContainerListingDetails detailsIncluded, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ListContainersSegmentedAsync(Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken) => throw null; + public virtual System.Threading.Tasks.Task ListContainersSegmentedAsync(Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ListContainersSegmentedAsync(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken) => throw null; + public virtual System.Threading.Tasks.Task ListContainersSegmentedAsync(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ListContainersSegmentedAsync(string prefix, Microsoft.Azure.Storage.Blob.ContainerListingDetails detailsIncluded, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ListContainersSegmentedAsync(string prefix, Microsoft.Azure.Storage.Blob.ContainerListingDetails detailsIncluded, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy RetryPolicy { get => throw null; set { } } + public virtual void SetServiceProperties(Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SetServicePropertiesAsync(Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties) => throw null; + public virtual System.Threading.Tasks.Task SetServicePropertiesAsync(Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SetServicePropertiesAsync(Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SetServicePropertiesAsync(Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.StorageUri StorageUri { get => throw null; } + } + public class CloudBlobContainer + { + public virtual string AcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId = default(string)) => throw null; + public virtual System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginBreakLease(System.TimeSpan? breakPeriod, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginBreakLease(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDelete(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDelete(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginExists(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginExists(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginFetchAttributes(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginFetchAttributes(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetAccountProperties(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetAccountProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetBlobReferenceFromServer(string blobName, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetBlobReferenceFromServer(string blobName, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetPermissions(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetPermissions(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListBlobsSegmented(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListBlobsSegmented(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListBlobsSegmented(string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginRenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginRenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetMetadata(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetMetadata(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetPermissions(Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetPermissions(Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual System.TimeSpan BreakLease(System.TimeSpan? breakPeriod = default(System.TimeSpan?), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod) => throw null; + public virtual System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string ChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition) => throw null; + public virtual System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void Create(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void Create(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void Create(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync() => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual bool CreateIfNotExists(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual bool CreateIfNotExists(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual bool CreateIfNotExists(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task CreateIfNotExistsAsync() => throw null; + public virtual System.Threading.Tasks.Task CreateIfNotExistsAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateIfNotExistsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateIfNotExistsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateIfNotExistsAsync(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateIfNotExistsAsync(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateIfNotExistsAsync(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public CloudBlobContainer(System.Uri containerAddress) => throw null; + public CloudBlobContainer(System.Uri containerAddress, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) => throw null; + public CloudBlobContainer(Microsoft.Azure.Storage.StorageUri containerAddress, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) => throw null; + public virtual void Delete(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync() => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DeleteAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual bool DeleteIfExists(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DeleteIfExistsAsync() => throw null; + public virtual System.Threading.Tasks.Task DeleteIfExistsAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DeleteIfExistsAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DeleteIfExistsAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string EndAcquireLease(System.IAsyncResult asyncResult) => throw null; + public virtual System.TimeSpan EndBreakLease(System.IAsyncResult asyncResult) => throw null; + public virtual string EndChangeLease(System.IAsyncResult asyncResult) => throw null; + public virtual void EndCreate(System.IAsyncResult asyncResult) => throw null; + public virtual bool EndCreateIfNotExists(System.IAsyncResult asyncResult) => throw null; + public virtual void EndDelete(System.IAsyncResult asyncResult) => throw null; + public virtual bool EndDeleteIfExists(System.IAsyncResult asyncResult) => throw null; + public virtual bool EndExists(System.IAsyncResult asyncResult) => throw null; + public virtual void EndFetchAttributes(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.AccountProperties EndGetAccountProperties(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ICloudBlob EndGetBlobReferenceFromServer(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobContainerPermissions EndGetPermissions(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment EndListBlobsSegmented(System.IAsyncResult asyncResult) => throw null; + public virtual void EndReleaseLease(System.IAsyncResult asyncResult) => throw null; + public virtual void EndRenewLease(System.IAsyncResult asyncResult) => throw null; + public virtual void EndSetMetadata(System.IAsyncResult asyncResult) => throw null; + public virtual void EndSetPermissions(System.IAsyncResult asyncResult) => throw null; + public virtual bool Exists(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync() => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ExistsAsync(bool primaryOnly, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void FetchAttributes(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task FetchAttributesAsync() => throw null; + public virtual System.Threading.Tasks.Task FetchAttributesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task FetchAttributesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task FetchAttributesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Shared.Protocol.AccountProperties GetAccountProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync() => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetAccountPropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudAppendBlob GetAppendBlobReference(string blobName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudAppendBlob GetAppendBlobReference(string blobName, System.DateTimeOffset? snapshotTime) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlob GetBlobReference(string blobName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlob GetBlobReference(string blobName, System.DateTimeOffset? snapshotTime) => throw null; + public virtual Microsoft.Azure.Storage.Blob.ICloudBlob GetBlobReferenceFromServer(string blobName, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(string blobName) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(string blobName, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(string blobName, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetBlobReferenceFromServerAsync(string blobName, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlockBlob GetBlockBlobReference(string blobName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlockBlob GetBlockBlobReference(string blobName, System.DateTimeOffset? snapshotTime) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobDirectory GetDirectoryReference(string relativeAddress) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudPageBlob GetPageBlobReference(string blobName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudPageBlob GetPageBlobReference(string blobName, System.DateTimeOffset? snapshotTime) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobContainerPermissions GetPermissions(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task GetPermissionsAsync() => throw null; + public virtual System.Threading.Tasks.Task GetPermissionsAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task GetPermissionsAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task GetPermissionsAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy) => throw null; + public string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, string groupPolicyIdentifier) => throw null; + public string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, string groupPolicyIdentifier, Microsoft.Azure.Storage.SharedAccessProtocol? protocols, Microsoft.Azure.Storage.IPAddressOrRange ipAddressOrRange) => throw null; + public string GetUserDelegationSharedAccessSignature(Microsoft.Azure.Storage.UserDelegationKey delegationKey, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers = default(Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders), Microsoft.Azure.Storage.SharedAccessProtocol? protocols = default(Microsoft.Azure.Storage.SharedAccessProtocol?), Microsoft.Azure.Storage.IPAddressOrRange ipAddressOrRange = default(Microsoft.Azure.Storage.IPAddressOrRange)) => throw null; + public virtual System.Collections.Generic.IEnumerable ListBlobs(string prefix = default(string), bool useFlatBlobListing = default(bool), Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails = default(Microsoft.Azure.Storage.Blob.BlobListingDetails), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment ListBlobsSegmented(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment ListBlobsSegmented(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment ListBlobsSegmented(string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(string prefix, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public string Name { get => throw null; } + public Microsoft.Azure.Storage.Blob.BlobContainerProperties Properties { get => throw null; } + public virtual void ReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition) => throw null; + public virtual System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void RenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition) => throw null; + public virtual System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.Blob.CloudBlobClient ServiceClient { get => throw null; } + public virtual void SetMetadata(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync() => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SetMetadataAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void SetPermissions(Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SetPermissionsAsync(Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions) => throw null; + public virtual System.Threading.Tasks.Task SetPermissionsAsync(Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SetPermissionsAsync(Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SetPermissionsAsync(Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.StorageUri StorageUri { get => throw null; } + public System.Uri Uri { get => throw null; } + } + public class CloudBlobDirectory : Microsoft.Azure.Storage.Blob.IListBlobItem + { + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListBlobsSegmented(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginListBlobsSegmented(bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public Microsoft.Azure.Storage.Blob.CloudBlobContainer Container { get => throw null; } + public CloudBlobDirectory() => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment EndListBlobsSegmented(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudAppendBlob GetAppendBlobReference(string blobName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudAppendBlob GetAppendBlobReference(string blobName, System.DateTimeOffset? snapshotTime) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlob GetBlobReference(string blobName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlob GetBlobReference(string blobName, System.DateTimeOffset? snapshotTime) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlockBlob GetBlockBlobReference(string blobName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlockBlob GetBlockBlobReference(string blobName, System.DateTimeOffset? snapshotTime) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobDirectory GetDirectoryReference(string itemName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudPageBlob GetPageBlobReference(string blobName) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudPageBlob GetPageBlobReference(string blobName, System.DateTimeOffset? snapshotTime) => throw null; + public virtual System.Collections.Generic.IEnumerable ListBlobs(bool useFlatBlobListing = default(bool), Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails = default(Microsoft.Azure.Storage.Blob.BlobListingDetails), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment ListBlobsSegmented(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.BlobResultSegment ListBlobsSegmented(bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ListBlobsSegmentedAsync(bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, int? maxResults, Microsoft.Azure.Storage.Blob.BlobContinuationToken currentToken, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public Microsoft.Azure.Storage.Blob.CloudBlobDirectory Parent { get => throw null; } + public string Prefix { get => throw null; } + public Microsoft.Azure.Storage.Blob.CloudBlobClient ServiceClient { get => throw null; } + public Microsoft.Azure.Storage.StorageUri StorageUri { get => throw null; } + public System.Uri Uri { get => throw null; } + } + public abstract class CloudBlobStream : System.IO.Stream + { + public abstract Microsoft.Azure.Storage.ICancellableAsyncResult BeginCommit(System.AsyncCallback callback, object state); + public abstract Microsoft.Azure.Storage.ICancellableAsyncResult BeginFlush(System.AsyncCallback callback, object state); + public abstract void Commit(); + public abstract System.Threading.Tasks.Task CommitAsync(); + protected CloudBlobStream() => throw null; + public abstract void EndCommit(System.IAsyncResult asyncResult); + public abstract void EndFlush(System.IAsyncResult asyncResult); + } + public class CloudBlockBlob : Microsoft.Azure.Storage.Blob.CloudBlob, Microsoft.Azure.Storage.Blob.ICloudBlob, Microsoft.Azure.Storage.Blob.IListBlobItem + { + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateSnapshot(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateSnapshot(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadBlockList(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadBlockList(Microsoft.Azure.Storage.Blob.BlockListingFilter blockListingFilter, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadText(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadText(System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenWrite(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenWrite(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginPutBlock(string blockId, System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginPutBlock(string blockId, System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginPutBlock(string blockId, System.Uri sourceUri, long? offset, long? count, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginPutBlockList(System.Collections.Generic.IEnumerable blockList, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginPutBlockList(System.Collections.Generic.IEnumerable blockList, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetStandardBlobTier(Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetStandardBlobTier(Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlockBlobTier, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadText(string content, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadText(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlockBlob CreateSnapshot(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync() => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public CloudBlockBlob(System.Uri blobAbsoluteUri) : base(default(System.Uri)) => throw null; + public CloudBlockBlob(System.Uri blobAbsoluteUri, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudBlockBlob(System.Uri blobAbsoluteUri, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public CloudBlockBlob(System.Uri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudBlockBlob(System.Uri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public CloudBlockBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudBlockBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public virtual System.Collections.Generic.IEnumerable DownloadBlockList(Microsoft.Azure.Storage.Blob.BlockListingFilter blockListingFilter = default(Microsoft.Azure.Storage.Blob.BlockListingFilter), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task> DownloadBlockListAsync() => throw null; + public virtual System.Threading.Tasks.Task> DownloadBlockListAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> DownloadBlockListAsync(Microsoft.Azure.Storage.Blob.BlockListingFilter blockListingFilter, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task> DownloadBlockListAsync(Microsoft.Azure.Storage.Blob.BlockListingFilter blockListingFilter, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string DownloadText(System.Text.Encoding encoding = default(System.Text.Encoding), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync() => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync(System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync(System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task DownloadTextAsync(System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlockBlob EndCreateSnapshot(System.IAsyncResult asyncResult) => throw null; + public virtual System.Collections.Generic.IEnumerable EndDownloadBlockList(System.IAsyncResult asyncResult) => throw null; + public virtual string EndDownloadText(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobStream EndOpenWrite(System.IAsyncResult asyncResult) => throw null; + public virtual void EndPutBlock(System.IAsyncResult asyncResult) => throw null; + public virtual void EndPutBlockList(System.IAsyncResult asyncResult) => throw null; + public virtual void EndSetStandardBlobTier(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromByteArray(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromFile(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromStream(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadText(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobStream OpenWrite(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync() => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void PutBlock(string blockId, System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void PutBlock(string blockId, System.Uri sourceUri, long? offset, long? count, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void PutBlock(string blockId, System.Uri sourceUri, long? offset, long? count, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.IO.Stream blockData, string contentMD5) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum = default(Microsoft.Azure.Storage.Shared.Protocol.Checksum)) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.Uri sourceUri, long? offset, long? count, string contentMD5) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.Uri sourceUri, long? offset, long? count, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum = default(Microsoft.Azure.Storage.Shared.Protocol.Checksum)) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.IO.Stream blockData, string contentMD5, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.Uri sourceUri, long? offset, long? count, string contentMD5, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.Uri sourceUri, long? offset, long? count, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.IO.Stream blockData, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.Uri sourceUri, long? offset, long? count, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.Uri sourceUri, long? offset, long? count, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.IO.Stream blockData, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.Uri sourceUri, long? offset, long? count, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.Uri sourceUri, long? offset, long? count, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.IO.Stream blockData, string contentMD5, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task PutBlockAsync(string blockId, System.IO.Stream blockData, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void PutBlockList(System.Collections.Generic.IEnumerable blockList, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task PutBlockListAsync(System.Collections.Generic.IEnumerable blockList) => throw null; + public virtual System.Threading.Tasks.Task PutBlockListAsync(System.Collections.Generic.IEnumerable blockList, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task PutBlockListAsync(System.Collections.Generic.IEnumerable blockList, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task PutBlockListAsync(System.Collections.Generic.IEnumerable blockList, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void SetStandardBlobTier(Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority = default(Microsoft.Azure.Storage.Blob.RehydratePriority?), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SetStandardBlobTierAsync(Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier) => throw null; + public virtual System.Threading.Tasks.Task SetStandardBlobTierAsync(Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SetStandardBlobTierAsync(Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SetStandardBlobTierAsync(Microsoft.Azure.Storage.Blob.StandardBlobTier standardBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string StartCopy(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlockBlobTier = default(Microsoft.Azure.Storage.Blob.StandardBlobTier?), Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority = default(Microsoft.Azure.Storage.Blob.RehydratePriority?), Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public string StartCopy(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, bool syncCopy, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlockBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudBlockBlob source) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlockBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudBlockBlob source, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, bool incrementalCopy, bool syncCopy, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlockBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public int StreamWriteSizeInBytes { get => throw null; set { } } + public virtual void UploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void UploadFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void UploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void UploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void UploadText(string content, System.Text.Encoding encoding = default(System.Text.Encoding), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadTextAsync(string content, System.Text.Encoding encoding, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + } + public class CloudPageBlob : Microsoft.Azure.Storage.Blob.CloudBlob, Microsoft.Azure.Storage.Blob.ICloudBlob, Microsoft.Azure.Storage.Blob.IListBlobItem + { + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginClearPages(long startOffset, long length, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginClearPages(long startOffset, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate(long size, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate(long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate(long size, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateSnapshot(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateSnapshot(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetPageRanges(System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetPageRanges(long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetPageRangesDiff(System.DateTimeOffset previousSnapshotTime, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetPageRangesDiff(System.DateTimeOffset previousSnapshotTime, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenWrite(long? size, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenWrite(long? size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginResize(long size, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginResize(long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetPremiumBlobTier(Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetPremiumBlobTier(Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetSequenceNumber(Microsoft.Azure.Storage.Blob.SequenceNumberAction sequenceNumberAction, long? sequenceNumber, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetSequenceNumber(Microsoft.Azure.Storage.Blob.SequenceNumberAction sequenceNumberAction, long? sequenceNumber, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(Microsoft.Azure.Storage.Blob.CloudPageBlob source, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartCopy(Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartIncrementalCopy(Microsoft.Azure.Storage.Blob.CloudPageBlob sourceSnapshot, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartIncrementalCopy(Microsoft.Azure.Storage.Blob.CloudPageBlob sourceSnapshot, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginStartIncrementalCopy(System.Uri sourceSnapshot, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginWritePages(System.IO.Stream pageData, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginWritePages(System.IO.Stream pageData, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginWritePages(System.Uri sourceUri, long offset, long count, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum sourceContentChecksum, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state) => throw null; + public virtual void ClearPages(long startOffset, long length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ClearPagesAsync(long startOffset, long length) => throw null; + public virtual System.Threading.Tasks.Task ClearPagesAsync(long startOffset, long length, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ClearPagesAsync(long startOffset, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ClearPagesAsync(long startOffset, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void Create(long size, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void Create(long size, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(long size) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(long size, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateAsync(long size, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudPageBlob CreateSnapshot(System.Collections.Generic.IDictionary metadata = default(System.Collections.Generic.IDictionary), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync() => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task CreateSnapshotAsync(System.Collections.Generic.IDictionary metadata, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public CloudPageBlob(System.Uri blobAbsoluteUri) : base(default(System.Uri)) => throw null; + public CloudPageBlob(System.Uri blobAbsoluteUri, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudPageBlob(System.Uri blobAbsoluteUri, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public CloudPageBlob(System.Uri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudPageBlob(System.Uri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public CloudPageBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Auth.StorageCredentials credentials) : base(default(System.Uri)) => throw null; + public CloudPageBlob(Microsoft.Azure.Storage.StorageUri blobAbsoluteUri, System.DateTimeOffset? snapshotTime, Microsoft.Azure.Storage.Blob.CloudBlobClient client) : base(default(System.Uri)) => throw null; + public virtual void EndClearPages(System.IAsyncResult asyncResult) => throw null; + public virtual void EndCreate(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudPageBlob EndCreateSnapshot(System.IAsyncResult asyncResult) => throw null; + public virtual System.Collections.Generic.IEnumerable EndGetPageRanges(System.IAsyncResult asyncResult) => throw null; + public virtual System.Collections.Generic.IEnumerable EndGetPageRangesDiff(System.IAsyncResult asyncResult) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobStream EndOpenWrite(System.IAsyncResult asyncResult) => throw null; + public virtual void EndResize(System.IAsyncResult asyncResult) => throw null; + public virtual void EndSetPremiumBlobTier(System.IAsyncResult asyncResult) => throw null; + public virtual void EndSetSequenceNumber(System.IAsyncResult asyncResult) => throw null; + public virtual string EndStartIncrementalCopy(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromByteArray(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromFile(System.IAsyncResult asyncResult) => throw null; + public virtual void EndUploadFromStream(System.IAsyncResult asyncResult) => throw null; + public virtual void EndWritePages(System.IAsyncResult asyncResult) => throw null; + public virtual System.Collections.Generic.IEnumerable GetPageRanges(long? offset = default(long?), long? length = default(long?), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesAsync() => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesAsync(System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesAsync(long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesAsync(long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Collections.Generic.IEnumerable GetPageRangesDiff(System.DateTimeOffset previousSnapshotTime, long? offset = default(long?), long? length = default(long?), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesDiffAsync(System.DateTimeOffset previousSnapshotTime) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesDiffAsync(System.DateTimeOffset previousSnapshotTime, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesDiffAsync(System.DateTimeOffset previousSnapshotTime, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task> GetPageRangesDiffAsync(System.DateTimeOffset previousSnapshotTime, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual Microsoft.Azure.Storage.Blob.CloudBlobStream OpenWrite(long? size, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(long? size) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(long? size, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(long? size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(long? size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task OpenWriteAsync(long? size, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void Resize(long size, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task ResizeAsync(long size) => throw null; + public virtual System.Threading.Tasks.Task ResizeAsync(long size, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task ResizeAsync(long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task ResizeAsync(long size, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void SetPremiumBlobTier(Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SetPremiumBlobTierAsync(Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier) => throw null; + public virtual System.Threading.Tasks.Task SetPremiumBlobTierAsync(Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SetPremiumBlobTierAsync(Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SetPremiumBlobTierAsync(Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void SetSequenceNumber(Microsoft.Azure.Storage.Blob.SequenceNumberAction sequenceNumberAction, long? sequenceNumber, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task SetSequenceNumberAsync(Microsoft.Azure.Storage.Blob.SequenceNumberAction sequenceNumberAction, long? sequenceNumber) => throw null; + public virtual System.Threading.Tasks.Task SetSequenceNumberAsync(Microsoft.Azure.Storage.Blob.SequenceNumberAction sequenceNumberAction, long? sequenceNumber, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task SetSequenceNumberAsync(Microsoft.Azure.Storage.Blob.SequenceNumberAction sequenceNumberAction, long? sequenceNumber, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task SetSequenceNumberAsync(Microsoft.Azure.Storage.Blob.SequenceNumberAction sequenceNumberAction, long? sequenceNumber, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string StartCopy(Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual string StartCopy(Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudPageBlob source) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudPageBlob source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartCopyAsync(Microsoft.Azure.Storage.Blob.CloudPageBlob source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual string StartIncrementalCopy(Microsoft.Azure.Storage.Blob.CloudPageBlob sourceSnapshot, Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual string StartIncrementalCopy(System.Uri sourceSnapshotUri, Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task StartIncrementalCopyAsync(Microsoft.Azure.Storage.Blob.CloudPageBlob source) => throw null; + public virtual System.Threading.Tasks.Task StartIncrementalCopyAsync(Microsoft.Azure.Storage.Blob.CloudPageBlob source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartIncrementalCopyAsync(Microsoft.Azure.Storage.Blob.CloudPageBlob sourceSnapshot, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task StartIncrementalCopyAsync(System.Uri sourceSnapshotUri, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public int StreamWriteSizeInBytes { get => throw null; set { } } + public virtual void UploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void UploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void UploadFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void UploadFromFile(string path, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void UploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void UploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void UploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void UploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier? premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual void WritePages(System.IO.Stream pageData, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum = default(Microsoft.Azure.Storage.Shared.Protocol.Checksum), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual void WritePages(System.Uri sourceUri, long offset, long count, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum sourceContentChecksum = default(Microsoft.Azure.Storage.Shared.Protocol.Checksum), Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.AccessCondition destAccessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)) => throw null; + public virtual System.Threading.Tasks.Task WritePagesAsync(System.IO.Stream pageData, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum) => throw null; + public virtual System.Threading.Tasks.Task WritePagesAsync(System.IO.Stream pageData, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task WritePagesAsync(System.IO.Stream pageData, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public virtual System.Threading.Tasks.Task WritePagesAsync(System.IO.Stream pageData, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task WritePagesAsync(System.IO.Stream pageData, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum contentChecksum, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.IProgress progressHandler, System.Threading.CancellationToken cancellationToken) => throw null; + public virtual System.Threading.Tasks.Task WritePagesAsync(System.Uri sourceUri, long offset, long count, long startOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum sourceContentChecksum, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken) => throw null; + } + [System.Flags] + public enum ContainerListingDetails + { + None = 0, + Metadata = 1, + All = 1, + } + public class ContainerResultSegment + { + public Microsoft.Azure.Storage.Blob.BlobContinuationToken ContinuationToken { get => throw null; } + public ContainerResultSegment(System.Collections.Generic.IEnumerable containers, Microsoft.Azure.Storage.Blob.BlobContinuationToken continuationToken) => throw null; + public System.Collections.Generic.IEnumerable Results { get => throw null; } + } + public sealed class CopyState + { + public long? BytesCopied { get => throw null; } + public System.DateTimeOffset? CompletionTime { get => throw null; } + public string CopyId { get => throw null; } + public CopyState() => throw null; + public System.DateTimeOffset? DestinationSnapshotTime { get => throw null; } + public System.Uri Source { get => throw null; } + public Microsoft.Azure.Storage.Blob.CopyStatus Status { get => throw null; } + public string StatusDescription { get => throw null; } + public long? TotalBytes { get => throw null; } + } + public enum CopyStatus + { + Invalid = 0, + Pending = 1, + Success = 2, + Aborted = 3, + Failed = 4, + } + public enum DeleteSnapshotsOption + { + None = 0, + IncludeSnapshots = 1, + DeleteSnapshotsOnly = 2, + } + public interface ICloudBlob : Microsoft.Azure.Storage.Blob.IListBlobItem + { + void AbortCopy(string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task AbortCopyAsync(string copyId); + System.Threading.Tasks.Task AbortCopyAsync(string copyId, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task AbortCopyAsync(string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task AbortCopyAsync(string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + string AcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId = default(string)); + System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task AcquireLeaseAsync(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginAbortCopy(string copyId, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginAbortCopy(string copyId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginAcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginAcquireLease(System.TimeSpan? leaseTime, string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginBreakLease(System.TimeSpan? breakPeriod, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginBreakLease(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDelete(System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDelete(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists(System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadRangeToByteArray(byte[] target, int index, long? blobOffset, long? length, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadRangeToByteArray(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadRangeToStream(System.IO.Stream target, long? offset, long? length, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadRangeToStream(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToByteArray(byte[] target, int index, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToByteArray(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToFile(string path, System.IO.FileMode mode, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToFile(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToStream(System.IO.Stream target, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginDownloadToStream(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginExists(System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginExists(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginFetchAttributes(System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginFetchAttributes(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetAccountProperties(System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetAccountProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenRead(System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginOpenRead(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginRenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginRenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetMetadata(System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetMetadata(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetProperties(System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetProperties(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.ICancellableAsyncResult BeginUploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.AsyncCallback callback, object state); + Microsoft.Azure.Storage.Blob.BlobType BlobType { get; } + System.TimeSpan BreakLease(System.TimeSpan? breakPeriod = default(System.TimeSpan?), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod); + System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task BreakLeaseAsync(System.TimeSpan? breakPeriod, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + string ChangeLease(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition); + System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task ChangeLeaseAsync(string proposedLeaseId, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + Microsoft.Azure.Storage.Blob.CopyState CopyState { get; } + void Delete(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption = default(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task DeleteAsync(); + System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task DeleteAsync(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task DeleteAsync(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + bool DeleteIfExists(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption = default(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption), Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task DeleteIfExistsAsync(); + System.Threading.Tasks.Task DeleteIfExistsAsync(System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task DeleteIfExistsAsync(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task DeleteIfExistsAsync(Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + int DownloadRangeToByteArray(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length); + System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task DownloadRangeToByteArrayAsync(byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void DownloadRangeToStream(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length); + System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task DownloadRangeToStreamAsync(System.IO.Stream target, long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + int DownloadToByteArray(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index); + System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task DownloadToByteArrayAsync(byte[] target, int index, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void DownloadToFile(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode); + System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task DownloadToFileAsync(string path, System.IO.FileMode mode, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void DownloadToStream(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target); + System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task DownloadToStreamAsync(System.IO.Stream target, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void EndAbortCopy(System.IAsyncResult asyncResult); + string EndAcquireLease(System.IAsyncResult asyncResult); + System.TimeSpan EndBreakLease(System.IAsyncResult asyncResult); + string EndChangeLease(System.IAsyncResult asyncResult); + void EndDelete(System.IAsyncResult asyncResult); + bool EndDeleteIfExists(System.IAsyncResult asyncResult); + int EndDownloadRangeToByteArray(System.IAsyncResult asyncResult); + void EndDownloadRangeToStream(System.IAsyncResult asyncResult); + int EndDownloadToByteArray(System.IAsyncResult asyncResult); + void EndDownloadToFile(System.IAsyncResult asyncResult); + void EndDownloadToStream(System.IAsyncResult asyncResult); + bool EndExists(System.IAsyncResult asyncResult); + void EndFetchAttributes(System.IAsyncResult asyncResult); + Microsoft.Azure.Storage.Shared.Protocol.AccountProperties EndGetAccountProperties(System.IAsyncResult asyncResult); + System.IO.Stream EndOpenRead(System.IAsyncResult asyncResult); + void EndReleaseLease(System.IAsyncResult asyncResult); + void EndRenewLease(System.IAsyncResult asyncResult); + void EndSetMetadata(System.IAsyncResult asyncResult); + void EndSetProperties(System.IAsyncResult asyncResult); + void EndUploadFromByteArray(System.IAsyncResult asyncResult); + void EndUploadFromFile(System.IAsyncResult asyncResult); + void EndUploadFromStream(System.IAsyncResult asyncResult); + bool Exists(Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task ExistsAsync(); + System.Threading.Tasks.Task ExistsAsync(System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task ExistsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task ExistsAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void FetchAttributes(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task FetchAttributesAsync(); + System.Threading.Tasks.Task FetchAttributesAsync(System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task FetchAttributesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task FetchAttributesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + Microsoft.Azure.Storage.Shared.Protocol.AccountProperties GetAccountProperties(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task GetAccountPropertiesAsync(); + System.Threading.Tasks.Task GetAccountPropertiesAsync(System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task GetAccountPropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task GetAccountPropertiesAsync(Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy); + string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, string groupPolicyIdentifier); + string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers); + string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers, string groupPolicyIdentifier); + string GetSharedAccessSignature(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy policy, Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders headers, string groupPolicyIdentifier, Microsoft.Azure.Storage.SharedAccessProtocol? protocols, Microsoft.Azure.Storage.IPAddressOrRange ipAddressOrRange); + bool IsSnapshot { get; } + System.Collections.Generic.IDictionary Metadata { get; } + string Name { get; } + System.IO.Stream OpenRead(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task OpenReadAsync(); + System.Threading.Tasks.Task OpenReadAsync(System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task OpenReadAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task OpenReadAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + Microsoft.Azure.Storage.Blob.BlobProperties Properties { get; } + void ReleaseLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition); + System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task ReleaseLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void RenewLease(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition); + System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task RenewLeaseAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + Microsoft.Azure.Storage.Blob.CloudBlobClient ServiceClient { get; } + void SetMetadata(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task SetMetadataAsync(); + System.Threading.Tasks.Task SetMetadataAsync(System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task SetMetadataAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task SetMetadataAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void SetProperties(Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task SetPropertiesAsync(); + System.Threading.Tasks.Task SetPropertiesAsync(System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task SetPropertiesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task SetPropertiesAsync(Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + Microsoft.Azure.Storage.StorageUri SnapshotQualifiedStorageUri { get; } + System.Uri SnapshotQualifiedUri { get; } + System.DateTimeOffset? SnapshotTime { get; } + int StreamMinimumReadSizeInBytes { get; set; } + int StreamWriteSizeInBytes { get; set; } + void UploadFromByteArray(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count); + System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void UploadFromFile(string path, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task UploadFromFileAsync(string path); + System.Threading.Tasks.Task UploadFromFileAsync(string path, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task UploadFromFileAsync(string path, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + void UploadFromStream(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + void UploadFromStream(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition = default(Microsoft.Azure.Storage.AccessCondition), Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default(Microsoft.Azure.Storage.Blob.BlobRequestOptions), Microsoft.Azure.Storage.OperationContext operationContext = default(Microsoft.Azure.Storage.OperationContext)); + System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source); + System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length); + System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, System.Threading.CancellationToken cancellationToken); + System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext); + System.Threading.Tasks.Task UploadFromStreamAsync(System.IO.Stream source, long length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken); + } + public interface IListBlobItem + { + Microsoft.Azure.Storage.Blob.CloudBlobContainer Container { get; } + Microsoft.Azure.Storage.Blob.CloudBlobDirectory Parent { get; } + Microsoft.Azure.Storage.StorageUri StorageUri { get; } + System.Uri Uri { get; } + } + public enum LeaseAction + { + Acquire = 0, + Renew = 1, + Release = 2, + Break = 3, + Change = 4, + } + public enum LeaseDuration + { + Unspecified = 0, + Fixed = 1, + Infinite = 2, + } + public enum LeaseState + { + Unspecified = 0, + Available = 1, + Leased = 2, + Expired = 3, + Breaking = 4, + Broken = 5, + } + public enum LeaseStatus + { + Unspecified = 0, + Locked = 1, + Unlocked = 2, + } + public sealed class ListBlockItem + { + public bool Committed { get => throw null; } + public ListBlockItem() => throw null; + public long Length { get => throw null; } + public string Name { get => throw null; } + } + public sealed class PageDiffRange : Microsoft.Azure.Storage.Blob.PageRange + { + public PageDiffRange(long start, long end, bool isCleared) : base(default(long), default(long)) => throw null; + public bool IsClearedPageRange { get => throw null; } + } + public class PageRange + { + public PageRange(long start, long end) => throw null; + public long EndOffset { get => throw null; } + public long StartOffset { get => throw null; } + public override string ToString() => throw null; + } + public enum PremiumPageBlobTier + { + Unknown = 0, + P4 = 1, + P6 = 2, + P10 = 3, + P20 = 4, + P30 = 5, + P40 = 6, + P50 = 7, + P60 = 8, + P70 = 9, + P80 = 10, + } + namespace Protocol + { + public sealed class BlobContainerEntry + { + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public string Name { get => throw null; } + public Microsoft.Azure.Storage.Blob.BlobContainerProperties Properties { get => throw null; } + public System.Uri Uri { get => throw null; } + } + public static class BlobErrorCodeStrings + { + public static readonly string BlobAlreadyExists; + public static readonly string BlobNotFound; + public static readonly string CannotVerifyCopySource; + public static readonly string ContainerAlreadyExists; + public static readonly string ContainerBeingDeleted; + public static readonly string ContainerDisabled; + public static readonly string ContainerNotFound; + public static readonly string CopyAcrossAccountsNotSupported; + public static readonly string CopyIdMismatch; + public static readonly string InfiniteLeaseDurationRequired; + public static readonly string InvalidAppendCondition; + public static readonly string InvalidBlobOrBlock; + public static readonly string InvalidBlobType; + public static readonly string InvalidBlockId; + public static readonly string InvalidBlockList; + public static readonly string InvalidMaxBlobSizeCondition; + public static readonly string InvalidPageRange; + public static readonly string InvalidVersionForPageBlobOperation; + public static readonly string LeaseAlreadyBroken; + public static readonly string LeaseAlreadyPresent; + public static readonly string LeaseIdMismatchWithBlobOperation; + public static readonly string LeaseIdMismatchWithContainerOperation; + public static readonly string LeaseIdMismatchWithLeaseOperation; + public static readonly string LeaseIdMissing; + public static readonly string LeaseIsBreakingAndCannotBeAcquired; + public static readonly string LeaseIsBreakingAndCannotBeChanged; + public static readonly string LeaseIsBrokenAndCannotBeRenewed; + public static readonly string LeaseLost; + public static readonly string LeaseNotPresentWithBlobOperation; + public static readonly string LeaseNotPresentWithContainerOperation; + public static readonly string LeaseNotPresentWithLeaseOperation; + public static readonly string NoPendingCopyOperation; + public static readonly string PendingCopyOperation; + public static readonly string SequenceNumberConditionNotMet; + public static readonly string SequenceNumberIncrementTooLarge; + public static readonly string SnapshotsPresent; + public static readonly string SourceConditionNotMet; + public static readonly string TargetConditionNotMet; + } + public static class BlobHttpResponseParsers + { + public static Microsoft.Azure.Storage.Blob.CopyState GetCopyAttributes(System.Net.Http.HttpResponseMessage response) => throw null; + public static bool GetDeletionStatus(string deletedHeader) => throw null; + public static bool GetIncrementalCopyStatus(string incrementalCopyHeader) => throw null; + public static Microsoft.Azure.Storage.Blob.LeaseDuration GetLeaseDuration(System.Net.Http.HttpResponseMessage response) => throw null; + public static string GetLeaseId(System.Net.Http.HttpResponseMessage response) => throw null; + public static Microsoft.Azure.Storage.Blob.LeaseState GetLeaseState(System.Net.Http.HttpResponseMessage response) => throw null; + public static Microsoft.Azure.Storage.Blob.LeaseStatus GetLeaseStatus(System.Net.Http.HttpResponseMessage response) => throw null; + public static System.Collections.Generic.IDictionary GetMetadata(System.Net.Http.HttpResponseMessage response) => throw null; + public static Microsoft.Azure.Storage.Blob.BlobProperties GetProperties(System.Net.Http.HttpResponseMessage response) => throw null; + public static int? GetRemainingLeaseTime(System.Net.Http.HttpResponseMessage response) => throw null; + public static bool GetServerEncrypted(string encryptionHeader) => throw null; + public static string GetSnapshotTime(System.Net.Http.HttpResponseMessage response) => throw null; + public static Microsoft.Azure.Storage.Shared.Protocol.AccountProperties ReadAccountProperties(System.Net.Http.HttpResponseMessage response) => throw null; + public static System.Threading.Tasks.Task ReadServicePropertiesAsync(System.IO.Stream inputStream, System.Threading.CancellationToken token) => throw null; + public static System.Threading.Tasks.Task ReadServiceStatsAsync(System.IO.Stream inputStream, System.Threading.CancellationToken token) => throw null; + } + public sealed class BlobListingContext : Microsoft.Azure.Storage.Shared.Protocol.ListingContext + { + public BlobListingContext(string prefix, int? maxResults, string delimiter, Microsoft.Azure.Storage.Blob.BlobListingDetails details) : base(default(string), default(int?)) => throw null; + public string Delimiter { get => throw null; set { } } + public Microsoft.Azure.Storage.Blob.BlobListingDetails Details { get => throw null; set { } } + } + public static class BlobRequest + { + public static void WriteBlockListBody(System.Collections.Generic.IEnumerable blocks, System.IO.Stream outputStream) => throw null; + public static void WriteSharedAccessIdentifiers(Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicies sharedAccessPolicies, System.IO.Stream outputStream) => throw null; + } + public static class BlobResponse + { + } + public static class ContainerHttpResponseParsers + { + public static Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType GetAcl(System.Net.Http.HttpResponseMessage response) => throw null; + public static System.Collections.Generic.IDictionary GetMetadata(System.Net.Http.HttpResponseMessage response) => throw null; + public static Microsoft.Azure.Storage.Blob.BlobContainerProperties GetProperties(System.Net.Http.HttpResponseMessage response) => throw null; + public static Microsoft.Azure.Storage.Shared.Protocol.AccountProperties ReadAccountProperties(System.Net.Http.HttpResponseMessage response) => throw null; + public static System.Threading.Tasks.Task ReadSharedAccessIdentifiersAsync(System.IO.Stream inputStream, Microsoft.Azure.Storage.Blob.BlobContainerPermissions permissions, System.Threading.CancellationToken token) => throw null; + } + public static class GetBlockListResponse + { + } + public static class GetPageDiffRangesResponse + { + } + public static class GetPageRangesResponse + { + } + public interface IListBlobEntry + { + } + public sealed class ListBlobEntry : Microsoft.Azure.Storage.Blob.Protocol.IListBlobEntry + { + public Microsoft.Azure.Storage.Blob.CopyState CopyState { get => throw null; } + public System.Collections.Generic.IDictionary Metadata { get => throw null; } + public string Name { get => throw null; } + public Microsoft.Azure.Storage.Blob.BlobProperties Properties { get => throw null; } + public System.DateTimeOffset? SnapshotTime { get => throw null; } + public System.Uri Uri { get => throw null; } + } + public sealed class ListBlobPrefixEntry : Microsoft.Azure.Storage.Blob.Protocol.IListBlobEntry + { + public ListBlobPrefixEntry() => throw null; + public string Name { get => throw null; } + } + public sealed class ListBlobsResponse + { + public System.Collections.Generic.IEnumerable Blobs { get => throw null; } + public string NextMarker { get => throw null; } + } + public sealed class ListContainersResponse + { + public System.Collections.Generic.IEnumerable Containers { get => throw null; } + public string NextMarker { get => throw null; } + } + public enum PageWrite + { + Update = 0, + Clear = 1, + } + public sealed class PutBlockListItem + { + public PutBlockListItem(string id, Microsoft.Azure.Storage.Blob.BlockSearchMode searchMode) => throw null; + public string Id { get => throw null; } + public Microsoft.Azure.Storage.Blob.BlockSearchMode SearchMode { get => throw null; } + } + } + public enum RehydratePriority + { + Standard = 0, + High = 1, + } + public enum RehydrationStatus + { + Unknown = 0, + PendingToHot = 1, + PendingToCool = 2, + } + public enum SequenceNumberAction + { + Max = 0, + Update = 1, + Increment = 2, + } + public sealed class SharedAccessBlobHeaders + { + public string CacheControl { get => throw null; set { } } + public string ContentDisposition { get => throw null; set { } } + public string ContentEncoding { get => throw null; set { } } + public string ContentLanguage { get => throw null; set { } } + public string ContentType { get => throw null; set { } } + public SharedAccessBlobHeaders() => throw null; + public SharedAccessBlobHeaders(Microsoft.Azure.Storage.Blob.SharedAccessBlobHeaders sharedAccessBlobHeaders) => throw null; + } + [System.Flags] + public enum SharedAccessBlobPermissions + { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + List = 8, + Add = 16, + Create = 32, + } + public sealed class SharedAccessBlobPolicies : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable + { + public void Add(string key, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy value) => throw null; + public void Add(System.Collections.Generic.KeyValuePair item) => throw null; + public void Clear() => throw null; + public bool Contains(System.Collections.Generic.KeyValuePair item) => throw null; + public bool ContainsKey(string key) => throw null; + public void CopyTo(System.Collections.Generic.KeyValuePair[] array, int arrayIndex) => throw null; + public int Count { get => throw null; } + public SharedAccessBlobPolicies() => throw null; + public System.Collections.Generic.IEnumerator> GetEnumerator() => throw null; + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => throw null; + public bool IsReadOnly { get => throw null; } + public System.Collections.Generic.ICollection Keys { get => throw null; } + public bool Remove(string key) => throw null; + public bool Remove(System.Collections.Generic.KeyValuePair item) => throw null; + public Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy this[string key] { get => throw null; set { } } + public bool TryGetValue(string key, out Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy value) => throw null; + public System.Collections.Generic.ICollection Values { get => throw null; } + } + public sealed class SharedAccessBlobPolicy + { + public SharedAccessBlobPolicy() => throw null; + public Microsoft.Azure.Storage.Blob.SharedAccessBlobPermissions Permissions { get => throw null; set { } } + public static Microsoft.Azure.Storage.Blob.SharedAccessBlobPermissions PermissionsFromString(string input) => throw null; + public static string PermissionsToString(Microsoft.Azure.Storage.Blob.SharedAccessBlobPermissions permissions) => throw null; + public System.DateTimeOffset? SharedAccessExpiryTime { get => throw null; set { } } + public System.DateTimeOffset? SharedAccessStartTime { get => throw null; set { } } + } + public enum StandardBlobTier + { + Unknown = 0, + Hot = 1, + Cool = 2, + Archive = 3, + } + } + } + } +} diff --git a/csharp/ql/test/resources/stubs/Microsoft.Azure.Storage.Common/11.2.3/Microsoft.Azure.Storage.Common.cs b/csharp/ql/test/resources/stubs/Microsoft.Azure.Storage.Common/11.2.3/Microsoft.Azure.Storage.Common.cs new file mode 100644 index 000000000000..ab4efa754871 --- /dev/null +++ b/csharp/ql/test/resources/stubs/Microsoft.Azure.Storage.Common/11.2.3/Microsoft.Azure.Storage.Common.cs @@ -0,0 +1,1107 @@ +// This file contains auto-generated code. +// Generated from `Microsoft.Azure.Storage.Common, Version=11.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35`. +namespace Microsoft +{ + namespace Azure + { + namespace Storage + { + public sealed class AccessCondition + { + public Microsoft.Azure.Storage.AccessCondition Clone() => throw null; + public AccessCondition() => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateEmptyCondition() => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfAppendPositionEqualCondition(long appendPosition) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfExistsCondition() => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfMatchCondition(string etag) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfMaxSizeLessThanOrEqualCondition(long maxSize) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfModifiedSinceCondition(System.DateTimeOffset modifiedTime) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfNoneMatchCondition(string etag) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfNotExistsCondition() => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfNotModifiedSinceCondition(System.DateTimeOffset modifiedTime) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfSequenceNumberEqualCondition(long sequenceNumber) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfSequenceNumberLessThanCondition(long sequenceNumber) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateIfSequenceNumberLessThanOrEqualCondition(long sequenceNumber) => throw null; + public static Microsoft.Azure.Storage.AccessCondition GenerateLeaseCondition(string leaseId) => throw null; + public long? IfAppendPositionEqual { get => throw null; set { } } + public string IfMatchContentCrc { get => throw null; set { } } + public string IfMatchETag { get => throw null; set { } } + public long? IfMaxSizeLessThanOrEqual { get => throw null; set { } } + public System.DateTimeOffset? IfModifiedSinceTime { get => throw null; set { } } + public string IfNoneMatchContentCrc { get => throw null; set { } } + public string IfNoneMatchETag { get => throw null; set { } } + public System.DateTimeOffset? IfNotModifiedSinceTime { get => throw null; set { } } + public long? IfSequenceNumberEqual { get => throw null; set { } } + public long? IfSequenceNumberLessThan { get => throw null; set { } } + public long? IfSequenceNumberLessThanOrEqual { get => throw null; set { } } + public string LeaseId { get => throw null; set { } } + } + namespace Auth + { + public struct NewTokenAndFrequency + { + public NewTokenAndFrequency(string newToken, System.TimeSpan? newFrequency = default(System.TimeSpan?)) => throw null; + public System.TimeSpan? Frequency { get => throw null; set { } } + public string Token { get => throw null; set { } } + } + public delegate System.Threading.Tasks.Task RenewTokenFuncAsync(object state, System.Threading.CancellationToken cancellationToken); + public sealed class StorageCredentials + { + public string AccountName { get => throw null; } + public StorageCredentials() => throw null; + public StorageCredentials(string accountName, string keyValue) => throw null; + public StorageCredentials(string accountName, byte[] keyValue) => throw null; + public StorageCredentials(string accountName, string keyValue, string keyName) => throw null; + public StorageCredentials(string accountName, byte[] keyValue, string keyName) => throw null; + public StorageCredentials(string sasToken) => throw null; + public StorageCredentials(Microsoft.Azure.Storage.Auth.TokenCredential tokenCredential) => throw null; + public bool Equals(Microsoft.Azure.Storage.Auth.StorageCredentials other) => throw null; + public string ExportBase64EncodedKey() => throw null; + public byte[] ExportKey() => throw null; + public bool IsAnonymous { get => throw null; } + public bool IsSAS { get => throw null; } + public bool IsSharedKey { get => throw null; } + public bool IsToken { get => throw null; } + public string KeyName { get => throw null; } + public string SASSignature { get => throw null; } + public string SASToken { get => throw null; } + public System.Uri TransformUri(System.Uri resourceUri) => throw null; + public Microsoft.Azure.Storage.StorageUri TransformUri(Microsoft.Azure.Storage.StorageUri resourceUri) => throw null; + public void UpdateKey(string keyValue) => throw null; + public void UpdateKey(byte[] keyValue) => throw null; + public void UpdateKey(string keyValue, string keyName) => throw null; + public void UpdateKey(byte[] keyValue, string keyName) => throw null; + public void UpdateSASToken(string sasToken) => throw null; + } + public sealed class TokenCredential : System.IDisposable + { + public TokenCredential(string initialToken) => throw null; + public TokenCredential(string initialToken, Microsoft.Azure.Storage.Auth.RenewTokenFuncAsync periodicTokenRenewer, object state, System.TimeSpan renewFrequency) => throw null; + public void Dispose() => throw null; + public string Token { get => throw null; set { } } + } + } + public enum AuthenticationScheme + { + SharedKeyLite = 0, + SharedKey = 1, + Token = 2, + } + public class CloudStorageAccount + { + public System.Uri BlobEndpoint { get => throw null; } + public Microsoft.Azure.Storage.StorageUri BlobStorageUri { get => throw null; } + public Microsoft.Azure.Storage.Auth.StorageCredentials Credentials { get => throw null; } + public CloudStorageAccount(Microsoft.Azure.Storage.Auth.StorageCredentials storageCredentials, System.Uri blobEndpoint, System.Uri queueEndpoint, System.Uri tableEndpoint, System.Uri fileEndpoint) => throw null; + public CloudStorageAccount(Microsoft.Azure.Storage.Auth.StorageCredentials storageCredentials, Microsoft.Azure.Storage.StorageUri blobStorageUri, Microsoft.Azure.Storage.StorageUri queueStorageUri, Microsoft.Azure.Storage.StorageUri tableStorageUri, Microsoft.Azure.Storage.StorageUri fileStorageUri) => throw null; + public CloudStorageAccount(Microsoft.Azure.Storage.Auth.StorageCredentials storageCredentials, bool useHttps) => throw null; + public CloudStorageAccount(Microsoft.Azure.Storage.Auth.StorageCredentials storageCredentials, string endpointSuffix, bool useHttps) => throw null; + public CloudStorageAccount(Microsoft.Azure.Storage.Auth.StorageCredentials storageCredentials, string accountName, string endpointSuffix, bool useHttps) => throw null; + public static Microsoft.Azure.Storage.CloudStorageAccount DevelopmentStorageAccount { get => throw null; } + public System.Uri FileEndpoint { get => throw null; } + public Microsoft.Azure.Storage.StorageUri FileStorageUri { get => throw null; } + public string GetSharedAccessSignature(Microsoft.Azure.Storage.SharedAccessAccountPolicy policy) => throw null; + public static Microsoft.Azure.Storage.CloudStorageAccount Parse(string connectionString) => throw null; + public System.Uri QueueEndpoint { get => throw null; } + public Microsoft.Azure.Storage.StorageUri QueueStorageUri { get => throw null; } + public System.Uri TableEndpoint { get => throw null; } + public Microsoft.Azure.Storage.StorageUri TableStorageUri { get => throw null; } + public override string ToString() => throw null; + public string ToString(bool exportSecrets) => throw null; + public static bool TryParse(string connectionString, out Microsoft.Azure.Storage.CloudStorageAccount account) => throw null; + public static bool UseV1MD5 { get => throw null; set { } } + } + namespace Core + { + namespace Auth + { + public interface ICanonicalizer + { + string AuthorizationScheme { get; } + string CanonicalizeHttpRequest(System.Net.Http.HttpRequestMessage request, string accountName); + } + public sealed class SharedKeyCanonicalizer : Microsoft.Azure.Storage.Core.Auth.ICanonicalizer + { + public string AuthorizationScheme { get => throw null; } + public string CanonicalizeHttpRequest(System.Net.Http.HttpRequestMessage request, string accountName) => throw null; + public static Microsoft.Azure.Storage.Core.Auth.SharedKeyCanonicalizer Instance { get => throw null; } + } + public sealed class SharedKeyLiteCanonicalizer : Microsoft.Azure.Storage.Core.Auth.ICanonicalizer + { + public string AuthorizationScheme { get => throw null; } + public string CanonicalizeHttpRequest(System.Net.Http.HttpRequestMessage request, string accountName) => throw null; + public static Microsoft.Azure.Storage.Core.Auth.SharedKeyLiteCanonicalizer Instance { get => throw null; } + } + } + public class MultiBufferMemoryStream : System.IO.Stream + { + public System.IAsyncResult BeginFastCopyTo(System.IO.Stream destination, System.DateTime? expiryTime, System.AsyncCallback callback, object state) => throw null; + public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; + public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; + public override bool CanRead { get => throw null; } + public override bool CanSeek { get => throw null; } + public override bool CanWrite { get => throw null; } + public string ComputeCRC64Hash() => throw null; + public string ComputeMD5Hash() => throw null; + public MultiBufferMemoryStream(Microsoft.Azure.Storage.IBufferManager bufferManager, int bufferSize = default(int)) => throw null; + protected override void Dispose(bool disposing) => throw null; + public void EndFastCopyTo(System.IAsyncResult asyncResult) => throw null; + public override int EndRead(System.IAsyncResult asyncResult) => throw null; + public override void EndWrite(System.IAsyncResult asyncResult) => throw null; + public void FastCopyTo(System.IO.Stream destination, System.DateTime? expiryTime) => throw null; + public System.Threading.Tasks.Task FastCopyToAsync(System.IO.Stream destination, System.DateTime? expiryTime, System.Threading.CancellationToken token) => throw null; + public override void Flush() => throw null; + public override long Length { get => throw null; } + public override long Position { get => throw null; set { } } + public override int Read(byte[] buffer, int offset, int count) => throw null; + public override long Seek(long offset, System.IO.SeekOrigin origin) => throw null; + public override void SetLength(long value) => throw null; + public override void Write(byte[] buffer, int offset, int count) => throw null; + } + public sealed class NullType + { + } + public class SasQueryBuilder : Microsoft.Azure.Storage.Core.UriQueryBuilder + { + public override void Add(string name, string value) => throw null; + public override System.Uri AddToUri(System.Uri uri) => throw null; + public SasQueryBuilder(string sasToken) => throw null; + public bool RequireHttps { get => throw null; } + } + public class SyncMemoryStream : System.IO.MemoryStream + { + public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; + public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) => throw null; + public SyncMemoryStream() => throw null; + public SyncMemoryStream(byte[] buffer) => throw null; + public SyncMemoryStream(byte[] buffer, int index) => throw null; + public SyncMemoryStream(byte[] buffer, int index, int count) => throw null; + public override int EndRead(System.IAsyncResult asyncResult) => throw null; + public override void EndWrite(System.IAsyncResult asyncResult) => throw null; + } + public class UriQueryBuilder + { + public virtual void Add(string name, string value) => throw null; + public void AddRange(System.Collections.Generic.IEnumerable> parameters) => throw null; + public Microsoft.Azure.Storage.StorageUri AddToUri(Microsoft.Azure.Storage.StorageUri storageUri) => throw null; + public virtual System.Uri AddToUri(System.Uri uri) => throw null; + protected System.Uri AddToUriCore(System.Uri uri) => throw null; + public bool ContainsQueryStringName(string name) => throw null; + public UriQueryBuilder() => throw null; + public UriQueryBuilder(Microsoft.Azure.Storage.Core.UriQueryBuilder builder) => throw null; + protected System.Collections.Generic.IDictionary Parameters { get => throw null; } + public string this[string name] { get => throw null; } + public override string ToString() => throw null; + } + namespace Util + { + public class AsyncManualResetEvent + { + public AsyncManualResetEvent(bool initialStateSignaled) => throw null; + public void Reset() => throw null; + public System.Threading.Tasks.Task Set() => throw null; + public System.Threading.Tasks.Task WaitAsync() => throw null; + } + public sealed class StorageProgress + { + public long BytesTransferred { get => throw null; } + public StorageProgress(long bytesTransferred) => throw null; + } + } + } + [System.AttributeUsage((System.AttributeTargets)64, AllowMultiple = false)] + public sealed class DoesServiceRequestAttribute : System.Attribute + { + public DoesServiceRequestAttribute() => throw null; + } + public interface IBufferManager + { + int GetDefaultBufferSize(); + void ReturnBuffer(byte[] buffer); + byte[] TakeBuffer(int bufferSize); + } + public interface ICancellableAsyncResult : System.IAsyncResult + { + void Cancel(); + } + public interface IContinuationToken + { + Microsoft.Azure.Storage.StorageLocation? TargetLocation { get; set; } + } + public class IPAddressOrRange + { + public string Address { get => throw null; } + public IPAddressOrRange(string address) => throw null; + public IPAddressOrRange(string minimum, string maximum) => throw null; + public bool IsSingleAddress { get => throw null; } + public string MaximumAddress { get => throw null; } + public string MinimumAddress { get => throw null; } + public override string ToString() => throw null; + } + public interface IRequestOptions + { + Microsoft.Azure.Storage.RetryPolicies.LocationMode? LocationMode { get; set; } + System.TimeSpan? MaximumExecutionTime { get; set; } + System.TimeSpan? NetworkTimeout { get; set; } + bool? RequireEncryption { get; set; } + Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy RetryPolicy { get; set; } + System.TimeSpan? ServerTimeout { get; set; } + } + public enum LogLevel + { + Off = 0, + Error = 1, + Warning = 2, + Informational = 3, + Verbose = 4, + } + public static class NameValidator + { + public static void ValidateBlobName(string blobName) => throw null; + public static void ValidateContainerName(string containerName) => throw null; + public static void ValidateDirectoryName(string directoryName) => throw null; + public static void ValidateFileName(string fileName) => throw null; + public static void ValidateQueueName(string queueName) => throw null; + public static void ValidateShareName(string shareName) => throw null; + public static void ValidateTableName(string tableName) => throw null; + } + public sealed class OperationContext + { + public string ClientRequestID { get => throw null; set { } } + public OperationContext() => throw null; + public string CustomUserAgent { get => throw null; set { } } + public static Microsoft.Azure.Storage.LogLevel DefaultLogLevel { get => throw null; set { } } + public System.DateTime EndTime { get => throw null; set { } } + public static event System.EventHandler GlobalRequestCompleted; + public static event System.EventHandler GlobalResponseReceived; + public static event System.EventHandler GlobalRetrying; + public static event System.EventHandler GlobalSendingRequest; + public Microsoft.Azure.Storage.RequestResult LastResult { get => throw null; } + public Microsoft.Azure.Storage.LogLevel LogLevel { get => throw null; set { } } + public event System.EventHandler RequestCompleted; + public System.Collections.Generic.IList RequestResults { get => throw null; } + public event System.EventHandler ResponseReceived; + public event System.EventHandler Retrying; + public event System.EventHandler SendingRequest; + public System.DateTime StartTime { get => throw null; set { } } + public System.Collections.Generic.IDictionary UserHeaders { get => throw null; set { } } + } + public sealed class RequestEventArgs : System.EventArgs + { + public RequestEventArgs(Microsoft.Azure.Storage.RequestResult res) => throw null; + public System.Net.Http.HttpRequestMessage Request { get => throw null; } + public Microsoft.Azure.Storage.RequestResult RequestInformation { get => throw null; } + public System.Net.Http.HttpResponseMessage Response { get => throw null; } + } + public class RequestResult + { + public string ContentCrc64 { get => throw null; } + public string ContentMd5 { get => throw null; } + public RequestResult() => throw null; + public long EgressBytes { get => throw null; set { } } + public string EncryptionKeySHA256 { get => throw null; } + public string EncryptionScope { get => throw null; } + public System.DateTime EndTime { get => throw null; } + public string ErrorCode { get => throw null; } + public string Etag { get => throw null; } + public System.Exception Exception { get => throw null; set { } } + public Microsoft.Azure.Storage.StorageExtendedErrorInformation ExtendedErrorInformation { get => throw null; } + public int HttpStatusCode { get => throw null; set { } } + public string HttpStatusMessage { get => throw null; } + public long IngressBytes { get => throw null; set { } } + public bool IsRequestServerEncrypted { get => throw null; } + public bool IsServiceEncrypted { get => throw null; } + public System.Threading.Tasks.Task ReadXmlAsync(System.Xml.XmlReader reader) => throw null; + public string RequestDate { get => throw null; } + public string ServiceRequestID { get => throw null; } + public System.DateTime StartTime { get => throw null; } + public Microsoft.Azure.Storage.StorageLocation TargetLocation { get => throw null; } + public static Microsoft.Azure.Storage.RequestResult TranslateFromExceptionMessage(string message) => throw null; + public void WriteXml(System.Xml.XmlWriter writer) => throw null; + } + public class ResultSegment + { + public Microsoft.Azure.Storage.IContinuationToken ContinuationToken { get => throw null; } + public System.Collections.Generic.List Results { get => throw null; } + } + namespace RetryPolicies + { + public sealed class ExponentialRetry : Microsoft.Azure.Storage.RetryPolicies.IExtendedRetryPolicy, Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy + { + public Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy CreateInstance() => throw null; + public ExponentialRetry() => throw null; + public ExponentialRetry(System.TimeSpan deltaBackoff, int maxAttempts) => throw null; + public Microsoft.Azure.Storage.RetryPolicies.RetryInfo Evaluate(Microsoft.Azure.Storage.RetryPolicies.RetryContext retryContext, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public bool ShouldRetry(int currentRetryCount, int statusCode, System.Exception lastException, out System.TimeSpan retryInterval, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + } + public interface IExtendedRetryPolicy : Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy + { + Microsoft.Azure.Storage.RetryPolicies.RetryInfo Evaluate(Microsoft.Azure.Storage.RetryPolicies.RetryContext retryContext, Microsoft.Azure.Storage.OperationContext operationContext); + } + public interface IRetryPolicy + { + Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy CreateInstance(); + bool ShouldRetry(int currentRetryCount, int statusCode, System.Exception lastException, out System.TimeSpan retryInterval, Microsoft.Azure.Storage.OperationContext operationContext); + } + public sealed class LinearRetry : Microsoft.Azure.Storage.RetryPolicies.IExtendedRetryPolicy, Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy + { + public Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy CreateInstance() => throw null; + public LinearRetry() => throw null; + public LinearRetry(System.TimeSpan deltaBackoff, int maxAttempts) => throw null; + public Microsoft.Azure.Storage.RetryPolicies.RetryInfo Evaluate(Microsoft.Azure.Storage.RetryPolicies.RetryContext retryContext, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + public bool ShouldRetry(int currentRetryCount, int statusCode, System.Exception lastException, out System.TimeSpan retryInterval, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + } + public enum LocationMode + { + PrimaryOnly = 0, + PrimaryThenSecondary = 1, + SecondaryOnly = 2, + SecondaryThenPrimary = 3, + } + public sealed class NoRetry : Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy + { + public Microsoft.Azure.Storage.RetryPolicies.IRetryPolicy CreateInstance() => throw null; + public NoRetry() => throw null; + public bool ShouldRetry(int currentRetryCount, int statusCode, System.Exception lastException, out System.TimeSpan retryInterval, Microsoft.Azure.Storage.OperationContext operationContext) => throw null; + } + public sealed class RetryContext + { + public int CurrentRetryCount { get => throw null; } + public Microsoft.Azure.Storage.RequestResult LastRequestResult { get => throw null; } + public Microsoft.Azure.Storage.RetryPolicies.LocationMode LocationMode { get => throw null; } + public Microsoft.Azure.Storage.StorageLocation NextLocation { get => throw null; } + public override string ToString() => throw null; + } + public sealed class RetryInfo + { + public RetryInfo() => throw null; + public RetryInfo(Microsoft.Azure.Storage.RetryPolicies.RetryContext retryContext) => throw null; + public System.TimeSpan RetryInterval { get => throw null; set { } } + public Microsoft.Azure.Storage.StorageLocation TargetLocation { get => throw null; set { } } + public override string ToString() => throw null; + public Microsoft.Azure.Storage.RetryPolicies.LocationMode UpdatedLocationMode { get => throw null; set { } } + } + } + namespace Shared + { + namespace Protocol + { + public sealed class AccountProperties + { + public string AccountKind { get => throw null; } + public AccountProperties() => throw null; + public string SkuName { get => throw null; } + } + public sealed class Checksum + { + public string CRC64 { get => throw null; set { } } + public Checksum(string md5 = default(string), string crc64 = default(string)) => throw null; + public string MD5 { get => throw null; set { } } + public static Microsoft.Azure.Storage.Shared.Protocol.Checksum None { get => throw null; } + public static implicit operator Microsoft.Azure.Storage.Shared.Protocol.Checksum(string md5) => throw null; + } + public sealed class ChecksumOptions + { + public ChecksumOptions() => throw null; + public bool? DisableContentCRC64Validation { get => throw null; set { } } + public bool? DisableContentMD5Validation { get => throw null; set { } } + public bool? StoreContentMD5 { get => throw null; set { } } + public bool? UseTransactionalCRC64 { get => throw null; set { } } + public bool? UseTransactionalMD5 { get => throw null; set { } } + } + public static class Constants + { + public const string AccessPolicy = default; + public const string AccessTierChangeTimeElement = default; + public const string AccessTierElement = default; + public const string AccessTierInferred = default; + public const string AES256 = default; + public static class AnalyticsConstants + { + public const string LoggingVersionV1 = default; + public const string LogsContainer = default; + public const string MetricsCapacityBlob = default; + public const string MetricsHourPrimaryTransactionsBlob = default; + public const string MetricsHourPrimaryTransactionsFile = default; + public const string MetricsHourPrimaryTransactionsQueue = default; + public const string MetricsHourPrimaryTransactionsTable = default; + public const string MetricsHourSecondaryTransactionsBlob = default; + public const string MetricsHourSecondaryTransactionsFile = default; + public const string MetricsHourSecondaryTransactionsQueue = default; + public const string MetricsHourSecondaryTransactionsTable = default; + public const string MetricsMinutePrimaryTransactionsBlob = default; + public const string MetricsMinutePrimaryTransactionsFile = default; + public const string MetricsMinutePrimaryTransactionsQueue = default; + public const string MetricsMinutePrimaryTransactionsTable = default; + public const string MetricsMinuteSecondaryTransactionsBlob = default; + public const string MetricsMinuteSecondaryTransactionsFile = default; + public const string MetricsMinuteSecondaryTransactionsQueue = default; + public const string MetricsMinuteSecondaryTransactionsTable = default; + public const string MetricsVersionV1 = default; + } + public const string AppendBlobValue = default; + public const string ArchiveStatusElement = default; + public const string BlobElement = default; + public const string BlobPrefixElement = default; + public const string BlobsElement = default; + public const string BlobTypeElement = default; + public const string BlockBlobValue = default; + public const string BlockElement = default; + public const string BlockListElement = default; + public const string CacheControlElement = default; + public const string ClearRangeElement = default; + public const string ClientIpElement = default; + public const string CommittedBlocksElement = default; + public const string CommittedElement = default; + public const string ContainerElement = default; + public const string ContainerNameElement = default; + public const string ContainersElement = default; + public const string ContentEncodingElement = default; + public const string ContentLanguageElement = default; + public const string ContentLengthElement = default; + public const string ContentMD5Element = default; + public const string ContentTypeElement = default; + public static class ContinuationConstants + { + public const string BlobType = default; + public const string ContinuationTopElement = default; + public const string CurrentVersion = default; + public const string FileType = default; + public const string NextMarkerElement = default; + public const string NextPartitionKeyElement = default; + public const string NextRowKeyElement = default; + public const string NextTableNameElement = default; + public const string QueueType = default; + public const string TableType = default; + public const string TargetLocationElement = default; + public const string TypeElement = default; + public const string VersionElement = default; + } + public const string CopyAbortedValue = default; + public const string CopyCompletionTimeElement = default; + public const string CopyDestinationSnapshotElement = default; + public const string CopyFailedValue = default; + public const string CopyIdElement = default; + public const string CopyPendingValue = default; + public const string CopyProgressElement = default; + public const string CopySourceElement = default; + public const string CopyStatusDescriptionElement = default; + public const string CopyStatusElement = default; + public const string CopySuccessValue = default; + public const string CreationTimeElement = default; + public static readonly System.TimeSpan DefaultClientSideTimeout; + public static readonly System.TimeSpan DefaultNetworkTimeout; + public const long DefaultParallelDownloadRangeSizeBytes = 16777216; + public const int DefaultSubStreamBufferSize = 4194304; + public const int DefaultWriteBlockSizeBytes = 4194304; + public const string DeletedElement = default; + public const string DeletedTimeElement = default; + public const string DelimiterElement = default; + public const string DequeueCountElement = default; + public const string DirectoryPathElement = default; + public static class EncryptionConstants + { + public const string AgentMetadataKey = default; + public const string AgentMetadataValue = default; + public const string BlobEncryptionData = default; + public const string TableEncryptionKeyDetails = default; + public const string TableEncryptionPropertyDetails = default; + } + public const string EncryptionScopeElement = default; + public const string EndElement = default; + public const string EntriesElement = default; + public const string EnumerationResultsElement = default; + public const string ErrorCode = default; + public const string ErrorExceptionMessage = default; + public const string ErrorExceptionStackTrace = default; + public const string ErrorMessage = default; + public const string ErrorRootElement = default; + public const string EtagElement = default; + public const string ExpirationTimeElement = default; + public const string Expiry = default; + public const string FileDirectoryElement = default; + public const string FileElement = default; + public const string FileHandleListElement = default; + public const string FileIdElement = default; + public const string FileRangeElement = default; + public const string FileRangeListElement = default; + public const long GB = 1073741824; + public const string GeoBootstrapValue = default; + public const string GeoLiveValue = default; + public const string GeoUnavailableValue = default; + public const string HandleElement = default; + public const string HandleIdElement = default; + public const string HasImmutabilityPolicyElement = default; + public const string HasLegalHoldElement = default; + public static class HeaderConstants + { + public const string AccessTierChangeTimeHeader = default; + public const string AccessTierHeader = default; + public const string AccessTierInferredHeader = default; + public const string AllFileHandles = default; + public const string AppendBlob = default; + public const string ApproximateMessagesCount = default; + public const string ArchiveStatusHeader = default; + public const string BlobAppendOffset = default; + public const string BlobCacheControlHeader = default; + public const string BlobCommittedBlockCount = default; + public const string BlobContentDispositionRequestHeader = default; + public const string BlobContentEncodingHeader = default; + public const string BlobContentLanguageHeader = default; + public const string BlobContentLengthHeader = default; + public const string BlobContentMD5Header = default; + public const string BlobContentTypeHeader = default; + public const string BlobPublicAccess = default; + public const string BlobSequenceNumber = default; + public const string BlobType = default; + public const string BlockBlob = default; + public const string ClientProvidedEncryptionSuccess = default; + public const string ClientProvidedEncyptionAlgorithm = default; + public const string ClientProvidedEncyptionKey = default; + public const string ClientProvidedEncyptionKeyAlgorithmSource = default; + public const string ClientProvidedEncyptionKeyHash = default; + public const string ClientProvidedEncyptionKeyHashSource = default; + public const string ClientProvidedEncyptionKeySource = default; + public const string ClientRequestIdHeader = default; + public const string ContainerPublicAccessType = default; + public const string ContentCrc64Header = default; + public const string ContentDispositionResponseHeader = default; + public const string ContentLanguageHeader = default; + public const string ContentLengthHeader = default; + public const string CopyActionAbort = default; + public const string CopyActionHeader = default; + public const string CopyCompletionTimeHeader = default; + public const string CopyDescriptionHeader = default; + public const string CopyDestinationSnapshotHeader = default; + public const string CopyIdHeader = default; + public const string CopyProgressHeader = default; + public const string CopySourceHeader = default; + public const string CopyStatusHeader = default; + public const string CopyTypeHeader = default; + public const string CreationTimeHeader = default; + public const string Date = default; + public const string DefaultEncryptionScopeHeader = default; + public const string DeleteSnapshotHeader = default; + public const string EncryptionScopeHeader = default; + public const string EtagHeader = default; + public const string FalseHeader = default; + public const string File = default; + public const string FileAttributes = default; + public const string FileAttributesNone = default; + public const string FileCacheControlHeader = default; + public const string FileChangeTime = default; + public const string FileContentCRC64Header = default; + public const string FileContentDispositionRequestHeader = default; + public const string FileContentEncodingHeader = default; + public const string FileContentLanguageHeader = default; + public const string FileContentLengthHeader = default; + public const string FileContentMD5Header = default; + public const string FileContentTypeHeader = default; + public const string FileCopyFromSource = default; + public const string FileCopyInoreReadOnly = default; + public const string FileCopyOverride = default; + public const string FileCopySetArchive = default; + public const string FileCreationTime = default; + public const string FileId = default; + public const string FileLastWriteTime = default; + public const string FileParentId = default; + public const string FilePermission = default; + public const string FilePermissionCopyMode = default; + public const string FilePermissionInherit = default; + public const string FilePermissionKey = default; + public const string FileRangeWrite = default; + public const string FileTimeNow = default; + public const string FileType = default; + public const string HandleId = default; + public const string HasImmutabilityPolicyHeader = default; + public const string HasLegalHoldHeader = default; + public const string IfAppendPositionEqualHeader = default; + public const string IfMaxSizeLessThanOrEqualHeader = default; + public const string IfSequenceNumberEqHeader = default; + public const string IfSequenceNumberLEHeader = default; + public const string IfSequenceNumberLTHeader = default; + public const string IncludeSnapshotsValue = default; + public const string IncrementalCopyHeader = default; + public const string KeyNameHeader = default; + public const string LeaseActionHeader = default; + public const string LeaseBreakPeriodHeader = default; + public const string LeaseDurationHeader = default; + public const string LeaseIdHeader = default; + public const string LeaseState = default; + public const string LeaseStatus = default; + public const string LeaseTimeHeader = default; + public const string Marker = default; + public const string NextVisibleTime = default; + public const string NumHandlesClosed = default; + public const string PageBlob = default; + public const string PageWrite = default; + public const string PeekOnly = default; + public const string PopReceipt = default; + public const string PrefixForStorageHeader = default; + public const string PrefixForStorageMetadata = default; + public const string PrefixForStorageProperties = default; + public const string Preserve = default; + public const string PreventEncryptionScopeOverrideHeader = default; + public const string ProposedLeaseIdHeader = default; + public const string RangeContentCRC64Header = default; + public const string RangeContentMD5Header = default; + public const string RangeHeader = default; + public const string RangeHeaderFormat = default; + public const string Recursive = default; + public const string RehydratePriorityHeader = default; + public const string RequestIdHeader = default; + public const string RequiresSyncHeader = default; + public const string SequenceNumberAction = default; + public const string ServerEncrypted = default; + public const string ServerRequestEncrypted = default; + public const string ShareQuota = default; + public const string ShareSize = default; + public const string SnapshotHeader = default; + public const string SnapshotsOnlyValue = default; + public const string SourceContentMD5Header = default; + public const string SourceIfMatchCrcHeader = default; + public const string SourceIfMatchHeader = default; + public const string SourceIfModifiedSinceHeader = default; + public const string SourceIfNoneMatchCrcHeader = default; + public const string SourceIfNoneMatchHeader = default; + public const string SourceIfUnmodifiedSinceHeader = default; + public const string SourceRangeHeader = default; + public const string StorageVersionHeader = default; + public const string TargetStorageVersion = default; + public const string TrueHeader = default; + public static readonly string UserAgent; + public static readonly string UserAgentComment; + public const string UserAgentProductName = default; + public const string UserAgentProductVersion = default; + } + public const string Id = default; + public const string IncrementalCopy = default; + public const string InsertionTimeElement = default; + public const string InvalidMetadataName = default; + public const long KB = 1024; + public const string KeyInfo = default; + public const string LastModifiedElement = default; + public const string LastReconnectTimeElement = default; + public const string LatestElement = default; + public const string LeaseAvailableValue = default; + public const string LeaseBreakingValue = default; + public const string LeaseBrokenValue = default; + public const string LeaseDurationElement = default; + public const string LeasedValue = default; + public const string LeaseExpiredValue = default; + public const string LeaseFixedValue = default; + public const string LeaseInfiniteValue = default; + public const string LeaseStateElement = default; + public const string LeaseStatusElement = default; + public const string LockedValue = default; + public const string MarkerElement = default; + public const int MaxAppendBlockSize = 4194304; + public const long MaxBlobSize = 5242880000000; + public const long MaxBlockNumber = 50000; + public const int MaxBlockSize = 104857600; + public const int MaxIdleTimeMs = 120000; + public static readonly System.TimeSpan MaximumAllowedTimeout; + public const int MaximumBreakLeasePeriod = 60; + public const int MaximumLeaseDuration = 60; + public static readonly System.TimeSpan MaximumRetryBackoff; + public static readonly System.TimeSpan MaxMaximumExecutionTime; + public const int MaxParallelOperationThreadCount = 64; + public const int MaxRangeGetContentCRC64Size = 4194304; + public const int MaxRangeGetContentMD5Size = 4194304; + public const string MaxResults = default; + public const string MaxResultsElement = default; + public const int MaxRetainedVersionsPerBlob = 10; + public const int MaxSharedAccessPolicyIdentifiers = 5; + public const long MaxSingleUploadBlobSize = 268435456; + public const int MaxSubOperationPerBatch = 256; + public const long MB = 1048576; + public const string MessageElement = default; + public const string MessageIdElement = default; + public const string Messages = default; + public const string MessagesElement = default; + public const string MessageTextElement = default; + public const string MetadataElement = default; + public const int MinimumBreakLeasePeriod = 0; + public const int MinimumLeaseDuration = 15; + public const int MinLargeBlockSize = 4194305; + public const string NameElement = default; + public const string NextMarkerElement = default; + public const string OpenTimeElement = default; + public const string PageBlobValue = default; + public const string PageListElement = default; + public const string PageRangeElement = default; + public const int PageSize = 512; + public const string ParentIdElement = default; + public const string PathElement = default; + public const string Permission = default; + public const string PopReceiptElement = default; + public const string PrefixElement = default; + public const string PropertiesElement = default; + public const string PublicAccessElement = default; + public static class QueryConstants + { + public const string ApiVersion = default; + public const string BlobResourceType = default; + public const string BlobSnapshotResourceType = default; + public const string CacheControl = default; + public const string Component = default; + public const string ContainerResourceType = default; + public const string ContentDisposition = default; + public const string ContentEncoding = default; + public const string ContentLanguage = default; + public const string ContentType = default; + public const string CopyId = default; + public const string EndPartitionKey = default; + public const string EndRowKey = default; + public const string Marker = default; + public const string MessageTimeToLive = default; + public const string NumOfMessages = default; + public const string PopReceipt = default; + public const string ResourceType = default; + public const string SasTableName = default; + public const string ShareSnapshot = default; + public const string Signature = default; + public const string SignedExpiry = default; + public const string SignedIdentifier = default; + public const string SignedIP = default; + public const string SignedKey = default; + public const string SignedKeyExpiry = default; + public const string SignedKeyOid = default; + public const string SignedKeyService = default; + public const string SignedKeyStart = default; + public const string SignedKeyTid = default; + public const string SignedKeyVersion = default; + public const string SignedPermissions = default; + public const string SignedProtocols = default; + public const string SignedResource = default; + public const string SignedResourceTypes = default; + public const string SignedServices = default; + public const string SignedStart = default; + public const string SignedVersion = default; + public const string Snapshot = default; + public const string StartPartitionKey = default; + public const string StartRowKey = default; + public const string VisibilityTimeout = default; + } + public const string QueueElement = default; + public const string QueueNameElement = default; + public const string QueuesElement = default; + public const string QuotaElement = default; + public const string RehydratePendingToCool = default; + public const string RehydratePendingToHot = default; + public const string RemainingRetentionDaysElement = default; + public const string ServerEncryptionElement = default; + public const string ServiceEndpointElement = default; + public const string SessionIdElement = default; + public const string ShareElement = default; + public const string ShareNameElement = default; + public const string SharesElement = default; + public const string SignedExpiry = default; + public const string SignedIdentifier = default; + public const string SignedIdentifiers = default; + public const string SignedOid = default; + public const string SignedService = default; + public const string SignedStart = default; + public const string SignedTid = default; + public const string SignedVersion = default; + public const string SizeElement = default; + public const string SnapshotElement = default; + public const string Start = default; + public const string StartElement = default; + public const string TimeNextVisibleElement = default; + public const string UncommittedBlocksElement = default; + public const string UncommittedElement = default; + public const string UnlockedValue = default; + public const string UrlElement = default; + public const string UserDelegationKey = default; + public const string Value = default; + public static class VersionConstants + { + public const string August2013 = default; + public const string February2012 = default; + } + } + [System.Flags] + public enum CorsHttpMethods + { + None = 0, + Get = 1, + Head = 2, + Post = 4, + Put = 8, + Delete = 16, + Trace = 32, + Options = 64, + Connect = 128, + Merge = 256, + Patch = 512, + } + public sealed class CorsProperties + { + public System.Collections.Generic.IList CorsRules { get => throw null; } + public CorsProperties() => throw null; + } + public sealed class CorsRule + { + public System.Collections.Generic.IList AllowedHeaders { get => throw null; set { } } + public Microsoft.Azure.Storage.Shared.Protocol.CorsHttpMethods AllowedMethods { get => throw null; set { } } + public System.Collections.Generic.IList AllowedOrigins { get => throw null; set { } } + public CorsRule() => throw null; + public System.Collections.Generic.IList ExposedHeaders { get => throw null; set { } } + public int MaxAgeInSeconds { get => throw null; set { } } + } + public sealed class DeleteRetentionPolicy + { + public DeleteRetentionPolicy() => throw null; + public bool Enabled { get => throw null; set { } } + public int? RetentionDays { get => throw null; set { } } + } + public sealed class GeoReplicationStats + { + public System.DateTimeOffset? LastSyncTime { get => throw null; } + public Microsoft.Azure.Storage.Shared.Protocol.GeoReplicationStatus Status { get => throw null; } + } + public enum GeoReplicationStatus + { + Unavailable = 0, + Live = 1, + Bootstrap = 2, + } + public class ListingContext + { + public ListingContext(string prefix, int? maxResults) => throw null; + public string Marker { get => throw null; set { } } + public int? MaxResults { get => throw null; set { } } + public string Prefix { get => throw null; set { } } + } + [System.Flags] + public enum LoggingOperations + { + None = 0, + Read = 1, + Write = 2, + Delete = 4, + All = 7, + } + public sealed class LoggingProperties + { + public LoggingProperties() => throw null; + public LoggingProperties(string version) => throw null; + public Microsoft.Azure.Storage.Shared.Protocol.LoggingOperations LoggingOperations { get => throw null; set { } } + public int? RetentionDays { get => throw null; set { } } + public string Version { get => throw null; set { } } + } + public enum MetricsLevel + { + None = 0, + Service = 1, + ServiceAndApi = 2, + } + public sealed class MetricsProperties + { + public MetricsProperties() => throw null; + public MetricsProperties(string version) => throw null; + public Microsoft.Azure.Storage.Shared.Protocol.MetricsLevel MetricsLevel { get => throw null; set { } } + public int? RetentionDays { get => throw null; set { } } + public string Version { get => throw null; set { } } + } + public abstract class ResponseParsingBase : System.IDisposable + { + protected bool allObjectsParsed; + protected ResponseParsingBase(System.IO.Stream stream) => throw null; + public void Dispose() => throw null; + protected virtual void Dispose(bool disposing) => throw null; + protected System.Collections.Generic.IEnumerable ObjectsToParse { get => throw null; } + protected System.Collections.Generic.IList outstandingObjectsToParse; + protected abstract System.Collections.Generic.IEnumerable ParseXml(); + protected System.Xml.XmlReader reader; + protected void Variable(ref bool consumable) => throw null; + } + public sealed class ServiceProperties + { + public Microsoft.Azure.Storage.Shared.Protocol.CorsProperties Cors { get => throw null; set { } } + public ServiceProperties() => throw null; + public ServiceProperties(Microsoft.Azure.Storage.Shared.Protocol.LoggingProperties logging = default(Microsoft.Azure.Storage.Shared.Protocol.LoggingProperties), Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties hourMetrics = default(Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties), Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties minuteMetrics = default(Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties), Microsoft.Azure.Storage.Shared.Protocol.CorsProperties cors = default(Microsoft.Azure.Storage.Shared.Protocol.CorsProperties), Microsoft.Azure.Storage.Shared.Protocol.DeleteRetentionPolicy deleteRetentionPolicy = default(Microsoft.Azure.Storage.Shared.Protocol.DeleteRetentionPolicy)) => throw null; + public ServiceProperties(Microsoft.Azure.Storage.Shared.Protocol.LoggingProperties logging, Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties hourMetrics, Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties minuteMetrics, Microsoft.Azure.Storage.Shared.Protocol.CorsProperties cors, Microsoft.Azure.Storage.Shared.Protocol.DeleteRetentionPolicy deleteRetentionPolicy, Microsoft.Azure.Storage.Shared.Protocol.StaticWebsiteProperties staticWebsite = default(Microsoft.Azure.Storage.Shared.Protocol.StaticWebsiteProperties)) => throw null; + public string DefaultServiceVersion { get => throw null; set { } } + public Microsoft.Azure.Storage.Shared.Protocol.DeleteRetentionPolicy DeleteRetentionPolicy { get => throw null; set { } } + public Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties HourMetrics { get => throw null; set { } } + public Microsoft.Azure.Storage.Shared.Protocol.LoggingProperties Logging { get => throw null; set { } } + public Microsoft.Azure.Storage.Shared.Protocol.MetricsProperties MinuteMetrics { get => throw null; set { } } + public Microsoft.Azure.Storage.Shared.Protocol.StaticWebsiteProperties StaticWebsite { get => throw null; set { } } + } + public sealed class ServiceStats + { + public Microsoft.Azure.Storage.Shared.Protocol.GeoReplicationStats GeoReplication { get => throw null; } + } + public sealed class StaticWebsiteProperties + { + public StaticWebsiteProperties() => throw null; + public bool Enabled { get => throw null; set { } } + public string ErrorDocument404Path { get => throw null; set { } } + public string IndexDocument { get => throw null; set { } } + } + public static class StorageErrorCodeStrings + { + public static readonly string AccountAlreadyExists; + public static readonly string AccountBeingCreated; + public static readonly string AccountIsDisabled; + public static readonly string AuthenticationFailed; + public static readonly string ConditionHeadersNotSupported; + public static readonly string ConditionNotMet; + public static readonly string ContainerAlreadyExists; + public static readonly string ContainerBeingDeleted; + public static readonly string ContainerDisabled; + public static readonly string ContainerNotFound; + public static readonly string Crc64Mismatch; + public static readonly string EmptyMetadataKey; + public static readonly string InsufficientAccountPermissions; + public static readonly string InternalError; + public static readonly string InvalidAuthenticationInfo; + public static readonly string InvalidCrc64; + public static readonly string InvalidHeaderValue; + public static readonly string InvalidHttpVerb; + public static readonly string InvalidInput; + public static readonly string InvalidMd5; + public static readonly string InvalidMetadata; + public static readonly string InvalidQueryParameterValue; + public static readonly string InvalidRange; + public static readonly string InvalidResourceName; + public static readonly string InvalidUri; + public static readonly string InvalidXmlDocument; + public static readonly string InvalidXmlNodeValue; + public static readonly string Md5Mismatch; + public static readonly string MetadataTooLarge; + public static readonly string MissingContentLengthHeader; + public static readonly string MissingRequiredHeader; + public static readonly string MissingRequiredQueryParameter; + public static readonly string MissingRequiredXmlNode; + public static readonly string MultipleConditionHeadersNotSupported; + public static readonly string OperationTimedOut; + public static readonly string OutOfRangeInput; + public static readonly string OutOfRangeQueryParameterValue; + public static readonly string RequestBodyTooLarge; + public static readonly string RequestUrlFailedToParse; + public static readonly string ResourceAlreadyExists; + public static readonly string ResourceNotFound; + public static readonly string ResourceTypeMismatch; + public static readonly string ServerBusy; + public static readonly string UnsupportedHeader; + public static readonly string UnsupportedHttpVerb; + public static readonly string UnsupportedQueryParameter; + public static readonly string UnsupportedXmlNode; + } + public enum StorageService + { + Blob = 0, + Queue = 1, + Table = 2, + File = 3, + } + } + } + [System.Flags] + public enum SharedAccessAccountPermissions + { + None = 0, + Read = 1, + Add = 2, + Create = 4, + Update = 8, + ProcessMessages = 16, + Write = 32, + Delete = 64, + List = 128, + } + public sealed class SharedAccessAccountPolicy + { + public SharedAccessAccountPolicy() => throw null; + public Microsoft.Azure.Storage.IPAddressOrRange IPAddressOrRange { get => throw null; set { } } + public Microsoft.Azure.Storage.SharedAccessAccountPermissions Permissions { get => throw null; set { } } + public static string PermissionsToString(Microsoft.Azure.Storage.SharedAccessAccountPermissions permissions) => throw null; + public Microsoft.Azure.Storage.SharedAccessProtocol? Protocols { get => throw null; set { } } + public Microsoft.Azure.Storage.SharedAccessAccountResourceTypes ResourceTypes { get => throw null; set { } } + public static string ResourceTypesToString(Microsoft.Azure.Storage.SharedAccessAccountResourceTypes resourceTypes) => throw null; + public Microsoft.Azure.Storage.SharedAccessAccountServices Services { get => throw null; set { } } + public static string ServicesToString(Microsoft.Azure.Storage.SharedAccessAccountServices services) => throw null; + public System.DateTimeOffset? SharedAccessExpiryTime { get => throw null; set { } } + public System.DateTimeOffset? SharedAccessStartTime { get => throw null; set { } } + } + [System.Flags] + public enum SharedAccessAccountResourceTypes + { + None = 0, + Service = 1, + Container = 2, + Object = 4, + } + [System.Flags] + public enum SharedAccessAccountServices + { + None = 0, + Blob = 1, + File = 2, + Queue = 4, + Table = 8, + } + public enum SharedAccessProtocol + { + HttpsOnly = 1, + HttpsOrHttp = 2, + } + public class StorageException : System.Exception + { + public StorageException() => throw null; + public StorageException(string message) => throw null; + public StorageException(string message, System.Exception innerException) => throw null; + protected StorageException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public StorageException(Microsoft.Azure.Storage.RequestResult res, string message, System.Exception inner) => throw null; + public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) => throw null; + public Microsoft.Azure.Storage.RequestResult RequestInformation { get => throw null; } + public override string ToString() => throw null; + public static System.Threading.Tasks.Task TranslateExceptionAsync(System.Exception ex, Microsoft.Azure.Storage.RequestResult reqResult, System.Func> parseErrorAsync, System.Threading.CancellationToken cancellationToken, System.Net.Http.HttpResponseMessage response) => throw null; + } + public sealed class StorageExtendedErrorInformation + { + public System.Collections.Generic.IDictionary AdditionalDetails { get => throw null; } + public StorageExtendedErrorInformation() => throw null; + public string ErrorCode { get => throw null; } + public string ErrorMessage { get => throw null; } + public static System.Threading.Tasks.Task ReadFromStreamAsync(System.IO.Stream inputStream) => throw null; + public static System.Threading.Tasks.Task ReadFromStreamAsync(System.IO.Stream inputStream, System.Threading.CancellationToken cancellationToken) => throw null; + public System.Threading.Tasks.Task ReadXmlAsync(System.Xml.XmlReader reader, System.Threading.CancellationToken cancellationToken) => throw null; + public void WriteXml(System.Xml.XmlWriter writer) => throw null; + } + public enum StorageLocation + { + Primary = 0, + Secondary = 1, + } + public sealed class StorageUri : System.IEquatable + { + public StorageUri(System.Uri primaryUri) => throw null; + public StorageUri(System.Uri primaryUri, System.Uri secondaryUri) => throw null; + public override bool Equals(object obj) => throw null; + public bool Equals(Microsoft.Azure.Storage.StorageUri other) => throw null; + public override int GetHashCode() => throw null; + public System.Uri GetUri(Microsoft.Azure.Storage.StorageLocation location) => throw null; + public static bool operator ==(Microsoft.Azure.Storage.StorageUri uri1, Microsoft.Azure.Storage.StorageUri uri2) => throw null; + public static bool operator !=(Microsoft.Azure.Storage.StorageUri uri1, Microsoft.Azure.Storage.StorageUri uri2) => throw null; + public System.Uri PrimaryUri { get => throw null; } + public System.Uri SecondaryUri { get => throw null; } + public override string ToString() => throw null; + } + public sealed class UserDelegationKey + { + public UserDelegationKey() => throw null; + public System.DateTimeOffset? SignedExpiry { get => throw null; } + public System.Guid? SignedOid { get => throw null; } + public string SignedService { get => throw null; } + public System.DateTimeOffset? SignedStart { get => throw null; } + public System.Guid? SignedTid { get => throw null; } + public string SignedVersion { get => throw null; } + public string Value { get => throw null; } + } + } + } +} diff --git a/csharp/ql/test/resources/stubs/System.Memory.Data/1.0.2/System.Memory.Data.cs b/csharp/ql/test/resources/stubs/System.Memory.Data/1.0.2/System.Memory.Data.cs new file mode 100644 index 000000000000..123c87b4e1c6 --- /dev/null +++ b/csharp/ql/test/resources/stubs/System.Memory.Data/1.0.2/System.Memory.Data.cs @@ -0,0 +1,27 @@ +// This file contains auto-generated code. +// Generated from `System.Memory.Data, Version=1.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51`. +namespace System +{ + public class BinaryData + { + public BinaryData(byte[] data) => throw null; + public BinaryData(object jsonSerializable, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions), System.Type type = default(System.Type)) => throw null; + public BinaryData(System.ReadOnlyMemory data) => throw null; + public BinaryData(string data) => throw null; + public override bool Equals(object obj) => throw null; + public static System.BinaryData FromBytes(System.ReadOnlyMemory data) => throw null; + public static System.BinaryData FromBytes(byte[] data) => throw null; + public static System.BinaryData FromObjectAsJson(T jsonSerializable, System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; + public static System.BinaryData FromStream(System.IO.Stream stream) => throw null; + public static System.Threading.Tasks.Task FromStreamAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) => throw null; + public static System.BinaryData FromString(string data) => throw null; + public override int GetHashCode() => throw null; + public static implicit operator System.ReadOnlyMemory(System.BinaryData data) => throw null; + public static implicit operator System.ReadOnlySpan(System.BinaryData data) => throw null; + public byte[] ToArray() => throw null; + public System.ReadOnlyMemory ToMemory() => throw null; + public T ToObjectFromJson(System.Text.Json.JsonSerializerOptions options = default(System.Text.Json.JsonSerializerOptions)) => throw null; + public System.IO.Stream ToStream() => throw null; + public override string ToString() => throw null; + } +}