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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ class PolicyContentFormat(str, Enum):

xml = "xml"
xml_link = "xml-link"
rawxml = "rawxml"
rawxml_link = "rawxml-link"


class Protocol(str, Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class PolicyContract(Resource):
Policy.
:type policy_content: str
:param content_format: Format of the policyContent. Possible values
include: 'xml', 'xml-link'. Default value: "xml" .
include: 'xml', 'xml-link', 'rawxml', 'rawxml-link'. Default value: "xml"
.
:type content_format: str or
~azure.mgmt.apimanagement.models.PolicyContentFormat
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class PolicyContract(Resource):
Policy.
:type policy_content: str
:param content_format: Format of the policyContent. Possible values
include: 'xml', 'xml-link'. Default value: "xml" .
include: 'xml', 'xml-link', 'rawxml', 'rawxml-link'. Default value: "xml"
.
:type content_format: str or
~azure.mgmt.apimanagement.models.PolicyContentFormat
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def create_or_update(
entity, but required when updating an entity.
:type if_match: str
:param content_format: Format of the policyContent. Possible values
include: 'xml', 'xml-link'
include: 'xml', 'xml-link', 'rawxml', 'rawxml-link'
:type content_format: str or
~azure.mgmt.apimanagement.models.PolicyContentFormat
:param dict custom_headers: headers that will be added to the request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def create_or_update(
entity, but required when updating an entity.
:type if_match: str
:param content_format: Format of the policyContent. Possible values
include: 'xml', 'xml-link'
include: 'xml', 'xml-link', 'rawxml', 'rawxml-link'
:type content_format: str or
~azure.mgmt.apimanagement.models.PolicyContentFormat
:param dict custom_headers: headers that will be added to the request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def create_or_update(
Policy.
:type policy_content: str
:param content_format: Format of the policyContent. Possible values
include: 'xml', 'xml-link'
include: 'xml', 'xml-link', 'rawxml', 'rawxml-link'
:type content_format: str or
~azure.mgmt.apimanagement.models.PolicyContentFormat
:param dict custom_headers: headers that will be added to the request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def create_or_update(
entity, but required when updating an entity.
:type if_match: str
:param content_format: Format of the policyContent. Possible values
include: 'xml', 'xml-link'
include: 'xml', 'xml-link', 'rawxml', 'rawxml-link'
:type content_format: str or
~azure.mgmt.apimanagement.models.PolicyContentFormat
:param dict custom_headers: headers that will be added to the request
Expand Down