Matt Gibbs

Results issues of Matt Gibbs

Workaround example in this PR for the generated code https://github.com/Azure/azure-sdk-for-net/pull/738

C# issue filed in the Java repo Copied over here. https://github.com/Azure/azure-sdk-for-java/issues/479 using (var messageHandler = new HttpClientHandler {ClientCertificateOptions = ClientCertificateOption.Automatic }) using (var httpClient = new HttpClient(messageHandler )) { httpClient.DefaultRequestHeaders.Add("User-Agent",...

Azure locations can be specified without regard to case and with embedded spaces: "West US" or "west us" or "westus" Some of the REST APIs return the friendly version: "West...

ARM
Service Attention

Including "examples" in a swagger spec results in an error error: [ Fatal ] Error generating client model: Requested value 'examples' was not found. Finished generating CSharp code for swagger.json....

generate with Azure.CSharp. The generated client constructors with a ServiceClientCredentials parameter invoke this(handlers) which calls this.Initialize. This happens before the body of the constructor where the credentials property is set....

generate with Azure.CSharp. The generated operations include if (this.Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } and url = url.Replace("{subscriptionId}", Uri.EscapeDataString(this.Client.SubscriptionId)) Tenant operations, for example, do not require a...

AutoRest command line help is markdown. That greatly hampers the readability. type AutoRest.exe /? Expected: text Actual: pound pound text backtick backtick backtick bash text backtick backtick backtick star star...

autorest.exe -namespace something -input some.swagger -CodeGenerator Java The ms-rest version 1.1.0 npm package is required to execute the generated code. Finished generating Java code for some.swagger.

Gen using the Azure.CSharp generator. Create an instance of the generated client. Call a method on it. Expected: Version from swagger is used as the default for ServiceClient.ApiVersion Actual: exception...

Currently, when creating an ADApplication, you have to directly create the underlying .NET PSADPasswordCredential type. Suggestion is to provide a powershell wrapper object instead: $psadCredential = New-Object Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.PSADPasswordCredential

Resource Authorization
Service Attention