Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .azure-pipelines/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
scriptPath: 'scripts/dev_setup.py'
arguments: '--exceptionlist=azure-eventhubs,azure-eventhubs-checkpointstoreblob-aio'

- powershell: |
- pwsh: |
cd $(Build.SourcesDirectory)/doc/sphinx
pip install -r requirements.txt
./make.bat html
Expand Down
7 changes: 7 additions & 0 deletions eng/pipelines/client.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
trigger: none

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

variables:
- template: templates/variables/globals.yml
- name: ReleaseTag
Expand Down
16 changes: 4 additions & 12 deletions eng/pipelines/templates/steps/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,17 @@ parameters:
RunPylint: eq(variables['PythonVersion'], '3.7')

steps:
- powershell: |
- pwsh: |
gci -r $(Build.ArtifactStagingDirectory)

- powershell: |
Invoke-WebRequest -Uri "https://github.com/Azure/azure-sdk-tools/releases/download/sdk-tools_14793/sdk-tools.zip" `
-OutFile "sdk-tools.zip" | Wait-Process; Expand-Archive -Path "sdk-tools.zip" -DestinationPath "./sdk-tools/"
workingDirectory: '$(Build.BinariesDirectory)'
displayName: 'Download Tools Archive From Github Release and Extract it'

- task: UsePythonVersion@0
displayName: 'Use Python ${{ parameters.PythonVersion }}'
inputs:
versionSpec: '${{ parameters.PythonVersion }}'

- task: PythonScript@0
displayName: 'Run VerifyAgentOS script'
inputs:
scriptPath: '$(Build.BinariesDirectory)/sdk-tools/scripts/python/verify_agent_os.py'
arguments: ${{ parameters.OSName }}
- template: eng/pipelines/templates/scripts/verify-agent-os.yml@azure-sdk-tools
parameters:
OSName: ${{ parameters.OSName }}

- script: |
pip install pathlib twine codecov beautifulsoup4 tox tox-monorepo packaging
Expand Down
16 changes: 4 additions & 12 deletions eng/pipelines/templates/steps/test-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,17 @@ parameters:
RunMyPy: and(ne(variables['PythonVersion'], '2.7'), ne(variables['PythonVersion'], 'pypy3'))

steps:
- powershell: |
- pwsh: |
gci -r $(Build.ArtifactStagingDirectory)

- powershell: |
Invoke-WebRequest -Uri "https://github.com/Azure/azure-sdk-tools/releases/download/sdk-tools_14793/sdk-tools.zip" `
-OutFile "sdk-tools.zip" | Wait-Process; Expand-Archive -Path "sdk-tools.zip" -DestinationPath "./sdk-tools/"
workingDirectory: '$(Build.BinariesDirectory)'
displayName: 'Download Tools Archive From Github Release and Extract it'

- task: UsePythonVersion@0
displayName: 'Use Python ${{ parameters.PythonVersion }}'
inputs:
versionSpec: '${{ parameters.PythonVersion }}'

- task: PythonScript@0
displayName: 'Run VerifyAgentOS script'
inputs:
scriptPath: '$(Build.BinariesDirectory)/sdk-tools/scripts/python/verify_agent_os.py'
arguments: ${{ parameters.OSName }}
- template: eng/pipelines/templates/scripts/verify-agent-os.yml@azure-sdk-tools
parameters:
OSName: ${{ parameters.OSName }}

- script: |
pip install pathlib twine codecov beautifulsoup4 tox tox-monorepo packaging
Expand Down
7 changes: 7 additions & 0 deletions sdk/advisor/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/advisor/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/aks/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/aks/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/alertsmanagement/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/alertsmanagement/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/appconfiguration/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/appconfiguration/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/appconfiguration/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
trigger: none

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-tests.yml
parameters:
Expand Down
7 changes: 7 additions & 0 deletions sdk/applicationinsights/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ pr:
include:
- sdk/applicationinsights/

resources:
repositories:
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
Expand Down
12 changes: 12 additions & 0 deletions sdk/appservice/azure-mgmt-web/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
Release History
===============

0.43.0 (2019-10-01)
+++++++++++++++++++

**Features**

- Added operation group BillingMetersOperations
- Added operation group WebSiteManagementClientOperationsMixin

**General**

- Package is now multiapi

0.42.0 (2019-05-24)
+++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion sdk/appservice/azure-mgmt-web/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is the Microsoft Azure Web Apps Management Client Library.
Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
Expand Down
7 changes: 4 additions & 3 deletions sdk/appservice/azure-mgmt-web/azure/mgmt/web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .web_site_management_client import WebSiteManagementClient
from .version import VERSION
from ._configuration import WebSiteManagementClientConfiguration
from ._web_site_management_client import WebSiteManagementClient
__all__ = ['WebSiteManagementClient', 'WebSiteManagementClientConfiguration']

__all__ = ['WebSiteManagementClient']
from .version import VERSION

__version__ = VERSION

49 changes: 49 additions & 0 deletions sdk/appservice/azure-mgmt-web/azure/mgmt/web/_configuration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrestazure import AzureConfiguration

from .version import VERSION


class WebSiteManagementClientConfiguration(AzureConfiguration):
"""Configuration for WebSiteManagementClient
Note that all parameters used to create this instance are saved as instance
attributes.

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: Your Azure subscription ID. This is a
GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
:type subscription_id: str
:param str base_url: Service URL
"""

def __init__(
self, credentials, subscription_id, base_url=None):

if credentials is None:
raise ValueError("Parameter 'credentials' must not be None.")
if subscription_id is None:
raise ValueError("Parameter 'subscription_id' must not be None.")
if not base_url:
base_url = 'https://management.azure.com'

super(WebSiteManagementClientConfiguration, self).__init__(base_url)

# Starting Autorest.Python 4.0.64, make connection pool activated by default
self.keep_alive = True

self.add_user_agent('azure-mgmt-web/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
self.subscription_id = subscription_id
Loading