<commit_before>---
layout: "oneview"
page_title: "Oneview: scope"
sidebar_current: "docs-oneview-scope"
description: |-
  Creates a scope.
---

# oneview\_scope

Creates a scope.

## Example Usage

```js
resource "oneview_scope" "default" {
  name = "test-scope"
  type = "ScopeV3"
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) A unique name for the resource.

* `type` - (Required) Identifies the Scope type.

- - -

* `Description` - (Optional) A description of the Scope.

* `added_reesource_uris` - (Optional)  List of resource URIs to be added when creating or editing a scope. It is never included when a scope definition is retrieved.

* `initial_reesource_uris` - (Optional) A list of URIs of the scopes to which the resource shall be initially assigned. It is only meaningful at resource creation time and is not included on resource retrieval.

## Attributes Reference
<commit_msg>Minor change<commit_after>---
layout: "oneview"
page_title: "Oneview: scope"
sidebar_current: "docs-oneview-scope"
description: |-
  Creates a scope.
---

# oneview\_scope

Creates a scope.

## Example Usage

```js
resource "oneview_scope" "default" {
  name = "test-scope"
  type = "ScopeV3"
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) A unique name for the resource.

* `type` - (Required) Identifies the Scope type.

- - -

* `Description` - (Optional) A description of the Scope.

* `added_resource_uris` - (Optional)  List of resource URIs to be added when creating or editing a scope. It is never included when a scope definition is retrieved.

* `initial_resource_uris` - (Optional) A list of URIs of the scopes to which the resource shall be initially assigned. It is only meaningful at resource creation time and is not included on resource retrieval.

## Attributes Reference

{'fraction_non_alphanumeric': 0.10048102618920364, 'fraction_numerical': 0.0010689470871191875, 'mean_word_length': 4.032258064516129, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6480737', 'n_tokens_mistral': 573, 'n_tokens_neox': 560, 'n_words': 227}