Skip to content

[AutoPR resources/resource-manager] Add additional ExportTemplate options #6129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from .v2015_01_01.models import *
from .v2016_09_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from .v2015_10_01_preview.models import *
from .v2016_04_01.models import *
from .v2016_12_01.models import *
from .v2017_06_01_preview.models import *
from .v2018_03_01.models import *
from .v2018_05_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from .v2016_02_01.models import *
from .v2016_09_01.models import *
from .v2017_05_10.models import *
from .v2018_02_01.models import *
from .v2018_05_01.models import *
from .v2019_05_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -521,13 +521,13 @@ def __init__(self, **kwargs):
class ExportTemplateRequest(Model):
"""Export resource group template request parameters.

:param resources: The IDs of the resources. The only supported string
currently is '*' (all resources). Future updates will support exporting
specific resources.
:param resources: The IDs of the resources to filter the export by. To
export all resources, supply an array with single entry '*'.
:type resources: list[str]
:param options: The export template options. Supported values include
'IncludeParameterDefaultValue', 'IncludeComments' or
'IncludeParameterDefaultValue, IncludeComments
:param options: The export template options. A CSV-formatted list
containing zero or more of the following: 'IncludeParameterDefaultValue',
'IncludeComments', 'SkipResourceNameParameterization',
'SkipAllParameterization'
:type options: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -521,13 +521,13 @@ def __init__(self, *, error=None, properties=None, **kwargs) -> None:
class ExportTemplateRequest(Model):
"""Export resource group template request parameters.

:param resources: The IDs of the resources. The only supported string
currently is '*' (all resources). Future updates will support exporting
specific resources.
:param resources: The IDs of the resources to filter the export by. To
export all resources, supply an array with single entry '*'.
:type resources: list[str]
:param options: The export template options. Supported values include
'IncludeParameterDefaultValue', 'IncludeComments' or
'IncludeParameterDefaultValue, IncludeComments
:param options: The export template options. A CSV-formatted list
containing zero or more of the following: 'IncludeParameterDefaultValue',
'IncludeComments', 'SkipResourceNameParameterization',
'SkipAllParameterization'
:type options: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,13 +385,13 @@ def export_template(
:param resource_group_name: The name of the resource group to export
as a template.
:type resource_group_name: str
:param resources: The IDs of the resources. The only supported string
currently is '*' (all resources). Future updates will support
exporting specific resources.
:param resources: The IDs of the resources to filter the export by. To
export all resources, supply an array with single entry '*'.
:type resources: list[str]
:param options: The export template options. Supported values include
'IncludeParameterDefaultValue', 'IncludeComments' or
'IncludeParameterDefaultValue, IncludeComments
:param options: The export template options. A CSV-formatted list
containing zero or more of the following:
'IncludeParameterDefaultValue', 'IncludeComments',
'SkipResourceNameParameterization', 'SkipAllParameterization'
:type options: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
from .v2016_06_01.models import *
from .v2018_06_01.models import *